deathcap / ProgrammerArt

:sunrise_over_mountains: free voxel-related art for all
Creative Commons Attribution 4.0 International
70 stars 9 forks source link

Bad CRC on generated zip files #6

Closed deathcap closed 10 years ago

deathcap commented 10 years ago

releases $ unzip -t ProgrammerArt-v2.0-ResourcePack-MC17.zip |grep bad bad CRC ae5ee94d (should be 0c4a2c67) testing: pack.mcmeta bad CRC ae5ee94d (should be 0c4a2c67) releases $ unzip -t ProgrammerArt-v2.0-TexturePack-MC15.zip |grep bad bad CRC b3d3ac31 (should be 700101e4) testing: pack.txt bad CRC b3d3ac31 (should be 700101e4) releases $ unzip -t ProgrammerArt-v2.0-StitchPack-MC14.zip |grep bad bad CRC b3d3ac31 (should be 700101e4) testing: pack.txt bad CRC b3d3ac31 (should be 700101e4) bad CRC d2687085 (should be 34f12b3d) testing: stitchpack.json bad CRC d2687085 (should be 34f12b3d)

Maybe a bug in adm-zip https://github.com/cthackers/adm-zip https://npmjs.org/package/adm-zip? Using it to package the zip files, but no real need to use NodeJS for this purpose. Could possibly switch to command-line Info-ZIP. Or isolate this problem with adm-zip (if it is a problem with it and not my scripts, somehow).

deathcap commented 10 years ago

https://npmjs.org/package/infozip

deathcap commented 10 years ago

https://github.com/cthackers/adm-zip/issues/57 https://github.com/daraosn/node-zip/issues/4