Controller Based Activator
#1
Controller Activator

This code will allow you to execute any code based on what controller is being used.

X Values:
* Wiimote Only = 1
* Nunchuck = 2
* Classic Controller = 3
* Gamecube = 4

[NTSC-U]

Code:
(Player 1)
C0000000 0000000F
3C608035 8963C204
2C0B0000 40820050
8963C205 2C0B0000
40820044 3D408034
894A14BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A0 4E800020
200002A0 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 2)
C0000000 0000000F
3C608035 8963C20C
2C0B0000 40820050
8963C20D 2C0B0000
40820044 3D408034
894A14BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A4 4E800020
200002A4 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 3)
C0000000 0000000F
3C608035 8963C214
2C0B0000 40820050
8963C215 2C0B0000
40820044 3D408034
894A14BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A8 4E800020
200002A8 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 4)
C0000000 0000000F
3C608035 8963C21C
2C0B0000 40820050
8963C21D 2C0B0000
40820044 3D408034
894A14BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902AC 4E800020
200002AC 0000000X
[INSERT CODE HERE]
E0000000 80008000

[PAL]

Code:
(Player 1)
C0000000 0000000F
3C608035 89630584
2C0B0000 40820050
89630585 2C0B0000
40820044 3D408034
894A583C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A0 4E800020
200002A0 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 2)
C0000000 0000000F
3C608035 8963058C
2C0B0000 40820050
8963058D 2C0B0000
40820044 3D408034
894A583C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A4 4E800020
200002A4 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 3)
C0000000 0000000F
3C608035 89630594
2C0B0000 40820050
89630595 2C0B0000
40820044 3D408034
894A583C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A8 4E800020
200002A8 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 4)
C0000000 0000000F
3C608035 8963059C
2C0B0000 40820050
8963059D 2C0B0000
40820044 3D408034
894A583C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902AC 4E800020
200002AC 0000000X
[INSERT CODE HERE]
E0000000 80008000

[NTSC-J]

Code:
(Player 1)
C0000000 0000000F
3C608035 8963FF04
2C0B0000 40820050
8963FF05 2C0B0000
40820044 3D408034
894A51BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A0 4E800020
200002A0 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 2)
C0000000 0000000F
3C608035 8963FF0C
2C0B0000 40820050
8963FF0D 2C0B0000
40820044 3D408034
894A51BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A4 4E800020
200002A4 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 3)
C0000000 0000000F
3C608035 8963FF14
2C0B0000 40820050
8963FF15 2C0B0000
40820044 3D408034
894A51BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A8 4E800020
200002A8 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 4)
C0000000 0000000F
3C608035 8963FF1C
2C0B0000 40820050
8963FF1D 2C0B0000
40820044 3D408034
894A51BC 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902AC 4E800020
200002AC 0000000X
[INSERT CODE HERE]
E0000000 80008000

[NTSC-K]

Code:
(Player 1)
C0000000 0000000F
3C608034 8963E584
2C0B0000 40820050
8963E585 2C0B0000
40820044 3D408033
894A383C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A0 4E800020
200002A0 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 2)
C0000000 0000000F
3C608034 8963E58C
2C0B0000 40820050
8963E58D 2C0B0000
40820044 3D408033
894A383C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A4 4E800020
200002A4 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 3)
C0000000 0000000F
3C608034 8963E594
2C0B0000 40820050
8963E595 2C0B0000
40820044 3D408033
894A383C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902A8 4E800020
200002A8 0000000X
[INSERT CODE HERE]
E0000000 80008000

(Player 4)
C0000000 0000000F
3C608034 8963E59C
2C0B0000 40820050
8963E59D 2C0B0000
40820044 3D408033
894A383C 2C0A0000
4182001C 2C0A0001
4182001C 2C0A0002
4182001C 39400005
48000020 39400001
48000018 39400002
48000010 39400003
48000008 39400004
39600000 3D208000
914902AC 4E800020
200002AC 0000000X
[INSERT CODE HERE]
E0000000 80008000

Code Creator: Brawlbox
Reply
#2
Very useful code, nice work!
Reply
#3
Cool code :O
Is the final li r11, 0 needed btw? Doesn't seem like it'd do anything to me
Reply
#4
The 60000000 00000000 below the line with the blr doesn’t need to be there since this is a C0 code and NTSC-U should go above Pal.
"Code Creator: Brawlbox" should go at the bottom also.
Reply
#5
(08-20-2020, 01:15 PM)1superchip Wrote: The 60000000 00000000 below the line with the blr doesn’t need to be there since this is a C0 code and NTSC-U should go above Pal.
"Code Creator: Brawlbox" should go at the bottom also.

I'm guessing he's using CodeWrite which doesn't compile C0 to exact gecko spec. Another reason to use JoshuaMK's upgraded version of pyiiasmh Wink

Regarding order of regions, really doesn't matter tbh. And having 'Code creator' at the bottom is something I always recommend even though it is redundant because back in the olden days, noobs would take codes and lie about creating them.
Reply
#6
Yeah, pyiiasmh 3 is the best gecko code compiler out there right now in literally every way, not to mention the plethora of features it has the the other options don't
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply
#7
Good to know.
[Image: send7.PNG]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)