09-01-2022, 05:31 PM
(This post was last modified: 09-03-2022, 10:21 AM by Unknowni123.)
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
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