The error is: the uncompressed data (-1) is bigger than the allocated buffer (164580)
It usually means that data is not compressed or uses another algorithm
On the Windows version (I used wine in my case) it outputs the file without problem.
The script is the following:
Code: Select all
endian big
comtype xmemdecompress
get ZSize long
get Size long
math ZSize &= 0x7fffffff
clog result Offset ZSize Size
I have attached the problematic file, which to my understanding does not use native compression.
I'd appreciate any help although it seems the only solution would be to use the official XmemCompress API.