Extracting audio from .assets files (.fsb files)

Codecs, formats, encoding/decoding of game audio, video and music
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Extracting audio from .assets files (.fsb files)

Post by The_Reaper_CooL »

Hello there people, and happy holidays!

I want to mod some Unity games, mainly because I want to change some sound effects in them. My problem is that there are hundreds (if not thousands) of sound effects, all which I can extract with UnityEX using right click and "Export with convert" option. I can also replace them with FMOD Designer and such, but my main problem is that I can't seem to play the files that UnityEX exports, no matter how I try.

Can you help me on what command do I need to write for UnityEX for it to export these sounds correctly? Or is there a program which can easily export these sounds and audio clips? I need this because then I can more easily figure out which sounds I need to replace instead of trying to mod 1000+ files one at a time.

Thanks in advance! :)
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Extracting audio from .assets files (.fsb files)

Post by brendan19 »

Uploading a sample file definitely helps this process :)
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Extracting audio from .assets files (.fsb files)

Post by The_Reaper_CooL »

You are right!

Here are some files, the .assets file as an example, the files that are extracted with UnityEX and the same files extracted with the "Export with convert" option. How can I play these files so I know what I'm changing here?

Link -> https://drive.google.com/file/d/1xWwnoa ... sp=sharing
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Extracting audio from .assets files (.fsb files)

Post by brendan19 »

UnityEx is exporting them correctly.

The samples are vorbis encoded FSB files and can be played/converted with the latest version of vgmstream.
The_Reaper_CooL
Posts: 69
Joined: Sat Dec 05, 2015 2:31 pm

Re: Extracting audio from .assets files (.fsb files)

Post by The_Reaper_CooL »

And you are right! Thanks for this! :)