Script by chrrox / finale00
Game: The Invincible Online
For unpack you need QuickBMS Tool.
PHP Code:
goto 0x104
get files short
get unk byte
get flag byte
if flag != 0
filexor "0x71 0x6E 0x66 0x76 0x6F 0x76 0x6F 0x7A 0x6C 0x64 0x67 0x6B 0x66 0x6B 0x72 0x6E 0x00"
endif
for i = 0 < files
get id long
putarray 0 i id
next i
for i = 0 < files
get id1 long
putarray 1 i id1
next i
for i = 0 < files
getarray OFFSET 1 i
if OFFSET == -1
getdstring null 0x310 #this is the recursive directory info but we can skip it in this game
endif
if OFFSET != -1
getdstring basename 0xF8
get SIZE long
get UNK01 long
get UNK02 long
getdstring NULL 0x2
getdstring NAME 0x20A
putarray 2 i SIZE
putarray 3 i NAME
print %SIZE%
endif
next i
filexor ""
savepos base
for i = 0 < files
getarray OFFSET 1 i
getarray SIZE 2 i
getarray NAME 3 i
math OFFSET + base
if NAME != 0
log NAME OFFSET SIZE
endif
next i
HOW TO Use:
- Run QuickBMS
- Select script
- Select file for unpack
- Select dir to unpack
- Enjoy