Log In  

Cart [#dancer-0#] | Code | 2018-12-21 | License: CC4-BY-NC-SA | Embed

106 frames of animation, compressed and embedded in the cart (half in the code, half in the gfx segment).

P#60202 2018-12-21 13:46

WOW! Very nice. What kind of stuff is your compressor doing?

P#60215 2018-12-21 16:47

It’s simply gzip / deflate, with some minor tweaks to the format so that the decompression code uses as little cart space as possible.

P#60221 2018-12-21 21:36

Very cool!

P#60230 2018-12-22 05:18

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.



P#60254 2018-12-22 17:38

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:

Cart [#lego-0#] | Code | 2018-12-26 | License: CC4-BY-NC-SA | Embed

P#60374 2018-12-26 11:57

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-10-15 12:38 | 0.022s | 4194k | Q:46