Script by chrrox
Game: CW Online
For unpack you need QuickBMS Tool.
PHP Code:
idstring "PACK"
get files long
get tableoff long
get unko01 long
get null long
get nameoff long
for i = 0 < files
goto tableoff
get check long
get offset long
get size long
get zsize THREEBYTE
get two byte
savepos tableoff
goto nameoff
get test string
savepos endstr
set nsize endstr
math nsize - nameoff
math nsize - 1
goto nameoff
filexor "0xa5" name
getdstring name nsize
filexor ""
math nameoff + 0x50
comtype unzip_dynamic
clog name offset zsize size
next i
HOW TO Use:
- Run QuickBMS
- Select script
- Select file for unpack
- Select dir to unpack
- Enjoy