The main archive, asto2.dat, has a very simple format and can be unpacked with this script:
Code: Select all
# asto2.dat quickbms script
endian little
get NOF long
for i = 1 to NOF
getdstring FILENAME 0x100
set FILENAME unicode FILENAME
get FILEOFFSET long
get FILESIZE long
log FILENAME FILEOFFSET FILESIZE
next i
Code: Select all
idstring "iron"
endian little
get FSNOHEADER long //filesize without the header (idstring, this value and filename)
getdstring FILENAME 0x40 //same as the filename of the nr2 file itself but with the extension *.nri
set FILENAME unicode FILENAME
goto 0x354 //everything before this is an unknown chunk of data, its always 0x30c big
get SIZE long //from here on all compressed files are aligned one after another with real size and compressed size before the zlibed data till the arhive ends
get ZSIZE long
Please tell me, how can I extract the files in the nr2 archive when I don't know the number of files with quickbms?

