FMOD FSB files extractor (through their API)

Do you know a tool, link or website for working on a specific game files or to help game research? Let's collect them here!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

@id-daemon
can you add an option or something automatic to scan the input file searching all the available FSB archives?
It looks like many Unity archives contains hundreds of these FSB mono-file encoded with ogg (for which fsbext is useless).
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

Sorry, I really don't like c++ coding now, but I had to write this tool in c++ because it was required by their SDK or something. So it would be pain to make any changes to the tool. Especially big changes you're asking.

I remember I posted the source for this, so you are welcome to do it yourself, as I know you're writing in c++.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

id-daemon wrote:I remember I posted the source for this, so you are welcome to do it yourself, as I know you're writing in c++.

source code???
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

aluigi wrote:
id-daemon wrote:I remember I posted the source for this, so you are welcome to do it yourself, as I know you're writing in c++.

source code???


yes, i clearly remember someone (probably you) asked for code and i posted it
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

no that was alpha23

viewtopic.php?p=5207#p5207

this little loop was actually the only thing I added to their API example code
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

Ok, so no source code.
Anyway it's not something for me, I will probably write a script for doing the FSB scanning work.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

What do you call source code? Their original library code? No, I don't have it. It was presented in their API package as a .LIB
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

What you posted there is a snippet, not source code.
Just in case someone arrives here and then complains that he can't compile your snippet :)
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

This is why I hate c++. To make that tool, I had to take a bunch of .h, .cpp, .lib and maybe some other files from their API package. Then i needed to change some of them to make it compile in .net. And then I added those lines I posted here inside one of those files. Now you say this is some "snippet". How do I even understand what is "source code" there?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

@id-daemon
Users are asking for a quick help on how to use the tools, some command-line examples should be enough.
Additionally would be good if you can also add the link to the dll, I posted them here if you want to just put the link download/file.php?id=1781
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

What kind of examples? Like ... to use the tool you need to type:

fsb_aud_extr.exe <fbs_name>

?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

Funny thing is they had a bug in their old DLLs, and I had to put a workaround in my tool for it to work.
And now they corrected the bug, thats why my tool doesn't work with new DLLs.
I need to remove workaround maybe... but have no time to test it.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

id-daemon wrote:fsb_aud_extr.exe <fbs_name>?

Yeah it's obvious for us but some users need every step and information :)
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

They can always just drag-n-drop file onto the EXE.
Do I have to put it in the first post or where?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: FMOD FSB files extractor (through their API)

Post by aluigi »

Having all the info and links in the first post would be great.
Bagels Yeah
Posts: 3
Joined: Mon Feb 13, 2017 11:26 pm

Re: FMOD FSB files extractor (through their API)

Post by Bagels Yeah »

Is there a way to scan the fsb file to extract all the oggs?
p8m3
Posts: 1
Joined: Sat Jun 03, 2017 10:27 am

Re: FMOD FSB files extractor (through their API)

Post by p8m3 »

Hi, I'm trying to use the extractors, but when I try to open one, it just closes itself immediately. I tried drag and drop a fsb file onto the fsb_aud_extr.exe, also closes itself immediately. I have downloaded both dll files in the same folder. Any help?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

try running command line and see error message. Maybe its not proper FSB, or newer version.
henji
Posts: 3
Joined: Mon Jul 17, 2017 4:03 am

Re: FMOD FSB files extractor (through their API)

Post by henji »

hello, @id-daemon
when i use fsb_aud_extr.exe extract a bank file with some audio file have chinese filename ,it is crashed, could you give me a version support utf-8
thanks

id-daemon wrote:There are two extractors, because some FSB files can only be extracted with one or another FMOD product.

fsb_aud_extr.exe (needs fmodL.dll from "FMOD Studio Programmer’s API")

fmod_extr.exe (needs fmodex.dll from "FMOD Ex Programmer’s API")

Required DLL's are here

To use the tool you need to type: fsb_aud_extr.exe <fsb_name>
Or just drag-n-drop FSB file onto fsb_aud_extr.exe.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: FMOD FSB files extractor (through their API)

Post by id-daemon »

It works, just filenames are made of strange symbols.
For this case I only have this idea: extract files numbers instead of names. Like 1.wav, 2.wav. I can make such version.