HansWessels / gup

the GUP source code (ARJ mode 7 and all the rest)
GNU General Public License v2.0
8 stars 2 forks source link

ni packer: prevent/find compressor bugs by running -t depack test as part of the dump modes #8

Closed HansWessels closed 1 year ago

HansWessels commented 1 year ago

Use Case

run a depack action as part of the compression/pack action (gup a) to make sure you don't stumble across obnoxious development bugs in the compressor, while your actual production depacker won't calculate the CRC checksum, e.g. when using the dump-mode output as part of a tightly packed demoscene software release.

Bottom line: run both gup a and gup t (test mode) when producing dumpmode output (bindump/asmdump/cdump)

HansWessels commented 1 year ago

Implemented slightly more generically: the TEST/CRC check is performed for EVERY file packed using any of the dump modes.