Getting playable OGGs out of Just Cause 3's FMOD .fsb files
Posted: Fri Jan 06, 2017 6:18 pm
I realize that this is a problem likely as old as time itself, but:
I used Gibbed's tools to extract JC3's arc/tab files and then used this QuickBMS script to extract FSBs from the extracted .bank files:
It's from somewhere in this forum, I forgot from where exactly.
Next, I used Aezay's FSB Extractor (I probably could've used fsbext.exe, but this GUI was nice to use and displayed extra info) to try to extract the actual music from these files, but all I got were weird OGG files with what seems to be a missing header.
Now, I used Google extensively before writing this post and it seems that the only solutions to this problem are:
1. Using FMOD Designer to rejigger the FSB files, which is pretty hard because one can't actually download it anymore without emailing their sales dept
2. Recording the output of some tool called "Music Player Ex" which I can't find because there are so many malware sites using that name
I realize that the OGG format (or at least the version used by the FMOD thingy) makes it difficult if not impossible to restore a generic header.
Still, I'd like to avoid reencoding the sound files if at all possible. Has someone solved the problem of extracting FMOD files yet?
If anyone wants to take a shot at extracting the music, here's one of the OGG files: https://bubbelsearch.de/files/jc3/jc3_m ... rd_end.ogg
I used Gibbed's tools to extract JC3's arc/tab files and then used this QuickBMS script to extract FSBs from the extracted .bank files:
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 + SIZENext, I used Aezay's FSB Extractor (I probably could've used fsbext.exe, but this GUI was nice to use and displayed extra info) to try to extract the actual music from these files, but all I got were weird OGG files with what seems to be a missing header.
Now, I used Google extensively before writing this post and it seems that the only solutions to this problem are:
1. Using FMOD Designer to rejigger the FSB files, which is pretty hard because one can't actually download it anymore without emailing their sales dept
2. Recording the output of some tool called "Music Player Ex" which I can't find because there are so many malware sites using that name
I realize that the OGG format (or at least the version used by the FMOD thingy) makes it difficult if not impossible to restore a generic header.
Still, I'd like to avoid reencoding the sound files if at all possible. Has someone solved the problem of extracting FMOD files yet?
If anyone wants to take a shot at extracting the music, here's one of the OGG files: https://bubbelsearch.de/files/jc3/jc3_m ... rd_end.ogg
