Trixter wrote:Shaos wrote:Russian demosceners use MegaLZ, so I may try it instead
LZ4 and ZX7 max out their respective pareto frontiers. I co-wrote the x86 decompressors for both, so I'm biased, but they are the fastest 8086 decompressors for their formats, and both have optimal parsing built into the compressors so they achieve competitive results. ZX7's size-optimized decompressor is 71 bytes and it compresses better than LZ4, so maybe look into that?
OK, I tested a few compression tools on JRCARTS7.IMG that is image of the disk without ColorPaint (and JRCARTS8.IMG is compressed by my "naive" compression with 3 zero bytes explained above):
- Code: Select all
-rw-r--r-- 1 shaos shaos 147456 Jan 11 14:02 JRCARTS7.IMG
-rw-r--r-- 1 shaos shaos 130281 Jan 11 16:53 JRCARTS8.IMG
-rw-r--r-- 1 shaos shaos 101009 Jan 23 11:48 JRCARTS7.ZX7
-rw-r--r-- 1 shaos shaos 99974 Jan 11 14:27 JRCARTS7.MLZ
-rw-r--r-- 1 shaos shaos 80016 Jan 11 14:02 JRCARTS7.IMG.bz2
-rw-r--r-- 1 shaos shaos 79098 Jan 11 14:02 JRCARTS7.LZ4
-rw-r--r-- 1 shaos shaos 71950 Jan 11 14:02 JRCARTS7.ZIP
-rw-r--r-- 1 shaos shaos 71808 Jan 11 14:02 JRCARTS7.IMG.gz
-rw-r--r-- 1 shaos shaos 65765 Jan 11 14:07 JRCARTS7.RAR
-rw-r--r-- 1 shaos shaos 62543 Jan 23 11:41 JRCARTS7.7z
-rw-r--r-- 1 shaos shaos 62508 Jan 11 14:02 JRCARTS7.IMG.xz
So LZ4 is better than ZX7...
P.S. MLZ is MegaLZ that Russians like to use on ZX-Spectrum clones and Russian 8080 machines