Code: Select all
#quickbms script
#Rohan Gem Extractor
#from chrrox
open FDDE GEM 0
open FDDE GEL 1
get id longlong 1
get files long 1
goto 0x18 1
savepos Tablepos 1
for i = 1 to files
goto Tablepos 1
get FILENUM long 1
get UNKSIZE long 1
getdstring name 0x80 1
get DUMMYSIZE long 1
get offset long 1
get UNK01 long 1
get UNK02 long 1
if i < files
savepos Tablepos 1
savepos temp 1
math temp + 0x8C
goto temp 1
get size long 1
math size - offset
else
get size asize
math size - offset
endif
log name offset size
next i