Page 1 of 1

Army Of Two - The 40th Day BNK Sound

Posted: Sat Jan 09, 2010 11:12 am
by OrangeC
http://www.megaupload.com/?d=GPWTVVQF

here is a sound bank from the 360 game, looks like a wwise bank but the sdk doesn't come with an unpacker for it.

Appreciate for BMS script.

thanks

Re: Army Of Two - The 40th Day BNK Sound

Posted: Sun Jan 10, 2010 2:39 pm
by aluigi

Code: Select all

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

endian big
idstring "BKHD"
get OFFSET long
math OFFSET += 8
goto OFFSET
idstring "DIDX"
get DIDX_SIZE long

savepos BASE_OFF
math BASE_OFF += DIDX_SIZE
math BASE_OFF += 8  # DATA chunk

math FILES = DIDX_SIZE
math FILES /= 12

for i = 0 < FILES
    get DUMMY long
    get OFFSET long
    get SIZE long

    math OFFSET += BASE_OFF
    log "" OFFSET SIZE
next i

# HIRC header ignored, seems nothing useful