Script by h4x0r
Thanks aluigi
For unpack you need QuickBMS Tool.
PHP Code:
# Battle Hearts (DAT format)
#
# Written by Ekey (h4x0r)
# https://progamercity.net
#
# Thanks Aluigi
# script for QuickBMS http://quickbms.aluigi.org
set KEY "0x69 0x6F 0x6E 0x30 0x76 0x61 0x73 0x64 0x6E 0x76 0x56 0x6E 0x47 0x72 0x39 0x38 0x35 0x36 0x59 0x69 0x75 0x64 0x68 0x66 0x67 0x66 0x2D 0x38 0x34 0x35 0x2E 0x53"
goto -0x10
get NULLS long
get TABLEOFFSET long
get TABLESIZE long
get VERSION long
goto TABLEOFFSET
for
filexor KEY NULLS
get NSIZE byte
getdstring NAME NSIZE
get OFFSET long
get SIZE long
log NAME OFFSET SIZE
savepos TMP
if TMP == 0
cleanexit
endif
next
HOW TO Use:
- Run QuickBMS
- Select script
- Select file for unpack
- Select dir to unpack
- Enjoy