05-16-2015, 01:48 AM
Here you go:
Unfortunately I can't make heads or tails of the extracted files, though. I gave them the "img" extension since they look more like images than anything else, but unfortunately I don't know how to convert them.
Code:
endian big
comtype zlib
get FILES long
for i = 0 < FILES
get OFFSET long
savepos TMP
goto OFFSET
get SIZE long
get COMFLAG long
get SIZE2 long
get ZSIZE long
savepos OFFSET
set NUM string i
get NAME basename
string NAME += "_"
string NAME += NUM
string NAME += ".img"
if COMFLAG == 7
clog NAME OFFSET ZSIZE SIZE
else
print "unknown compression %COMFLAG% for %NAME%"
log NAME OFFSET SIZE
endif
goto TMP
next i
Unfortunately I can't make heads or tails of the extracted files, though. I gave them the "img" extension since they look more like images than anything else, but unfortunately I don't know how to convert them.