Script by chrrox
Game: War of Dragons: Age of Dragons
For unpack you need QuickBMS Tool.
PHP Code:
#quickbms script
#War of Dragons
#from chrrox
open FDDE tbl2 1
set arcnum 0
goto 0x10001C 1
for i = 0
get offset long 1
get zsize long 1
get null3 long 1
get size long 1
get arcnum long 1
set NAME1 string "file0"
set MYEXT string arcnum
strlen MYEXTSZ MYEXT
if MYEXTSZ == 1
string NAME1 += "00"
endif
if MYEXTSZ == 2
string name1 - 1
string NAME1 += "0"
endif
if MYEXTSZ == 3
string name1 - 1
string NAME1 += ""
endif
string NAME1 += MYEXT
string NAME1 += .data2
open FDSE NAME1 0
get null1 long 1
get null2 long 1
get name string 1
Padding 4 1
get null long 1
log name offset zsize
next i
HOW TO Use:
- Run QuickBMS
- Select script
- Select file for unpack
- Select dir to unpack
- Enjoy