A video player for the Apex Legends mod R5Reloaded.
Here's a video of it playing Bad Apple: https://youtu.be/q6AvpuOgAvw
Huge credit to treyzania for his rottenplayer for Minecraft.
My code is pretty bad at the moment, but I'll fix it up and make it easier to use in the future.
- Break up the video in to frames with ffmpeg, using
ffmpeg -i video.mkv -vf fps=20 img/image_%d.png
- Run
rotten.py <output file> 32 18
to process the images and turn them in to frames (the player only supports 32x18 video) - Run
freshparser.py <file from rotten> <final output>
to process it for Apex - Get and install the scripts from here for R5R
- Copy the contents of the final output file in to
vscripts/mp/levels/animation.nut
- Launch Kings Canyon, find and press the button, then enjoy!