Users browsing this thread: 3 Guest(s)
Extracting some .dat and .bin files, help
#4
Here you go:

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.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: larsenv


Messages In This Thread
RE: Extracting some .dat and .bin files, help - by puggsoy - 05-16-2015, 01:48 AM

Forum Jump: