106 frames of animation, compressed and embedded in the cart (half in the code, half in the gfx segment).
It’s simply gzip / deflate, with some minor tweaks to the format so that the decompression code uses as little cart space as possible.
Hi Samhocevar,
I’m floored by the number of frames you got in there!
Could you share you gZip/deflate encoding tool or code?
I’ve been searching for a good tutorial/guidance on writing a zip encoder that works with different bit lengths. My hacky encoders have all been written in truly attrocious python.
https://www.lexaloffle.com/bbs/?tid=3124
https://www.lexaloffle.com/bbs/?tid=32583
https://www.lexaloffle.com/bbs/?tid=30013
Thanks,
Electricgryphon
Sure, the compressor is part of z8tool, a command line utility available here: https://github.com/samhocevar/zepto8
I have also set up a web service for people who maybe can’t compile or run it: http://sam.hocevar.net/projects/z8/
Here is an example with the “high color” option:
[Please log in to post a comment]