• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Smash Wii U Windows batch for renaming SSB4WiiU audio stream files

GFD

Smash Cadet
Joined
Nov 2, 2014
Messages
60
Location
Canada
I made some batch files for renaming SSB4's .nus3bank archives into a sort of soundtrack format. Thought I'd share it in case anyone else finds it useful.
I won't tell you how to go about obtaining these files. Please do not ask about that in this thread.

The resulting filenames follow the order for the music that's already used in the game's sounds menu. The first number is the group number, which groups tracks together by universe, and the second is simply the song's index within that universe.
The titles should be identical to the full titles used in the sounds menu — that is, the title that appears on the left side of the sounds menu interface for the currently playing track. Usually, these are the same as the titles in the list view on the right side, but in a few cases these full titles are longer and more descriptive. If any of the names in this batch are incorrect, please post and let me know.

Since / or : characters can't be used in NTFS filenames, I use ː (IPA triangular colon) and ⁄ (fraction slash). They look pretty similar. Since they're Unicode characters, the rename commands that use them might spit out "The system cannot write to the specified device." if the Command Prompt window uses raster fonts. It should still work, though.

There are a few special cases I had to deal with when making this that I'll describe here.
  • A new remix of Ashley's Theme is exclusive to the Japanese version of the game, for some reason. (I really wish it wasn't.) I'm not sure what name is used for this track in the Japanese version, so I named it "Ashley's Song Ver. 2"; the Smash Wiki has a "(JP)" distinction in the name, but that seems redundant to me, as there is no non-JP version to distinguish it from. I placed it after the English version of the Brawl remix because this is also the order its internal index uses, and because my understanding is it just replaces that track in the Japanese version.
  • I ordered the K.K. Slider songs as the last tracks in their universe using unique index numbers that start with "X", to distinguish them as unique "secret" tracks that are not found in the sound test. I believe their names match their canonical titles in the Animal Crossing games.
  • The retro Street Fighter II songs have two files each, for the regular and "pinch" versions. I simply appended "a" or "b" to their index numbers to distinguish between them, rather than make up different titles for the "pinch" versions.
  • There are six SSB4 tracks that are not found in the sound test that I had to make up titles for.
    • "30.32 Classic: Intro" is named as such because its internal name also calls it "Intro". It's placed after "Classic: Map" and before "Classic: Results" because its internal index places it right before the latter, and this is also the order these tracks are heard in during gameplay.
    • "30.36 Game Clear" is a title I came up with arbitrarily. It's not named like the other "Classic" tracks because its internal name doesn't group it with those tracks either, and because it's heard in All-Star Mode in addition to Classic Mode. I didn't use the internal name "Chronicle" since it just seemed awkward and nondescript (as many internal names are). It's placed after "Classic: Fail" because its internal index places it right after this track.
    • "30.39 Master Orders: Failure" is named as such to match the announcer's declaration whenever this track is heard during gameplay. It's placed after "Master Orders: Reward" because its internal index places it right after this track.
    • "30.45 Smash Tour: Battle" is named as such just because its internal name also calls it "Battle". The name for "30.46 Smash Tour: Last 5 Turns" was chosen somewhat arbitrarily based on the fact that its internal names calls it "5Turns". These are listed in order after "Smash Tour: Map" because that's the order their internal indexes place them in.
    • "30.50 Target Blast Results" was named as such because its internal name calls it "Result", and because that's the title of the screen this track is played on during gameplay. It's placed after "Target Blast" and before "Gallery / Hoard" because its internal index also places it directly between those two tracks.
  • CRS12_Simple_Result_Final ("Classic: Final Results") is not included in these lists, because vgmstream isn't able to play this file. If this changes, please let me know.
  • The victory fanfares were given a special group number of "X1", and follow the format of "<universe> Universe Fanfare" for most tracks. Fanfares that are different from the one for their encompassing universe for a particular fighter have a letter appended to their index number and follow the format of "<fighter>'s Fanfare".
    • The fanfare used for Bowser and Bowser Jr. is a special case, as it's unique from the encompassing universe fanfare, but it still applies to multiple fighters, so it can't follow either of the other formats. I took a creative liberty by naming it "Koopa Clan's Fanfare".
  • There are some small jingles that aren't in the same internal category as the other SSB4 tracks, so I gave them a special group number of "X2". These seem to act as counterparts to some jingles found in Melee's sound test, so I gave them the same names and placed them in the same order (which also matches their internal index placements).
  • The three tracks that play when specific items are in use are also in a unique internal category, so I gave them a special group number of "X3". The first two, "Hammer" and "Starman", have the same names and placement as their Melee counterparts again, as that was the last sound test these tracks could be found in. The third one, "Power-Up Music", has the same title as it did in Brawl's sound test.
 
Last edited:

GFD

Smash Cadet
Joined
Nov 2, 2014
Messages
60
Location
Canada
This now accommodates all music files, including those from the recent updates. Some additional special cases presented themselves while updating this.
  • Cloud's fanfare has two versions: one that loops, and one that doesn't. (The latter only appears to be used when winning a Tourney.) I've named the shorter version "X1.26b Final Fantasy VII Universe Fanfare (short)" because it's simple and descriptive.
  • "Lost in Thoughts All Alone" is another song with a version specific to Japan. I named the Japanese version "Hitori Omou", which appears to be the official romanization of the Japanese name, as that is the track's internal name. I placed it before the English version, as that is how their internal indexes order them.
    • I'm curious as to what happens if a Japan-region console distributes a custom stage with the music set to the Japanese version of a song, and shares that stage with a console from a different region. If anyone can help provide details on this, please let me know.
I've also created three more variations on this batch, which I've added to the first post. "SSB4 Wii U / 3DS" allows you to include the archives unique to the 3DS version (there are 33 of them). "SSB4 Wii U (remixes only)" only renames songs that are fully unique to SSB4 Wii U. "SSB4 Wii U / 3DS (remixes only)" logically combines both categories.
The addition of the 3DS tracks also presented some special cases.
  • Songs used on transforming stages in the 3DS version have multiple streams that are mixed into one song on the Wii U version. The archives from both versions are included for these — the Wii U version is listed first, and the 3DS parts are listed afterwards with a letter appended to the index number and "(Part x)" appended to the track name.
  • CRS22_SurechigaiDairantou, NEMY_Orne_Jingle, SEQ_donkey, and the KBY_GB tracks don't seem to play with vgmstream, so they are excluded. ENEMY_Shinigami_Jingle is excluded 'cuz it's pretty unimportant, and it doesn't really fit in anywhere.
  • As both games have unique tracks for "Classic: Map" and "Classic: Intro", I simply appended "(3DS)" and "(Wii U)" to the respective track names. I ordered the 3DS versions first because that's also how their internal indexes order them.
  • Like the K.K. Slider tracks, I ordered the WarioWare, Inc. minigame tracks as the last tracks in their universe group with unique index numbers that start with "X". Their order matches their internal index placements. For the first seven tracks, I believe their names match the canonical names of the minigames they are used with. The last two are used with minigames that are unique to this stage, so I named them after the prompt those minigames give.
  • Three tracks don't have a strictly defined order, as these tracks are only in the 3DS version's sound test.
    • I placed "Lumiose City" right after the battle themes for X/Y, and before "Victory Road". Placing it after "Trainer Battle" as it is located in the 3DS version's sound test didn't really make sense, as that would place it in the middle of the battle themes. Its internal index also places it before "Victory Road".
    • I placed "Dark Pit" and "Wrath of the Reset Bomb" after all the Kid Icarus: Uprising tracks that are shared between the two versions, but before the tracks unique to the Wii U version.
 
Top Bottom