(no title)
dansalvato | 1 year ago
I was originally using LZ4, but I switched to ZX0 after learning that it can do in-place decompression, which means I don't have to allocate separate memory for the compressed data. I'm very happy with the compression ratio, and decompression of large assets (~48kb) only takes a few frames on a 7MHz 68000.
Also of note is LZ4W, included in Sega Genesis Dev Kit (and discussed in the comments section of OP's article), a variant of LZ4 that only uses word-aligned operations. That makes it much faster on the 68000, which can struggle to efficiently handle 8-bit data. More info here: https://github.com/Stephane-D/SGDK/blob/master/bin/lz4w.txt
geon|1 year ago
Not fast, but the compression ratio was decent, and made it easy to fit a bunch of levels into the game.
bananaboy|1 year ago
dansalvato|1 year ago
the-rc|1 year ago