Just Cause 3 .bank

Codecs, formats, encoding/decoding of game audio, video and music
FordGT90Concept
Posts: 2
Joined: Tue Jan 30, 2018 2:25 pm

Just Cause 3 .bank

Post by FordGT90Concept »

I used the unpacker attached here to obtain these samples. They're supposed to be fmod banks but the dump_fsb BMS scripts aren't working nor is fsbext or FsbExtractor. Some of them have one instance of FSB5 in it, but not always. They all start with RIFF and, except for the header data, look encrypted or compressed.

Any ideas?
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

Re: Just Cause 3 .bank

Post by ponaromixxx »

1) Apply to .bank

Code: Select all

for OFFSET = 0
    goto OFFSET
    findloc OFFSET string "FSB5"
    goto OFFSET
    getdstring FSB_SIGN 4   # FSOUND_FSB_HEADER_FSB5 (fsb.h)
    get version long
    get numsamples long
    get shdrsize long
    get namesize long
    get datasize long
    xmath SIZE "0x3c + shdrsize + namesize + datasize"
    log "" OFFSET SIZE
next OFFSET + SIZE


2) The resulting .fsb extract these tools:
fsb_aud_extr.zip
FordGT90Concept
Posts: 2
Joined: Tue Jan 30, 2018 2:25 pm

Re: Just Cause 3 .bank

Post by FordGT90Concept »

It works, thank you! :D