Project cars 3 script update for audio extraction?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Kraken
Posts: 11
Joined: Fri Mar 09, 2018 12:19 pm

Project cars 3 script update for audio extraction?

Post by Kraken »

Hi, just wondering if anyone has a way to get all the sound files out of the .bank files of project cars 3?

Using this default script:

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


In the case of the attached file, only extracts a "00000000.fsb" of about 328kb which once extracted is only 4 sound files, 2 rev limiter files and 2 idle engine sound files. Anyone know of any way to get it to extract the FULL .FSB with all the files? If we can get some, I'm sure we can get the rest somehow :).

Many thanks in advance.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Project cars 3 script update for audio extraction?

Post by aluigi »

fsbext -o -1 is a good way for automatically scanning the input file and extracting the FSB files in it.