3 ms·
I wrote a naive lz77 packer/unpacker in C for a c64 game. https://github.com/geon/woorm/blob/master/tools/lz77.c https://github.com/geon/woorm/blob/master/tools
by geon 2y ago
I wrote a naive lz77 packer/unpacker in C for a c64 game. https://github.com/geon/woorm/blob/master/tools/lz77.c https://github.com/geon/woorm/blob/master/tools/lz77.c
Not fast, but the compression ratio was decent, and made it easy to fit a bunch of levels into the game.