Bank files from Generation Zero

Codecs, formats, encoding/decoding of game audio, video and music
marksky
Posts: 2
Joined: Fri May 03, 2019 7:45 pm

Bank files from Generation Zero

Post by marksky »

Hi guys,

I hope someone can help me out :|

I managed to extract the music files from the game data. These seem to be FSB files.
Next I tried to access them via FSB Extractor. This tool gives me a nice overview about every single sound file and each name but it can't play them since the header is missing.

Any chance to extract the files anyway?

Many thanks in advance!

Image
Last edited by marksky on Sat May 04, 2019 6:25 pm, edited 1 time in total.
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

Re: Bank files from Generation Zero

Post by ponaromixxx »

The first is this:

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


Then:

fsb_aud_extr.exe
marksky
Posts: 2
Joined: Fri May 03, 2019 7:45 pm

Re: Bank files from Generation Zero

Post by marksky »

Managed to get it working.

THANK YOU! :mrgreen:
compewter
Posts: 1
Joined: Thu Dec 19, 2019 5:07 pm

Re: Bank files from Generation Zero

Post by compewter »

I'm trying to pull some of the sound effects out, and ran in to the same issue. I can extract .ogg files but they're missing headers.

I'd love to understand how you got this to work, but I don't know what to do with that code.

It might be worth noting that the files I initially extracted are not .FSB (and there are no .FEV), but instead ".fmod_bankc" files. I'm not interested in the music, but was able to emulate marksky's results with what I have, so I think the fmod_bankc files will work. Possibly.

Image

I've tried following the instructions for fsb_aud_extr_1_10, but it only spits out "Unsupported file or audio format."

Code: Select all

E:\fsb_aud_extr_1_10>fsb_aud_extr_1_10.exe e:\work\char_machine_hunt_c4.fmod_bankc
Unsupported file or audio format.


pls halp?


EDIT: I figured it out, too!
I ran my fmod_bankc file through quickbms then put the resulting 00000000.fsb file through fsb_aud_extr_1_10 and got wav files out. Couldn't be happier, THANK YOU!