scn.bin:
Code: Select all
get FILES long
goto 0x14
for i = 0 < FILES
savepos NEXT_OFF
goto NEXT_OFF
get SIZE short
get OFFSET short
math SIZE * 0x10
math OFFSET * 0x1000
log "" OFFSET SIZE
math NEXT_OFF + 0x4
next i
grp.bin:
Code: Select all
get FILES long
goto 0x14
for i = 0 < FILES
savepos NEXT_OFF
goto NEXT_OFF
get SIZE short
get OFFSET short
math S1 = SIZE
math SIZE * 0x10
math SIZE + S1
math OFFSET * 0x2000
log "" OFFSET SIZE
math NEXT_OFF + 0x4
next i
Also got something for the mcb0/1 but I need to optimize the QuickBMS script I did.