The rules have been updated, read them now: Rules!
The Original Forum. Game archives, full of resources. How to open them? Get help here.
-
Ekey
- M-M-M-Monster veteran

- Posts: 1737
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 85 times
- Been thanked: 950 times
Post
by Ekey » Sat Oct 05, 2013 11:34 pm
Code: Select all
# Agarest Generations of War (BRA format) 0.1
#
# Written by Ekey (h4x0r)
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org
comtype deflate
idstring "PDA\x00"
get VERSION long
get TABLEOFFSET long
get FILES long
goto TABLEOFFSET
for i = 0 < FILES
get DATETIME longlong
get ZSIZE long
get SIZE long
get NSIZE short
get UNKNOWN short
get OFFSET long
getdstring NAME NSIZE
set COMPRTEST = ZSIZE
math COMPRTEST -= SIZE
math ZSIZE -= 16
math OFFSET += 16
if COMPRTEST == 16
log NAME OFFSET SIZE
else
clog NAME OFFSET ZSIZE SIZE
endif
next i
-
merlinsvk
- ultra-veteran

- Posts: 411
- Joined: Mon Oct 27, 2008 12:11 am
- Location: Slovakia
- Has thanked: 35 times
- Been thanked: 117 times
Post
by merlinsvk » Fri Feb 14, 2014 10:43 pm
Script also works on .bra file from OMG Zombies.
Thanks, Ekey

-
lllccc
- mega-veteran

- Posts: 216
- Joined: Thu Apr 12, 2012 12:27 am
- Has thanked: 18 times
Post
by lllccc » Sun Jul 27, 2014 5:48 am
hey Ekey when unpacking the bigger files there's only 1 file and it doesn't match up to the size on the main file
(might need to be updated the script) if you need a file i can send you some