When I try that it extracts some files, shows the filesize & names of others within QuickBMS but I get this message:
Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Error: there is an error with the decompression
the returned output size is negative (-1)
Any idea's? Using HxD I can't see much difference between the two archives, I've been told they might be encrypted based on a user key, but I'm not so sure having tried file(s) from other distributions and encountering the same problem.
Here's the script:
Code: Select all
comtype deflate
get DUMMY short
get INFO_SIZE long
get DUMMY long
savepos INFO_OFF
math INFO_SIZE += 10
for INFO_OFF = INFO_OFF < INFO_SIZE
get DUMMY short
get SIZE long
get ZSIZE long
get OFFSET long
get NAMESZ byte
getdstring NAME NAMESZ
get DUMMY byte # filename null del?
if SIZE == ZSIZE
log NAME OFFSET SIZE
else
math ZSIZE -= 8
math OFFSET += 8
clog NAME OFFSET ZSIZE SIZE
endif
savepos INFO_OFF
next