FSBext - FSB files extractor
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBext - FSB files extractor
same, doesn't it work?
-
- Posts: 416
- Joined: Sat Sep 15, 2018 5:22 am
Re: FSBext - FSB files extractor
aluigi wrote:same, doesn't it work?
yes, dumping list works!
-
- Posts: 6
- Joined: Tue Sep 17, 2019 8:01 pm
Re: FSBext - FSB files extractor
Hi Luigi, i'm having trouble getting the .wav files from this bank file. I guess its encrypted and could you help me find the password or something as i've read on the forum, i'm confused how decrypting works. Can you point me to correct direction to extract all the sound files because it only extracts a very small one and the bank file is 3.5mb big. Thanks
-
- Posts: 81
- Joined: Wed Sep 17, 2014 2:28 pm
Re: FSBext - FSB files extractor
not sure what's we got here
fsb look truncated
i try fmod and fsbext and eazay
fsb look truncated
i try fmod and fsbext and eazay
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBext - FSB files extractor
@ili
Do you mean the output of fsbext is invalid?
As far as I can see all the mp3 frames have been assembled in the output file and it plays (althought I don't know what he says).
Do you mean the output of fsbext is invalid?
As far as I can see all the mp3 frames have been assembled in the output file and it plays (althought I don't know what he says).
-
- Posts: 1
- Joined: Sat Aug 07, 2021 2:49 pm
Re: FSBext - FSB files extractor
Hi Luigi, when unpacking the files do not open https://drive.google.com/file/d/1tYsaab ... ZAHHH2xwm/
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBext - FSB files extractor
Because the ogg data stored in FSB files is not compatible with the ogg format, it's like a sequence of ogg encoded blocks without any header.
I ever suggest to use this other solution here because I don't have other ways for "reassembling" the ogg data in something readable by players:
viewtopic.php?f=17&t=1901
I ever suggest to use this other solution here because I don't have other ways for "reassembling" the ogg data in something readable by players:
viewtopic.php?f=17&t=1901
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
MPEG encoded audio has some special stuff done to it not only during encoding but during playback in FMOD for seamless looping, of which the playback part is not preserved, resulting in a very audible gap, making it anything but seamless (seamful?)
is there any way to fix that?
is there any way to fix that?
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
Upon further investigation, it seems that the first frame is skipped?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBext - FSB files extractor
Do you mean that the mp3 file extracted by fsbext is invalid?
The file is created by reassembling the frames in FSB, it's not a direct dump so everything is possible.
By the way, fsbext has two options that may be useful in debugging:
-M dumps the frames of each channel in the mp3
-m dumps the data as-is (the result is not playable)
Please let me know if that's what you are referring to.
The file is created by reassembling the frames in FSB, it's not a direct dump so everything is possible.
By the way, fsbext has two options that may be useful in debugging:
-M dumps the frames of each channel in the mp3
-m dumps the data as-is (the result is not playable)
Please let me know if that's what you are referring to.
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
no the dump is valid, but only for a oneshot playback
FMOD seems to discard the first frame if the audio is encoded and played as a loop on any subsequent loops, at least in the case of MPEG, as if it were forcing the loop start point a frame ahead, perhaps an option to discard the first frame could help in that
FMOD seems to discard the first frame if the audio is encoded and played as a loop on any subsequent loops, at least in the case of MPEG, as if it were forcing the loop start point a frame ahead, perhaps an option to discard the first frame could help in that
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBext - FSB files extractor
I don't think I understand.
This topic is about fsbext only.
fsbext doesn't dump any meta information about loops and similar, just the audio data for playing.
If you are talking about a problem of the FMOD framework, that's not related to fsbext.
If you are talking about the rebuilding feature of fsbext, that's an old experimental feature that was useful a decade ago.
This topic is about fsbext only.
fsbext doesn't dump any meta information about loops and similar, just the audio data for playing.
If you are talking about a problem of the FMOD framework, that's not related to fsbext.
If you are talking about the rebuilding feature of fsbext, that's an old experimental feature that was useful a decade ago.
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
I'm talking about the manipulation FMOD does when encoding banks with MPEG compression
it's detailed in the FMOD docs here https://documentation.help/FMOD-API/qualitybitrate.html
what it seems to actually do is rather than actually discarding the last frame, it just moves everything forward by a frame, leaving a garbage frame that it skips when looping back to start
I tested this by building a custom looped back using fsbank
it's detailed in the FMOD docs here https://documentation.help/FMOD-API/qualitybitrate.html
what it seems to actually do is rather than actually discarding the last frame, it just moves everything forward by a frame, leaving a garbage frame that it skips when looping back to start
I tested this by building a custom looped back using fsbank
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
oh and for some reason a bit of the next subsound is added to the end of any subsound that isn't the last in the bank
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
actually I think I know what it's doing
the last frame is combined with the first at runtime, so maybe a loop prepriming option could be added? although that'd probably require a conversion to WAV or some other lossless format to avoid recompressing the first frame
the last frame is combined with the first at runtime, so maybe a loop prepriming option could be added? although that'd probably require a conversion to WAV or some other lossless format to avoid recompressing the first frame
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
hrmm but not all banks sound correct when I do that
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: FSBext - FSB files extractor
Should I fix something in fsbext?
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
the extraction is technically fine, but adding an option to perhaps automate the fixing of looping audio to loop properly once extracted would be nice
gotta see if FMOD stores the difference between the length of the source file and the output mpeg stream though
gotta see if FMOD stores the difference between the length of the source file and the output mpeg stream though
-
- Posts: 23
- Joined: Mon Jul 17, 2017 10:36 am
Re: FSBext - FSB files extractor
FMOD seems to use the technique described in more detail here https://www.compuphase.com/mp3/mp3loops.htm