• 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!

Custom Sound Engine v3.0 - Currently in Public Testing Phase

PyotrLuzhin

Smash Journeyman
Joined
Jul 1, 2014
Messages
470
Location
Altair's Lair
Hey guys, I figured I'd release this now that it appears to work relatively reliably. Long ago, Dantarion wrote a code that alters the way that Brawl handles sounds with IDs greater than 0x286C, which he dubbed the Custom Sound Engine. However, this code was incompatible with Project M (due to a bunch of codes, including the version of the File Patch Code that PM uses0, until now.

How to use the code:

First, refer to THIS POST for possible uses for the Custom Sound Engine - codes like "Oshtoby's Song Forcer" and "Custom Victory Themes" work well with Custom Sound Engine.

However, if you use BrawlEX + PM, then you don't need to use Custom Victory Themes - you'll just have to edit your SlotConfigs to use the new song IDs. Go to 0x20 in a given SlotConfig to change the victory theme that the game uses by default.

To add a new song, name your .brstm anything between 00004000.brstm or 0000FFFF.brstm. For those of you who have used CSE before, this may seem like a smaller range, but it's a pretty hard and fast technical limitation for now. Besides, who'd actually use more than 49,000 songs?

What this code doesn't do:

This does NOT add new slots to My Music. With the Song Forcer code (which the large, linked post covers), you have a ton of song freedom, however.

All right, where's the code?

Enjoy :) Post what you think of it in this thread!
Custom Sound Engine v3.0 [Dantarion, PyotrLuzhin]
* 041C72DC 38600002
* C21C805C 00000004
* 3C60801C 606380A8
* 7C6803A6 3C60901A
* 60633000 4E800020
* 60000000 00000000
* C21C7C38 00000006
* 93E20014 57FFE13E
* 2C1F0FFF 40800018
* 2C1F0400 40810010
* 3C60901A 60633000
* 48000008 38600000
* 83E20014 00000000
* C21C73D8 00000008
* 93C20014 57DEE13E
* 2C1E0FFF 40800024
* 2C1E0400 4081001C
* 83C20014 3C60901A
* 60633000 93C30000
* 93C30004 4800000C
* 38600000 83C20014
* 60000000 00000000
* 4A000000 90000000
* 161A3008 00000028
* 00000006 01000000
* 000C834C 50400200
* 01020000 000C8340
* 00000000 00000000
* 00000000 00000000
* 161A2FC8 0000000D
* 000CDE3C 01000000
* 7374726D 2F000000
* 161A2FDD 00000008
* 2E627273 746D0000
* 161A2F90 00000016
* 2F736F75 6E642F73
* 74726D2F 3030302E
* 62727374 6D000000
* C21C7D00 00000012
* 3FC0901A 63DE2FD4
* 93220000 38600000
* 3B200001 7F8218AE
* 739C00F0 579CE13E
* 3B9C0030 2C1C0039
* 40810008 3B9C0007
* 7F9EC9AE 3B390001
* 7F8218AE 739C000F
* 3B9C0030 2C1C0039
* 40810008 3B9C0007
* 7F9EC9AE 38630001
* 3B390001 2C030004
* 4082FFB4 3BDEFFFC
* 801EFFF8 901D0000
* 801EFFFC 901D0004
* 93DD0008 38600001
* 38000000 901D000C
* 60000000 00000000
* C21C6CE8 00000007
* 3CC08000 60C63140
* A0C60000 2C060025
* 4182001C 3CC0901A
* 60C62FE3 7C043000
* 4082000C 3F60901A
* 637B2F90 819D0000
* 60000000 00000000
 
Last edited:

davidvkimball

blippi.gg, @MeleeHD Lead
Joined
Jun 21, 2013
Messages
400
Location
Tacoma, WA
Slippi.gg
D#0
NNID
davidvkimball
3DS FC
3196-5240-6546
Switch FC
SW-1880-0689-1110
Hype! Thanks for releasing this for PM! This is huge.
 

Solaros

Smash Journeyman
Joined
Nov 14, 2015
Messages
225
PyotrLuzhin PyotrLuzhin is prety cool guy, eh makes magic codes and doesnt afraid of anything

(No but really, this is sweet and it'll be very handy!)
 

HypnotizeOverdrive

Smash Ace
Joined
Apr 6, 2014
Messages
580
NNID
HypnoOverdrive
I've got a question, now that this code has been brought back to attention.

Would it be possible at all to create new tracklists for stage expansion slots? I imagine it would need a combination of the Tracklist Modifier code and this code. I feel like I read around about this, but I could never get clear answers.

Unless the Tracklist Modifier wouldn't work? Then maybe a different code would be needed?
 
Last edited:

PyotrLuzhin

Smash Journeyman
Joined
Jul 1, 2014
Messages
470
Location
Altair's Lair
I've got a question, now that this code has been brought back to attention.

Would it be possible at all to create new tracklists for stage expansion slots? I imagine it would need a combination of the Tracklist Modifier code and this code. I feel like I read around about this, but I could never get clear answers.
That's what BrawlDJ aimed to do, but I've heard rumors that adding slots to My Music resulted in save corruption. I don't have any proof of that, though.
 

HypnotizeOverdrive

Smash Ace
Joined
Apr 6, 2014
Messages
580
NNID
HypnoOverdrive
That's what BrawlDJ aimed to do, but I've heard rumors that adding slots to My Music resulted in save corruption. I don't have any proof of that, though.
All I've heard was that all attempts simply didn't work. It'd be wonderful to have expanded stages with their own soundtracks, even if it's only two or three songs apiece.
 

DialgoPrima

Smash Rookie
Joined
Jan 30, 2016
Messages
5
NNID
DialgoPrima
That's what BrawlDJ aimed to do, but I've heard rumors that adding slots to My Music resulted in save corruption. I don't have any proof of that, though.
Wait, so can we add extra music to the expansion stages if it doesn't modify My Music? I'm relatively new to code editing mods, not entirely sure what this mod entails.
 

shaqnel

Smash Cadet
Joined
Dec 17, 2010
Messages
36
Having a similar difficulty. How do I modify this code for example to load 2 or more songs for stage expansion?
Oshtoby's Stage Dependant Song Loader - STGCUSTOM01
28708ceb 00000040
4A000000 90180F06
14000076 FF00C001
E0000000 80008000

http://mortoqueiba.blogspot.ca/p/blog-page_5.html

Also found this but it doesnt tell me how to load more then 2 songs.

Edit: Actually tried to test loading more than when one song on a stage expansion stage. It worked once but the other times it either froze or loaded the default tracklist (which was battlefield tracklist).

Stage-Track Dependant Song Loader [Oshtoby]
28708ceb 00000040
28708d2e 00002715
4A000000 90180F06
14000076 FF00C001
E0000000 80008000

Im gonna try to test this on other stages that are not custom.
 
Last edited:

Beninator

Smash Journeyman
Joined
Jan 17, 2011
Messages
319
Location
Earth
NNID
GhotiH
3DS FC
1461-6196-0520
Would this work with vBrawl? And if so, would it clash with the Alternate Stage Loader?
 

jackal27

Smash Journeyman
Joined
Jul 27, 2015
Messages
419
Location
Missouri
So I'm having trouble figuring out what this does. Does it allow us to have multiple songs for stage expansion stages or what exactly?
 

Beninator

Smash Journeyman
Joined
Jan 17, 2011
Messages
319
Location
Earth
NNID
GhotiH
3DS FC
1461-6196-0520
So I'm having trouble figuring out what this does. Does it allow us to have multiple songs for stage expansion stages or what exactly?
You need to use the tracklist modifier code to give custom stages the tracklist of different stages (I recommend Green HIll Zone, since it has the most songs), then use the Stage-Track Dependant Song Loader to replace Green HIll Zone's songs with your new custom ones on a per-stage basis. I use it and all my expansion stages (as well as my default stages) each have 12 unique songs.
 

HypnotizeOverdrive

Smash Ace
Joined
Apr 6, 2014
Messages
580
NNID
HypnoOverdrive
You need to use the tracklist modifier code to give custom stages the tracklist of different stages (I recommend Green HIll Zone, since it has the most songs), then use the Stage-Track Dependant Song Loader to replace Green HIll Zone's songs with your new custom ones on a per-stage basis. I use it and all my expansion stages (as well as my default stages) each have 12 unique songs.
You just answered my question. Bless you.

Can you, perchance, make a video showcasing this? Because I'd love to kill the single-song issue AND the sharing tracklist issue that's present with stage expansion.
 
Last edited:

Beninator

Smash Journeyman
Joined
Jan 17, 2011
Messages
319
Location
Earth
NNID
GhotiH
3DS FC
1461-6196-0520
You just answered my question. Bless you.

Can you, perchance, make a video showcasing this? Because I'd love to kill the single-song issue AND the sharing tracklist issue that's present with stage expansion.
Sure. Spring break is next week, so I should have time to goof off with my capture card.
 

HypnotizeOverdrive

Smash Ace
Joined
Apr 6, 2014
Messages
580
NNID
HypnoOverdrive
Hey so, I stuck the code into my .gct and I edited one of my clones in BrawlEx to point to a new song for its victory theme. The song doesn't load, however.

I created a singular .gct with the CSE code in it, and fused it with my primary .gct (which is the PM+BeX one with some minor edits) using the GCT Fusionizer.

I put the .brstm in private/wii/app/RSBE/pf/sound/sfx, and that didn't work. I also tried in private/wii/app/RSBE/pf/sound/strm, but no dice. Just now I tried to put the file in private/wii/app/RSBE/pf/sfx, and THAT didn't work either.

Could Pyotr (or anyone if they know) clue me in on what to do to make this work?
 
Last edited:

Beninator

Smash Journeyman
Joined
Jan 17, 2011
Messages
319
Location
Earth
NNID
GhotiH
3DS FC
1461-6196-0520
Hey so, I stuck the code into my .gct and I edited one of my clones in BrawlEx to point to a new song for its victory theme. The song doesn't load, however.

I created a singular .gct with the CSE code in it, and fused it with my primary .gct (which is the PM+BeX one with some minor edits) using the GCT Fusionizer.

I put the .brstm in private/wii/app/RSBE/pf/sound/sfx, and that didn't work. I also tried in private/wii/app/RSBE/pf/sound/strm, but no dice. Just now I tried to put the file in private/wii/app/RSBE/pf/sfx, and THAT didn't work either.

Could Pyotr (or anyone if they know) clue me in on what to do to make this work?
Try /projectm/pf/sound/sfx. Since it's a PM code, I'd assume that's where it goes.

Anyways, I just tried both that and the normal vBrawl directory in an attempt to use this with vBrawl, and it appears to not work. This could just be because the FPC I'm using loads from RSBE/pf instead of projectm/pf (I had to use the PM FPC code in vBrawl to get the PM ASLR code working), so I might try something like that over my break next week. Still got fingers crossed that this will work with the ASL code! THAT"S ALL I WANT FROM BRAWL HACKING! :p
 

HypnotizeOverdrive

Smash Ace
Joined
Apr 6, 2014
Messages
580
NNID
HypnoOverdrive
Try /projectm/pf/sound/sfx. Since it's a PM code, I'd assume that's where it goes.
Yeah, that didn't work either. I never was successful in getting this feature working. Some people have, but I myself just couldn't make it happen.
 

Beninator

Smash Journeyman
Joined
Jan 17, 2011
Messages
319
Location
Earth
NNID
GhotiH
3DS FC
1461-6196-0520
Yeah, that didn't work either. I never was successful in getting this feature working. Some people have, but I myself just couldn't make it happen.
Are you using any of the song loader codes to actually have the song play in battle? What are you seeing/hearing when you expect to see the song? Is it named correctly? If the code says "C000", the file name needs to be "0000C000.brstm".
 

HypnotizeOverdrive

Smash Ace
Joined
Apr 6, 2014
Messages
580
NNID
HypnoOverdrive
Are you using any of the song loader codes to actually have the song play in battle? What are you seeing/hearing when you expect to see the song? Is it named correctly? If the code says "C000", the file name needs to be "0000C000.brstm".
Okay, see, as I mentioned it's a victory theme thing so it'll only play after a match. It's named 00004000.brstm. Since I have it to use for a cloned character (in this case, Megaman) in BrawlEx, I edited his SlotConfig to read the song.

The game skips straight to the Results music instead.
 

Beninator

Smash Journeyman
Joined
Jan 17, 2011
Messages
319
Location
Earth
NNID
GhotiH
3DS FC
1461-6196-0520
Okay, see, as I mentioned it's a victory theme thing so it'll only play after a match. It's named 00004000.brstm. Since I have it to use for a cloned character (in this case, Megaman) in BrawlEx, I edited his SlotConfig to read the song.

The game skips straight to the Results music instead.
Whoops, I musta missed you saying that. I'm not especially familiar with custom victory themes, so I'm afraid I cannot help you there.
 

squeakyboots13

Smash Journeyman
Joined
Oct 4, 2013
Messages
381
You need to use the tracklist modifier code to give custom stages the tracklist of different stages (I recommend Green HIll Zone, since it has the most songs), then use the Stage-Track Dependant Song Loader to replace Green HIll Zone's songs with your new custom ones on a per-stage basis. I use it and all my expansion stages (as well as my default stages) each have 12 unique songs.
Would you be willing to share more information on how to set that up? I'm terrible when it comes to modifying long stretches of code and I highly doubt I would be able to figure this out on my own.
 

Amazerommu

Smash Lord
Joined
Jan 4, 2013
Messages
1,147
Location
Kentucky
Can we still give the extra tracks names using edited info.pac and info_training.pac files?

Also... where exactly do we put these extra tracks? Or, for anyone who has this working, where have you put your extra tracks?

Edit: Also this thread may help for those having trouble with giving extra stages more songs:
http://smashboards.com/threads/stage-expansion-2-0-custom-music.304920/
 
Last edited:

Amazerommu

Smash Lord
Joined
Jan 4, 2013
Messages
1,147
Location
Kentucky
Hey so, I stuck the code into my .gct and I edited one of my clones in BrawlEx to point to a new song for its victory theme. The song doesn't load, however.

I created a singular .gct with the CSE code in it, and fused it with my primary .gct (which is the PM+BeX one with some minor edits) using the GCT Fusionizer.

I put the .brstm in private/wii/app/RSBE/pf/sound/sfx, and that didn't work. I also tried in private/wii/app/RSBE/pf/sound/strm, but no dice. Just now I tried to put the file in private/wii/app/RSBE/pf/sfx, and THAT didn't work either.

Could Pyotr (or anyone if they know) clue me in on what to do to make this work?
Double post because v these answer reasons:

Okay I figured this out. If you haven't figured it out already yourself, the tracks just go in the same folder as the normal Brstm's. That is "projectm/pf/sound/strm" which should fix the problem you were having. And you can make titles work for these extra tracks as well if you are using them on a stage. (If you don't edit common2.pac and the info.pac's the title shows up with a note and then blankness) Just use this:
http://mortoqueiba.blogspot.ca/p/blog-page_5.html
And put "MiscData[13]" from the common2.pac file provided into the PM common2.pac file, and export "MiscData[140]" from the info.pac file provided into your pm info.pac files. (including the ones for training, homerun, etc.)

I'm currently working on using this for the 23 FD alts I have... and then some. The code works quite consistently compared to the older one dantarion made, from what I've tested so far (just one track on one stage) and I hope it works well with the other bunches of things I'm going to do with it. SO MUCH MORE SONG FREEDOM FINALLYYYYYYYYYYYYYY
 
Last edited:

Midnight_B1u3

Smash Cadet
Joined
Feb 26, 2016
Messages
33
Location
Vancouver
How would I edit Ike's victory theme (changing it to the friends theme) without editing the victory themes of Marth and Roy?
 

Amazerommu

Smash Lord
Joined
Jan 4, 2013
Messages
1,147
Location
Kentucky
How would I edit Ike's victory theme (changing it to the friends theme) without editing the victory themes of Marth and Roy?
If you're not using BrawlEX use the Victory Theme code mentioned in the OP. And only change the song code for Ike. If BrawlEx... Iunno.
 

Midnight_B1u3

Smash Cadet
Joined
Feb 26, 2016
Messages
33
Location
Vancouver
AAAARRRRRGHHHH!!! I DON'T UNDERSTAND! How do I use this in Project M? What is 0x20? What do I edit? How do I make sure this goes into a fullyfunctioning project M gct? And most importantly HOW DO I MAKE IKE'S VICTORY THEME THE FRIENDS THEME PLEASE HELP MEEEE. I need a dumber than dumb tutorial. Please help, I'd really love to use this. Pyotr, if you're out there, you gotta splain me this.
 

squeakyboots13

Smash Journeyman
Joined
Oct 4, 2013
Messages
381
Okay, so I've spent the better parts of last night attempting to do research on music codes. I think I have an understanding on how the Stage-Track Dependent Song Loader works. Although if it works the way I think it does, then that would mean I would have to create a code for every individual piece of music which would be very time consuming. (If I were to use stage expansion and give 12 music tracks to each default and expansion stage, that would be 936 tracks. Whoa nelly.)

The only thing giving me trouble now is the Tracklist Modifier code. Even after reading a tutorial on that, I have no clue how to put that one together. I just see a bunch of values that represent the default and expansion stages and that's it. Not sure how you can tell which stage's tracklist is being applied to the other stages. What I want to do is create a version of the code that gives every default and expansion stage Green Hill Zone's tracklist as Beninator mentioned doing above. It would seem that doing that can give you the largest amount of tracks possible for each stage.
 

Amazerommu

Smash Lord
Joined
Jan 4, 2013
Messages
1,147
Location
Kentucky
How would one go about changing roy, or mewtwo's victory themes without PM+BrawlEX?
Not even the slightest clue...

AAAARRRRRGHHHH!!! I DON'T UNDERSTAND! How do I use this in Project M? What is 0x20? What do I edit? How do I make sure this goes into a fullyfunctioning project M gct? And most importantly HOW DO I MAKE IKE'S VICTORY THEME THE FRIENDS THEME PLEASE HELP MEEEE. I need a dumber than dumb tutorial. Please help, I'd really love to use this. Pyotr, if you're out there, you gotta splain me this.
Uuuuh where are you getting "0x20" from? I could provide a .gct with the custom sound engine already in it... but it would be up to you to edit the custom victory theme code so that Ike has his own.

Okay, so I've spent the better parts of last night attempting to do research on music codes. I think I have an understanding on how the Stage-Track Dependent Song Loader works. Although if it works the way I think it does, then that would mean I would have to create a code for every individual piece of music which would be very time consuming. (If I were to use stage expansion and give 12 music tracks to each default and expansion stage, that would be 936 tracks. Whoa nelly.)

The only thing giving me trouble now is the Tracklist Modifier code. Even after reading a tutorial on that, I have no clue how to put that one together. I just see a bunch of values that represent the default and expansion stages and that's it. Not sure how you can tell which stage's tracklist is being applied to the other stages. What I want to do is create a version of the code that gives every default and expansion stage Green Hill Zone's tracklist as Beninator mentioned doing above. It would seem that doing that can give you the largest amount of tracks possible for each stage.
I also know how to do this thing as well. Also GHZ isn't the only stage with 12 tracks. Pretty sure Halberd, Castle Siege and Aero Dive have 12 tracks as well... Maybe even a few more.
 
Last edited:

devnew

Smash Apprentice
Joined
Dec 2, 2014
Messages
161
Location
The Corner
NNID
DevNew
AAAARRRRRGHHHH!!! I DON'T UNDERSTAND! How do I use this in Project M? What is 0x20? What do I edit? How do I make sure this goes into a fullyfunctioning project M gct? And most importantly HOW DO I MAKE IKE'S VICTORY THEME THE FRIENDS THEME PLEASE HELP MEEEE. I need a dumber than dumb tutorial. Please help, I'd really love to use this. Pyotr, if you're out there, you gotta splain me this.
If you read the OP he says HOWEVER IF YOU USE PM + BEX THEN... So don't worry about the 0x20
 

Midnight_B1u3

Smash Cadet
Joined
Feb 26, 2016
Messages
33
Location
Vancouver
Uuuuh where are you getting "0x20" from? I could provide a .gct with the custom sound engine already in it... but it would be up to you to edit the custom victory theme code so that Ike has his own.
If you could provide a Project M one, I would be grateful. This is my first time working with gct codes, and before this I've just been using mewtwo2000's cBliss and ASL tools. If you give me the gct and tell me what to do with the brstm (which I think I just name 00003025.brstm for Ike) Then I wouldn't mind redoing all of the gct edits I had before. I would also be grateful if you could direct me to a simple/dumbed down guide on how to do this.
 

squeakyboots13

Smash Journeyman
Joined
Oct 4, 2013
Messages
381
I've managed to (sort of) get the Tracklist Modifier code to work.

0610F9BC 00000014
60000000 60000000
3C80811A 7C601B78
608447E7 00000000
4A000000 81000000
301A46F8 6D755072
1417DF44 7CE03B78
1417DF4C 7C0400AE
161A47E8 00000064
001D1D1D 1D1D1D1D
1D1D1D1D 1D1D1D1D
1D1D1D1D 1D1D1D1D
1D1D1D1D 1D1D1D1D
1D1D1D1D 1D1D2D2D
2D1D1D1D 1D1D1D1D
1D1D1D0A 2D2D2D2D
2D2D2D2D 2D2D2D2D
1D1D1D1D 1D1D1D1D
1D1D1D1D 1D1D1D1D
1D1D1D1D 1D1D1D1D
1D1D1D1D 1D1D1D1D
1D1D1D1D 00000000
E0000000 80008000

This code makes it so that nearly every stage (including expansion stages) will play Green Hill Zone's music. Unfortunately, I screwed up somewhere as Bridge of Eldin and Mushroomy Kingdom (Hyrule Castle and Metal Cavern) still play their normal music. As does the training room but that stage wasn't mentioned in the guide I was using. Song titles don't show up on Hanenbow but that doesn't bother me.

I've only tested this on a default PM3.6 gct with stage expansion so I have no idea if this interferes with any other codes like cbliss or BrawlEX. Hopefully not. Alternate stage loader seemed to work fine.

I'll try playing around with the code sometime this weekend and see if I can get it to work with any of those three stages unless someone else manages to fix it before I do.

For reference, this is the tutorial I had used. http://forums.kc-mm.com/index.php?topic=27447.0 The tutorial included an example code that gave every expansion stage Big Blue's music. What I did was using that as a template, swapped out the IDs for Big Blue with Green Hill Zone's and overwrote the default stage IDs in the portion of the code labeled as default stages.
 

Amazerommu

Smash Lord
Joined
Jan 4, 2013
Messages
1,147
Location
Kentucky
Couldn't tell ya'. What I've been working on has nothing to do with victory themes.
Answer these questions first: Are you using BrawlEX? If not, do you have the Custom Victory Theme code that is linked in the oh pee? From then I can tell you how to edit the victory theme code to give Ike his own thing.
 

Midnight_B1u3

Smash Cadet
Joined
Feb 26, 2016
Messages
33
Location
Vancouver
Answer these questions first: Are you using BrawlEX? If not, do you have the Custom Victory Theme code that is linked in the oh pee? From then I can tell you how to edit the victory theme code to give Ike his own thing.
I'm in Project M 3.6, with the linked victory code in the op.
 
Top Bottom