QUOTE(Dr Sturm @ Aug 22 2011, 09:14 AM)
![*](style_images/2/post_snapback.gif)
Well, yeah, but not all of the files are compressed, only some. At least as far as I know. Some might be encrypted, or maybe all the weird ones are merely compressed.
I figured out the compression without you.
CODE
import zlib
def decompress(fpath, outpath):
with open(fpath, 'rb') as file:
data = file.read()
assert data[:4] == b'zlb\0'
data = zlib.decompress(data[8:])
if outpath is None:
outpath = fpath + '.out'
with open(outpath, 'wb') as file:
file.write(data)