Ryztiq
Smash Hoo Hah
Here's a quick tutorial on how the alt stage codes work.
Start by looking for DEADBEEF BABEBEEF in the codeset, you’ll find it twice near the top and underneath each there’ll be a ton of coding, the first section below DEADBEEF BABEBEEF is for stage files, and the second one is for their module files (or RELs). (NOTE: If you cant find the DEADBEEF BABEBEEF, then search for * 45415254 01000000 instead, as it is right at the top of each section of the stage code.)
* DEADBEEF BABEBEEF
* 46000010 00000000
* 44000000 005A7CB0
* 66200033 00000000
* 45415254 01000000
* 00400019 00000000
Amount of Stages (33 = 51 stages since the code stores the number in hex)
First 4 letters of stage file name (45415254 = EART)
Amount of button combinations (01 = 1 combination, the next line is how the combination works)
Amount of Random stages to load (Order by letter, _A _B _C etc.)
Buttons to activate (0140 = L which means L must be held to load the combination)
Here's a site where you can find different button inputs for controllers in the correct format
File suffix loaded (19 stands for Z, so in the example above, pressing A+L (0140) would load _Z (19)
0 = _A 1 = _B 2 = _C 3 = _D 4 = _E 5 = _F 6 = _G 7 = _H 8 = _I 9 = _J A = _K B = _L C = _M D = _N E = _O
F = _P 10 = _Q 11 = _R 12 = _S 13 = _T 14 = _U 15 = _V 16 = _W 17 = _X 18 = _Y 19 = _Z
so lets say I wanted to have it so that a stage had 5 versions of the main file that would load randomly, but I also wanted to make it so that holding L will load the alt stage no matter what. The code would look like this (using FD as an example)
* 46494E41 01050000
* 00400019 00000000
Now, lets say I wanted to do the same thing but this time I wanted it so that I could load one alt stage by holding L, and another by holding A+L, it'd look like this.
* 46494E41 02050000
* 00400019 00000000
* 01400018 00000000
The first line had the 01 change to 02, which means there's two button combinations. A third line was added which is the second combination possible. Notice how I put 18 instead of 19, which means that the second combination loads STGFINAL_Y.pac instead of STGFINAL_Z.pac
Remember, you need to edt the line below * 44000000 005A7CB0 for each section of code so that it knows how many lines to read, if I were to add that button combination for final destination to both parts of the code, I'd need the line that says * 66200033 00000000 to say * 66200036 00000000 instead, because there's now 54 lines of code instead of 51.
The calculator program in windows has a nice programmer mode that can calculate hex and decimal back and forth, and HxD is good for finding out what the name of the stage in hex is.
Start by looking for DEADBEEF BABEBEEF in the codeset, you’ll find it twice near the top and underneath each there’ll be a ton of coding, the first section below DEADBEEF BABEBEEF is for stage files, and the second one is for their module files (or RELs). (NOTE: If you cant find the DEADBEEF BABEBEEF, then search for * 45415254 01000000 instead, as it is right at the top of each section of the stage code.)
* DEADBEEF BABEBEEF
* 46000010 00000000
* 44000000 005A7CB0
* 66200033 00000000
* 45415254 01000000
* 00400019 00000000
Amount of Stages (33 = 51 stages since the code stores the number in hex)
First 4 letters of stage file name (45415254 = EART)
Amount of button combinations (01 = 1 combination, the next line is how the combination works)
Amount of Random stages to load (Order by letter, _A _B _C etc.)
Buttons to activate (0140 = L which means L must be held to load the combination)
Here's a site where you can find different button inputs for controllers in the correct format
File suffix loaded (19 stands for Z, so in the example above, pressing A+L (0140) would load _Z (19)
0 = _A 1 = _B 2 = _C 3 = _D 4 = _E 5 = _F 6 = _G 7 = _H 8 = _I 9 = _J A = _K B = _L C = _M D = _N E = _O
F = _P 10 = _Q 11 = _R 12 = _S 13 = _T 14 = _U 15 = _V 16 = _W 17 = _X 18 = _Y 19 = _Z
so lets say I wanted to have it so that a stage had 5 versions of the main file that would load randomly, but I also wanted to make it so that holding L will load the alt stage no matter what. The code would look like this (using FD as an example)
* 46494E41 01050000
* 00400019 00000000
Now, lets say I wanted to do the same thing but this time I wanted it so that I could load one alt stage by holding L, and another by holding A+L, it'd look like this.
* 46494E41 02050000
* 00400019 00000000
* 01400018 00000000
The first line had the 01 change to 02, which means there's two button combinations. A third line was added which is the second combination possible. Notice how I put 18 instead of 19, which means that the second combination loads STGFINAL_Y.pac instead of STGFINAL_Z.pac
Remember, you need to edt the line below * 44000000 005A7CB0 for each section of code so that it knows how many lines to read, if I were to add that button combination for final destination to both parts of the code, I'd need the line that says * 66200033 00000000 to say * 66200036 00000000 instead, because there's now 54 lines of code instead of 51.
The calculator program in windows has a nice programmer mode that can calculate hex and decimal back and forth, and HxD is good for finding out what the name of the stage in hex is.
Last edited: