Godzilla Unleashed (Wii) - MusyX Samp and Uber Files by ThatGodzillaFan at 9:35 AM EDT on September 7, 2015
Hello, I've been looking for a way to extract the audio from Godzilla Unleashed and, if possible, reimport new sound effects to replace the ones currently ingame. My main goal is to simply extract all the SFX, but I have a friend who would love to be able to replace each monster's SFX with movie accurate SFX as the Atari Godzilla games aren't really known for being accurate to the movies.
Here are the MusyX files: http://www.mediafire.com/download/djhd5k8cd37bpv4/GUAudio.rar
I've done a search around the internet to see if I could find anything useful and I came across a PHP script that can extract the SFX from Gamecube games using the MusyX sound engine.
Here's a link to the PHP script: https://dl.dropboxusercontent.com/u/48454461/misc/MusyXExtract.php
The author of the script also made a Python script: https://dl.dropboxusercontent.com/u/48454461/misc/MusyXExtract.py
I've tried to extract the Godzilla Unleashed SFX with the PHP script but it requires a .sdir file which is probably contained within the Uber files after looking through the file with a Hex Editor.
I was thinking either the script could be modified to extract these Uber files or the .sdir file can somehow be extracted from the Uber file.
The author of the scripts here, stopping by. I'm busy with a couple of other projects right now, but I can have a look at the files at a later point this month probably, if no one else is able to help.
Okay, so it seems these Wii MusyX files differ a bit from GC MusyX files. So I might have to write a separate tool for these (unless there's a reliable way I can distinguish the two types and instead just update the current extractor), but I think I have both files you uploaded figured out for the most part. I'm just wrapping up another project around here. I'll have a closer look in the next few days.
Hey. Sorry for the delay. I finally finished working on the other projects and had some time to write a quick couple of scripts to handle these formats.
You'll need Python 3 installed (preferably installed with the official MSI installer for easier use). Then all you need to do is drag the .uber file onto uber-extract.py, then the resulting .sdir file onto wiimusyx-extract.py (keep in mind, the .sdir file needs to remain in the same folder as the .samp file).
There are some changes to the SDIR format. Some values were re-arranged, some values were omitted (raw sample count is no longer present, only nibbles), and the coefficients/sample history/predictor/scale values are no longer in a separate table, they're stored in the same table as the sample rates, sample offsets, etc. Each entry is 64 bytes.
Apart from that I don't know, haven't looked into the other parts. SAMP is the same of course, just raw standard Nintendo DSPADPCM data.