Kitty Corp Meow Mix Forums

Help & Tutorials => Programming Tutorials => Topic started by: libertyernie on July 08, 2010, 05:49:55 PM



Title: Using the Custom SSS code
Post by: libertyernie on July 08, 2010, 05:49:55 PM
I used Maestro's guide here (http://www.smashboards.com/showthread.php?t=257517&page=2) (on the mediafire link) as a base. I couldn't have done this without reading that first.

Custom SSS:
046B8F5C 7C802378
046B8F64 7C6300AE
040AF618 5460083C
040AF68C 38840002
040AF6AC 5463083C
040AF6C0 88030001
040AF6E8 3860FFFF
040AF59C 3860000C
060B91C8 00000018
BFA10014 7CDF3378
7CBE2B78 7C7D1B78
2D05FFFF 418A0014
006B929C 0000001F
066B99D8 0000001F
00010203 04050709
080A0B0C 0D0E0F10
11141516 1A191217
0618131D 1E1B1C00
006B92A4 0000000A
066B9A58 0000000A
1F202122 25242326
27280000 00000000
06407AAC 00000054
01010202 03030404
05050606 07070808
0909330A 0B0B0C0C
0D0D0E0E 130F1410
15111612 17131814
19151C16 1D171E18
1F19201A 211B221C
231D241E 251F2932
2A332B34 2C352D36
2F373038 3139323A
2E3BFFFF 00000000

(Note: I had 66 before where 54 is now, but I think it is supposed to be 54 in this case)

This is a code for the default SSS. What a useless code. But you can use it as a base for editing.

The red block controls the icons on the Brawl screen.
The blue block controls the icons on the Melee screen.
The yellow block controls the stages at a deeper level - you can swap icons between stages, and if you want to add icons for the WWR or one of the STGCUSTOM# stages you get with PW's code, you'll need to edit or add to this.

What I figured out is that the bytes in the red (00, 01, etc.) and blue (1F, 20, etc.) parts actually point to the two-byte pairs in the yellow part. So the 00 at the beginning of the red (Brawl stages) part points to the first two bytes in the yellow part, which are 0101 - Battlefield with Battlefield's icon. The 01 in the red part points to 0202, the 09 points to 330A (this is Bridge of Eldin), and so on.
You can change these pairs to make different stages have different icons/pictures, or make different icons/pictures load different stages. You can also add more stage/icon pairs after the FF and use 2A and above to point to those, but they won't be included on the random stage select.

If you don't change the yellow part up to and including the FFFF, you can use the values from the first column below in the red and blue parts. The second and third values are what you use if you do want to change the yellow part. Keep in mind that only the first 41 stages will be loaded by pressing "Random."
Note: I'm pretty sure the FFFF has to stay where it is.

Code:
Default Index - Stage Name - Level ID -Icon ID
00 Battlefield 01 01
01 Final Destination 02 02
02 Delfino Plaza 03 03
03 Luigi's Mansion 04 04
04 Mushroomy Kingdom 05 05
05 Mario Circuit 06 06
06 75 m 07 07
07 Rumble Falls 08 08
08 Pirate Ship 09 09
09 Bridge of Eldin 33 0A
0A Norfair 0B 0B
0B Frigate Orpheon 0C 0C
0C Yoshi's Island (B) 0D 0D
0D Halberd 0E 0E
0E Lylat Cruise 13 0F
0F Pokémon Stadium 2 14 10
10 Spear Pillar 15 11
11 Port Town Aero Dive 16 12
12 Summit 17 13
13 Flat Zone 2 18 14
14 Castle Siege 19 15
15 WarioWare, Inc. 1C 16
16 Distant Planet 1D 17
17 Skyworld 1E 18
18 Mario Bros. 1F 19
19 New Pork City 20 1A
1A Smashville 21 1B
1B Shadow Moses Island 22 1C
1C Green Hill Zone 23 1D
1D PictoChat 24 1E
1E Hanenbow 25 1F
1F Temple 29 32
20 Yoshi's Island (M) 2A 33
21 Jungle Japes 2B 34
22 Onett 2C 35
23 Green Greens 2D 36
24 Rainbow Cruise 2F 37
25 Corneria 30 38
26 Big Blue 31 39
27 Brinstar 32 3A
28 Pokémon Stadium 2E 3B
29 Menu -- 64
-- Blank -- 00
-- ConfigTest 26 --
-- Result 28 --
-- Homerun 34 --
-- Edit 35 --
-- Heal 36 --
-- OnlineTraining 37 --
-- TargetBreak 38 --

An example code:
Code:
Custom SSS:
046B8F5C 7C802378
046B8F64 7C6300AE
040AF618 5460083C
040AF68C 38840002
040AF6AC 5463083C
040AF6C0 88030001
040AF6E8 3860FFFF
040AF59C 3860000C
060B91C8 00000018
BFA10014 7CDF3378
7CBE2B78 7C7D1B78
2D05FFFF 418A0014
006B929C 00000020
066B99D8 00000020
00010203 04050709
080A0B0C 0D0E0F10
11141516 1A191217
0618131D 1E1B1C2A
006B92A4 0000000D
066B9A58 0000000D
1F202122 25242326
27282B2C 2D000000
06407AAC 00000062 <-- Should this be 5C?
01060202 03030404
05050601 07070808
0909330A 0B0B0C0C
0D0D0E0E 130F1410
15111612 17131814
19151C16 1D171E18
1F19201A 211B221C
231D241E 251F2932
2A332B34 2C352D36
2F373038 3139323A
2E3BFFFF 3764400A
41181C1A 00000000

*Battlefield and Mario Circuit have their icons switched
*A "Menu" icon is added to the Brawl screen; it loads the WWR
*Three icons are added to the Melee screen: blank (loads Bridge of Eldin), Summit (loads Skyworld) and New Pork City (loads WarioWare, Inc.)


Title: Re: Using the Custom SSS code
Post by: libertyernie on July 08, 2010, 05:53:01 PM
Reserved post for talking about PW's expansion code.


Title: Re: Using the Custom SSS code
Post by: Yoshiboshi3 on July 10, 2010, 11:09:53 PM
Massivly useful. Thank you so much. Could you link me to a similar guide regarding CSS order?