Experimental ZX0 support #49
fadden
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
As part of fadden/nulib2#16, ZX0 compression for NuFX archives has been added to CiderPress II v1.0.8-dev1. The current implementation is about 300x slower than any other supported algorithm when compressing data, so I don't see this being something most people will have a use for.
Files are decompressed as they would for any other format. For compression, the current implementation uses a special command-line option that is used to kluge experimental features in. It allows you to override the default NuFX compression type (LZW/2), by number. The numbers are:
To specify ZX0 compression, you would add
--set-int=nufx-comp-alg:8when adding files.For example, to copy all files from a disk image to a ShrinkIt archive with ZX0 compression, you could use:
Then, to admire the results:
Files can be viewed and extracted with the GUI application, but there's currently no way to override the compression type there.
All reactions