To run this compressor, you must have installed Java 8
To compress a file such as “Cobra.scr”, use the command-line compressor as
java -jar zx0.jar Cobra.scr
Java 8 memory allocation is limited to (at most) 1Gb by default. You can use
parameter “-Xmx” to increase maximum memory allocation, for instance:
java -Xmx2G -jar zx0.jar Cobra.scr
This compressor uses 4 threads by default. You can use parameter “-p” to
specify a different number of threads, for instance:
java -jar zx0.jar -p2 Cobra.scr
All other parameters work exactly like the original version. Check the official
ZX0 page for further details.
The Kotlin implementation of ZX0 was
authored by Einar Saukas and it’s available under the “BSD-3” license.
ZX0 – The original version of ZX0,
by the same author.