Quantcast
Channel: GBFans.com
Viewing all articles
Browse latest Browse all 2235

Ghostbusters Video Games • Re: Ghostbusters: Spirits Unleashed audio files

$
0
0
Hey there! So in case anyone wanted to do this rip themselves, I made some handy tools to take care of it in as automated a way as possible. I'd previously used these to grab some sounds from Pacific Drive which just so happens to use the same engine and sound formats, so it was easy to port over.

Grab the two scripts here

Requirements:
Python 3.3+ (I use WPy32 so I have a portable way of running scripts on Windows)
FModel (get here)
vgmstream (get here)

Instructions:
If you've never used FModel you'll need to set it up first. When you run it will ask which game folder to scan. Click the "Add undetected game" at the bottom, name it whatever you want (I just called it GBSU), then for folder select
Code:
{installation base path}\GBSU\SwayzeGame\Content\Paks
For example, I bought it on Steam and my Steam drive is S:, so my full path in FModel is
Code:
S:\SteamLibrary\steamapps\common\GBSU\SwayzeGame\Content\Paks
Then click the + button to add this directory to the game list and hit OK.

Next you'll want to click Settings at the top and set your Output directory. This is the folder where FModel will store everything it extracts, so make sure it's somewhere you are okay with dumping 32,000 files. Then click OK to save settings.

Finally you will want to click the "Packages" menu item and make sure "Auto Load Sounds" is turned off. If this feature is enabled it will significantly slow down the process (which is already slow because 32,000 files). We use the scripts to convert the sounds so there's no need to use this option.

Okay, now that FModel is set up, open the pakchunk0-WindowsNoEditor.utoc archive, then navigate to SwayzeGame -> Content -> WwiseAudio. Click on the Media folder to select it. First, right-click and select "Extract Folder's Packages." This will extract the raw audio files as numerical WEM files. Once this process completes, right-click the Media folder again and click "Save Folder's Packages Properties (.json)".

Now navigate to your output folder. You will find that some new folders have been created. Navigate to
Code:
Exports\SwayzeGame\Content\WwiseAudio\Media
Inside are now a ton of WEM and JSON files. This is where the magic happens. Place vgmstream and the two scripts I provided into this folder.

First, using python, run renamescript.py. This script will automatically parse all the JSON files to get the correct filenames and rename the WEM files accordingly. It also automatically handles situations where the filenames are identical (about 1000 or so files, thanks devs). Once this script has finished, run convert.bat. This will convert all the WEM files to raw WAV for you so that you can then process them however you like.

Afterwards, feel free to delete the JSON and WEM files. I would have the scripts do that but I didn't think it right to make scripts that delete files on someone else's computer.

Hopefully this helps someone, somewhere. Happy Bustin'!

Statistics: Posted by Nomake Wan — April 20th, 2024, 1:11 pm



Viewing all articles
Browse latest Browse all 2235

Trending Articles