The VG Resource

Full Version: Metroid: Samus Returns - Attaching Corresponding Filenames to Sounds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there. As usual, I am on the hunt for proper filenames for the sounds I've ripped!
So here's the deal with Metroid: Samus Returns...

- The game stores its sound files in .pkg files (e.g. "samus.pkg"). TheseĀ are pretty easily opened with the metroid_sr_3ds.bms script in the quickBMS library. This yields sound files with the .cwa extension, which can be bulk renamed into .bcwav to play and convert them with vgmstream. However, this only leaves them with hashes for filenames.
- The actual filenames are stored elsewhere. They're in other .pkg files that share the name but with "discardables" added to the endĀ (e.g. "samus_discardables.pkg"). I can see the names in the hex. They're very similar to Metroid Dread's filenames, having a list of categories narrowing down to the specific ID (e.g. "actors/samus/samus_kickattack_02.wav").

The question is: how do I get the names from within the "_discardables.pkg" files onto the .cwa files gleaned from the "_.pkg" files?

I hoped that the .cwa files would extract from the ".pkg" in the same order presented in the "_discardables.pkg", but that doesn't seem to be the case as far as I can tell.

There may also be more complete lists of the filenames elsewhere that I've yet to find. Metroid Dread had a "sounddefinitions" file containing all the file IDs, which was how we did it last time. Unfortunately, Samus Returns doesn't seem to have that.

I will keep you all updated! Any ideas for now would be appreciated. I'll post links to sample files asap.

Sample: https://www.dropbox.com/s/v3tlzpvohrs319...e.zip?dl=0
Solved! Bearborg saves my skin once again.

I got in touch with Bearborg again, who helped a ton with my Metroid Dread rip. He showed me a list of file IDs for Samus Returns that was put together by MrCheeze, who is another fellow from the Dread modding discord. Bearborg updated the quickBMS script to use MrCheeze's filenames, and figured out that the wav paths in the "_discardables.pkg" needed to have "sounds/" added to the start and extension changed to .bcwav so they'd match the hashes. All done!

Not much discussion happened in this thread, but I think it's valuable to document how the rip came to be. Smile