Oops, BTW, I know this FSB5 thing because when I tried to read some .fsb file, the first 4 byte of the 48-byte header says the ID is
And at the same time I’m wondering if I COULD extract the sound clips from a .fsb file, is it encrypted or something?
- voidmain answered 5 years ago
Whether an .fsb file is encrypted is in the hands of the developer who created the file.
We do not provide support for extracting sound clips from .fsb files at this time. The developers of a game have access to the .fdp files and source audio they used; It is their option to make that those files available to third parties if they want their content to be re-used or edited.
The easiest way to extract an FSB right now would just be to use System::createSound on it.
Then use getSubSound to get each sound, and lock/unlock to extract the raw PCM data.
You could use the wav writer example code in the recording example to dump a FMOD::Sound object to a .wav file.
Please login first to submit.