This mod allows Selaco's VAC-Bots to play Bad Apple!!. May not be compatible with other VAC-Bot mods!
In case you want to play some other video on a VAC-Bot, here's some useful info:
- Use ffmpeg to convert a video to separate .pngs:
ffmpeg -i .\video.mp4 -r 1/0.22857142857 -vf "scale='if(gt(a,1),-2,64)':'if(gt(a,1),64,-2)',pad=width=86*2:height=86*2:x=86:y=(86*2-64):color=black" BAD_%04d.png
. Tweak the-r
parameter value until the total amount of frames generated is less than 1000 (any more and Selaco will no longer be able to precache the frames, which causes graphical glitches or crashes). - Copy all .png to
MD/VACBOT
. Make sure to remove all existing PNGs there! - Update
update_scripts.js
's constants. node update_scripts.js
- Package this entire repository (preferably: sans the
.git
folder) into a .zip archive - Rename the .zip to .pk3
- Copy the .pk3 over to Selaco's
Mods
folder. - Enjoy!!
git archive --format=zip --output "C:\Program Files (x86)\Steam\steamapps\common\Selaco\Mods\STAGING\selaco-vacbot-bad-apple.pk3" main