goto 0x6
get ftable long
goto ftable
getdstring null 0x16
get files long
savepos TBL1
set tsize files
math tsize * 0x15
set TBL2 TBL1
math TBL2 + tsize
math TBL2 + 0xC
set TBL3 TBL2
set tsize files
math tsize * 0x4
math TBL3 + tsize
math TBL3 + 0x12
print "%TBL3%"
goto TBL3
savepos tmp
set counter 0
get tsize asize
Do
math counter += 1
getdstring NAME 0x100
get type long
if type == 16
getdstring null 0xC
else
getdstring null 0x14
get tmp long
putarray 0 tmp NAME
endif
savepos tmp
while tmp < tsize
print "%counter%"
goto TBL1
for i = 0 < files
get unk byte
get offset long
get unk1 long
get size long
get unk1 long
get unk1 long
getarray NAME 0 i
log NAME offset size
next i
imports fine with the blender nif importer from mariusz szkaradek
goto 0x6
get ftable long
goto ftable
getdstring null 0x16
get files long
append
for i = 0 < files
get unk byte
savepos tmp
log MEMORY_FILE tmp 4
get offset long
get unk1 long
savepos tmp
log MEMORY_FILE2 tmp 4
get size long
get unk1 long
get unk1 long
next i
append
getdstring null 0xC
set tsize files
math tsize * 0x4
math tsize + 0x12
getdstring null tsize
savepos tmp
get tsize asize
Do
getdstring NAME 0x100
get type long
if type == 16
getdstring null 0xC
set DIR NAME
else
getdstring null 0x14
get num long
set NAME2 DIR
string NAME2 + NAME
math num * 4
#print "%num%"
get size asize MEMORY_FILE
#print "%size%"
goto num MEMORY_FILE
goto num MEMORY_FILE2
get offset long MEMORY_FILE
get size long MEMORY_FILE2
log NAME2 offset size
endif
savepos tmp
while tmp < tsize
mappy2012 wrote:Error: [myfseek] the offset 0x0000000134200000 in the file -1 can't be reached
You need latest QuickBMS 0.5.24b
hi~ekey,
i use latest QuickBMS 0.5.26,get Error: [myfseek] the offset 0x0000000221500000 in the file -1 can't be reached
Script does not support the new version of the client???
well many thanks for that chrox, but after try use them, I got same error as @mappy2012 so I think files was change a bit, maybe is possible update script? here some samples, many thanks.