RJVB / afsctool

This is a version of "brkirch"'s afsctool utility that allows end-users to leverage HFS+ compression.
https://brkirch.wordpress.com/afsctool
GNU General Public License v3.0
187 stars 18 forks source link

lzvn compression failed on chunk #8 #31

Closed gingerbeardman closed 3 years ago

gingerbeardman commented 5 years ago
/Applications/PlayOnMac.app/Contents/Resources/unix/tools/bin/strings: lzvn compression failed on chunk #8

App: http://repository.playonmac.com/PlayOnMac/PlayOnMac_4.3.4.dmg

RJVB commented 5 years ago

Have you tried if the lzvn command line utility compresses the file?

gingerbeardman commented 5 years ago

I have not I'll do so asap

RJVB commented 5 years ago

Tried it myself (compresses fine), and found the explanation of your error.

This file is 9 "compression chunks" long, the last of which is 4 bytes. We already know that the LZVN compressor fails on data buffers shorter than 8 bytes.

The question now becomes how to handle this situation. Apple must have a solution if their compressor has the same limitation...

gingerbeardman commented 5 years ago

Interesting! Thanks Rene. These days I juggle a baby and keyboard/mouse.

RJVB commented 5 years ago

Right... good luck with that :) The keyboard/mouse is for finding stuff to keep the morale high, like https://www.google.com/search?q=baby+blender+jokes

? ;)

(Full disclosure: I only know about those because of that one American colleague from long ago ^^)