Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => Programming => Topic started by: SonicWolf on January 05, 2013, 10:37:12 PM



Title: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 05, 2013, 10:37:12 PM
I have all sorts of awesome hacks but I can't have someone like say... Shadow over Sonic cuz Shadow would be on Sonic's Blue color & I'd have to change the colors around to fit the team colors & I'm quite possitive having a blue Shadow in the default Shadow slot would make no sense & would look bad. I'm just wondering if it's possible to make Sonic's Blue color over his Black instead via code & if not this is a request for a code like this. Changing the Red Blue & Green colors would be awesome cuz then it doesn't matter who you choose you can still have Blue Shadow on Blue team & Default Shadow on Red ect!

Please post below if it's a good idea if it's not yet made or if it is just post it here! I really REALLY want it.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: Shun_One on January 05, 2013, 11:52:47 PM
I know this is possible, but I don't know how it's done. I'd really like to know as well, though.

Project M does this with several characters, but I don't know how it's done. If anyone would be kind enough to shed some light, it would be appreciated.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 06, 2013, 03:33:01 AM
Project M actually did this with some charactrers? Hm... Maybe someone involved can help?


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: PhantomWings on January 06, 2013, 11:09:04 AM
I think this should do the trick:

Code:

Swap Sonic's Default and Black Team Colors:
4A000000 80455448
10000000 00000008
10000002 00000001
E0000000 80008000


I guess I'll expand on it once I find out if it works.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 06, 2013, 11:32:53 AM
I'm gonna need everyone's codes but this will be good for Sonic.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicBrawler on January 06, 2013, 01:41:22 PM
There is a code that i used that replaces ice climbers with popo. so what if you just like, use that code and make the, for example, blue mario slot load up black.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 06, 2013, 02:16:27 PM
Is there one for all characters? Also I don't know how to edit codes unless there are perfect instructions on how to do so.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicBrawler on January 06, 2013, 02:20:58 PM
Is there one for all characters? Also I don't know how to edit codes unless there are perfect instructions on how to do so.

http://wiird.l0nk.org/forum/index.php?topic=3943.msg37075#msg37075 (http://wiird.l0nk.org/forum/index.php?topic=3943.msg37075#msg37075)


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 06, 2013, 02:43:58 PM
This only works for 1 character as far as I know. Isn't there one that can do every character at the same time? Like Wolf Sonic Link Ganon Fox ect all in one?


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicBrawler on January 06, 2013, 02:48:27 PM
This only works for 1 character as far as I know. Isn't there one that can do every character at the same time? Like Wolf Sonic Link Ganon Fox ect all in one?

no, u can do as much as u want. g&w had the alloys on him


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: Kyouma on January 06, 2013, 04:08:12 PM
woa woa woa, this is wonderful!


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 06, 2013, 04:18:32 PM
no, u can do as much as u want. g&w had the alloys on him

Wait. How do I do multiple characters? Do I just use more than one of these codes?


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicBrawler on January 06, 2013, 04:21:01 PM
yup


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: Shun_One on January 06, 2013, 11:11:11 PM
I think this should do the trick:

Code:

Swap Sonic's Default and Black Team Colors:
4A000000 80455448
10000000 00000008
10000002 00000001
E0000000 80008000


I guess I'll expand on it once I find out if it works.
Wow. I knew it could be done.

So, if I'm reading this right, this will make Sonic's default slot load Black sonic, while his Black Sonic slot will load his default (ie, blue team Sonic)?


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: PhantomWings on January 07, 2013, 09:32:37 AM
Wow. I knew it could be done.

So, if I'm reading this right, this will make Sonic's default slot load Black sonic, while his Black Sonic slot will load his default (ie, blue team Sonic)?

That's the idea, yes. But it hasn't been tested yet. This code was made using a couple of well educated guesses along with some background knowledge - so it may not work as intended.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 07, 2013, 10:51:32 AM
I really want one for every character that can work in 1. Like it tells the game which color is Blue Team which is Red which is Green but otherwise it's the same. If your guess is right PhantomWings then would the code do this with Sonic? Like make it so that on the CSS if you choose Blue team & go over Sonic will he have his Black color highlighed? Or will it still be the Blue one? Also will this code work for NTSC Riivo users? You didin't say so if I'm not mistaken.

Post Merge: January 07, 2013, 10:52:15 AM
I really want one for every character that can work in 1. Like it tells the game which color is Blue Team which is Red which is Green but otherwise it's the same. If your guess is right PhantomWings then would the code do this with Sonic? Like make it so that on the CSS if you choose Blue team & go over Sonic will he have his Black color highlighed? Or will it still be the Blue one? Also will this code work for NTSC Riivo users? You didin't say so if I'm not mistaken.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: PhantomWings on January 07, 2013, 06:22:10 PM
Why not try the code and see for yourself instead of asking me? I can't use Riivolution or Gecko or a Wii for that matter.

If you're looking for a code that can be used for every character, then here it is. It's different from the last code, but it should give you all the customization you need.

Code:
Color Slot Modifiers:
(Credit to Dantarion who recorded all the data pointers for these codes.)

Mario
064551E8 00000010
00000906 01030204
08050302 0C000000

Donkey
064551F8 00000010
07000804 00010103
03020905 0C000000

Link
06455208 00000010
03000001 01030905
02060804 0C000000

Samus
06455218 00000010
02000103 00010805
04040302 0C000000

Zerosuit Samus
06455228 00000010
05000103 00010805
04040302 0C000000

Yoshi
06455238 00000010
03000001 01030204
06050506 0C000000

Kirby
06455248 00000010
06000204 01030001
03020905 0C000000

Fox
06455258 00000010
07000804 00010302
01030905 0C000000

Pikachu
06455268 0000000C
02000001 03020103
0C000000 00000000

Luigi
06455274 00000010
03000A05 00010103
0B040406 0C000000

Captain Falcon
06455284 00000010
05000804 00010302
01030605 0C000000

Ness
06455294 00000010
00000905 02040302
01030806 0C000000

Bowser
064552A4 00000010
03000804 00010103
09050706 0C000000

Peach
064552B4 00000010
06000A05 00010103
03020904 0C000000

Zelda
064552C4 00000010
09000001 01030405
03020804 0C000000

Sheik
064552D4 00000010
09000001 01030405
03020804 0C000000

Ice Climbers
064552E4 00000010
04000001 01030804
03020905 0C000000

Marth
064552F4 00000010
05000001 03020804
09050103 0C000000

Mr. Game & Watch
06455304 00000010
08000001 02040103
03020505 0C000000

Falco
06455314 00000010
09000A05 01030001
03020804 0C000000

Ganondorf
06455324 00000010
04000804 01030302
00010705 0C000000

Wario
06455334 0000001C
05000001 02050302
08040103 02060007
01090308 070A090B
0C000000 00000000
 
Metaknight
06455350 00000010
04000904 00010302
01030605 0C000000

Pit
06455360 00000010
09000204 00010302
01030805 0C000000

Olimar
06455370 00000010
02000904 00010805
03020103 0C000000

Lucas
06455380 00000010
02000704 00010103
03020405 0C000000

Diddy
06455390 00000010
00000205 06040406
03020103 0C000000

Pokemon Trainer
064553A0 0000000C
02000001 03020103
07040C00 00000000

Charizard
064553AC 0000000C
02000001 03020103
07040C00 00000000

Squirtle
064553B8 0000000C
02000001 03020103
07040C00 00000000

Ivysaur
064553C4 0000000C
02000001 03020103
07040C00 00000000

Dedede
064553D0 00000010
00000606 03020405
01030704 0C000000

Lucario
064553E0 0000000C
01000001 05040905
03020C00 00000000

Ike
064553EC 00000010
05000205 00010103
03020704 0C000000

Rob
064553FC 00000010
00000906 02050604
01030302 0C000000

Jigglypuff
0645540C 0000000C
06000001 09040103
03020C00 00000000

Toon Link
06455418 00000010
03000001 01030404
07050806 0C000000

Wolf
06455428 00000010
0B000001 08040302
01030905 0C000000

Snake
06455438 00000010
05000001 01030904
03020705 0C000000

Sonic
06455448 0000000C
01000805 02040302
00010C00 00000000

Code:
Color Associations: (XX)
00 Team Red
01 Team Blue
02 Yellow
03 Team Green
04 Purple
05 Blue
06 Pink
07 Brown
08 Black
09 White
0A Unused
0B Unused
0C List Terminator


You're going to have to get your hands dirty if you want to get the customizations you want. After the first line of each code is the data that is used for specifying the color data. It's format is this:

X1Y1X2Y2 X3Y3X4Y4

The numbered X/Y pairs store the data for the color slots. X represents the color associated with the slot as denoted above and Y represents the numbered .pac file associated with the slot. I suggest you leave the .pac file alone and only modify the color value.

I've put all the default data inside the codes already, so making minor tweaks only requires you to swap specific values. If you wanted to swap Sonic's blue and black color slots as the previous code did, then all you need to do is swap the 01(team blue) and 08(black) in his code resulting in:

Swap Sonic's Blue and Black Color Slots:
06455448 0000000C
08000005 02040302
00010C00 00000000


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 07, 2013, 06:44:22 PM
I'm a bit confused. Can you explian it to me in english? I don't really speak code :-\
(I know it may seem perfect to you but I am just confused)


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: Shun_One on January 07, 2013, 08:45:31 PM
PW, I'll test the codes out sometime tomorrow and report back for you. Thanks again for posting all of this.

It worked.

I used
Code:
Swap Ness' Default and Fuel Shirt Colors
06455294 00000010
09000005 02040302
01030806 0C000000

Swap Mario's Default and Fire Mario colors
064551E8 00000010
09000006 01030204
08050302 0C000000
To make Ness and Mario no longer use their defaults as Team colors and it works marvelously.

Thanks a billion for this!


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 07, 2013, 09:05:00 PM
? Well make sure you add easy to understand instructions too for my sake :-P

Post Merge: January 08, 2013, 08:18:11 PM
I think I'm starting to understand the code you gave PW. So all I do is (for example) If I want Link's Green color slot to be changed to say his White color then I just find that part of the code for Link & then put 09 in place of the 03 correct? then all I do then is put 03 where the 09 was & I've switched the Green & White slots right?


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: PhantomWings on January 08, 2013, 10:37:02 PM

I think I'm starting to understand the code you gave PW. So all I do is (for example) If I want Link's Green color slot to be changed to say his White color then I just find that part of the code for Link & then put 09 in place of the 03 correct? then all I do then is put 03 where the 09 was & I've switched the Green & White slots right?

Yep, it sounds like you've got the hang of it. Good to hear that the code works as expected.


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 08, 2013, 10:58:28 PM
Uh... Haven't tested it yet :/
Wish I knew what I could do to put evey code I got in my .gct in a Notepad. That would make this easier.

Also I know this must sound stupid but... Are you the same Phantom Wings that made the File Patch Code or am I mistaken? Sorry. Just wondering :-P


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: Shun_One on January 10, 2013, 12:24:08 AM
Uh... Haven't tested it yet :/
Wish I knew what I could do to put evey code I got in my .gct in a Notepad. That would make this easier.

Mewtwo2000's GCT analyzer tool will help you do that. You can find it here (http://forums.kc-mm.com/index.php?topic=27587.0).


Title: Re: Will there ever be or is there a code that can change the team color slots?
Post by: SonicWolf on January 10, 2013, 12:58:55 AM
I need a tutorial for that (tried it & got lost in the program & messed up my .gct). Just a basic usage will do.