Mario Kart Wii [RMCE01]

Started by dexter0, July 30, 2008, 08:49:15 PM

Previous topic - Next topic

RagnarokSam

Hey guys, whats going on? I just first want to say that I'm new to Ocarina and just found out about it about two days ago when i decided to google search "Mario Kart hacking" after playing an online race against someone using infinite banana peels, and that if it wasn't for all the online hacking going on (as troublesome as it may be), i would have never known about Ocarina or USBGecko (Which i now have an interest in buying once i have some more money).

Anyway, on to the subject i wanted to talk about...I noticed a few people on this thread saying that they were having problems mapping more than 3 button modifiers at a time for the Gamecube controller, and claiming that mapping any more than that is ineffective. Well I tested this and found that this is definitely NOT the case, as I was able to map 8 button modifiers at once successfully. I'm guessing that perhaps where others went wrong might have been a case of adding hex values incorrectly (i.e. thinking 8 + 2 = 10 instead of 8 + 2 = A), but that's just a guess.

On the same note, i also saw people requesting a "Have any item / Scroll through items" code, and found a great alternative through button mapping. By mapping every direction on the D-pad to a different item, you can create a sort of "scroll wheel" of up to eight items to choose from during gameplay, by simply rotating your thumb around the D-pad until you get the item you want.

I have posted a video of this in action here:
http://www.youtube.com/watch?v=A1wecPS-EIs&fmt=18

I'm hoping that people seeing this will clear up some confusion about the button activators and perhaps slow down the requests for "Scroll through item" codes you guys seem to get constantly.

Now, when i put together the activators with dexter0's codes, i was able to put enough together to be able to use the D-pad activators with or without the A button being pressed, which i found extremely convenient and works great......that is at least for the 1 Player version GCT i created. I attempted to assemble a 2 Player version of the same GCT file, but found that because it was twice as big, Ocarina was unable to load it, and was forced to take out the optional "w/o A button"  support for it to make it load. So, because of this bump i ran into, i have three questions that perhaps you guys might be able to answer for me, or at least help with...

1. Would USB Gecko be able to support this large of a cheat?
2. Is it possible to modify this same code to something smaller that Ocarina can handle without losing any of the functionality?
3. Can Ocarina be made to accept such large code files? (I figure I'd have to ask Link about this one.)

For reference, here is the 2P version i assembled together that i'm having issues with, it's a big one!:

[all instances of the "Always Have Item *Works anywhere" code within this code is the work of [dexter0]. (it's actually the majority of it...)]

38343E80 0000018A
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 00000011
14000090 00000003
E0000000 80008000
38343E80 00000182
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 0000000B
14000090 00000001
E0000000 80008000
38343E80 00000186
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 00000012
14000090 00000003
E0000000 80008000
38343E80 00000184
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 0000000F
14000090 00000001
E0000000 80008000
38343E80 00000185
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 00000008
14000090 00000001
E0000000 80008000
38343E80 00000181
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 00000009
14000090 00000001
E0000000 80008000
38343E80 00000189
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 00000007
14000090 00000001
E0000000 80008000
38343E80 00000980
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
1400008C 0000000A
14000090 00000001
E0000000 80008000
38343E8C 0000018A
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 00000011
14000090 00000003
E0000000 80008000
38343E8C 00000182
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 0000000B
14000090 00000001
E0000000 80008000
38343E8C 00000186
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 00000012
14000090 00000003
E0000000 80008000
38343E8C 00000184
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 0000000F
14000090 00000001
E0000000 80008000
38343E8C 00000185
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 00000008
14000090 00000001
E0000000 80008000
38343E8C 00000181
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 00000009
14000090 00000001
E0000000 80008000
38343E8C 00000189
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 00000007
14000090 00000001
E0000000 80008000
38343E8C 00000980
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 0000000A
14000090 00000001
E0000000 80008000

smk

Quote from: RagnarokSam;83631. Would USB Gecko be able to support this large of a cheat?
2. Is it possible to modify this same code to something smaller that Ocarina can handle without losing any of the functionality?
3. Can Ocarina be made to accept such large code files? (I figure I'd have to ask Link about this one.)

1. No. The USB Gecko is not the code handler, WiiRD is and Ocarina is based off of WiiRD's code handler. The most both can handle is about 256 lines, so, you may want to count how many lines a code has before using it.

2. Yes, it should be, but you'd have to consult a hacker about it and see what they had to say.

3. No, it cannot as far as I know.

RagnarokSam

#227
Quote from: smk;83861. No. The USB Gecko is not the code handler, WiiRD is and Ocarina is based off of WiiRD's code handler. The most both can handle is about 256 lines, so, you may want to count how many lines a code has before using it.

2. Yes, it should be, but you'd have to consult a hacker about it and see what they had to say.

3. No, it cannot as far as I know.

Thanks for the clear-up, i actually meant to say WiiRD instead of USB Gecko, i don't know why i wasn't being specific.

Odd, the code I posted is only 168 Lines long, and adding in the Write Char Offset that's needed adds 3, so it only ends up being 171 lines....nowhere near 256....hmmmm :confused

numonezeldafan

RagnarokSam, I sent you a PM to help you man.  (since I cannot post wifi code on this site) >.>

smk

Quote from: RagnarokSam;8415Odd, the code I posted is only 168 Lines long, and adding in the Write Char Offset that's needed adds 3, so it only ends up being 171 lines....nowhere near 256....hmmmm :confused

In combination though with P1s code for items, it's longer than 256. If alone the code still doesn't go through (because of too many lines), I don't know what the problem could be. Your best bet is lowering the amount of lines of the code to probably, 10. Also, 256 was an estimation based off what Link said. So, it's not a completely accurate amount of lines.

RagnarokSam

Quote from: numonezeldafan;8422RagnarokSam, I sent you a PM to help you man.  (since I cannot post wifi code on this site) >.>

and i have sent a reply... :beer

RagnarokSam

Quote from: smk;8432In combination though with P1s code for items, it's longer than 256. If alone the code still doesn't go through (because of too many lines), I don't know what the problem could be. Your best bet is lowering the amount of lines of the code to probably, 10. Also, 256 was an estimation based off what Link said. So, it's not a completely accurate amount of lines.

the code i posted includes the activators for both P1 and P2 ports, what i meant by having separate versions was because using this code in 1P modes meant having to use controller port 2, and i had created a version specifically for 1P modes that uses the first controller port

short version = this code supports activators for both player 1 and player 2 during 2 player modes, it doesn't require an additional code for player 1, so this shouldn't be the problem.

either way, to make the code more condensed there would have to be a way that i wouldn't have to repeat the "Always Have Item" code for every button activator/item combo i want use, as doing this takes up about 85% of the code, but as you've already said, this is where i need to ask the hackers for their input, and see whats possible (if its possible).

I might do some testing later to see exactly how many lines of code exactly can be handled at once, which could be helpful in the future. :)

numonezeldafan

The seperate codes i emailed you should work for you dude!! ;)

WiiMiiUnI

256 lines of TOTAL code can be 'injected' into the game at boot, or say, 25 codes x 10 lines?  i use a bunch of codes, i have 5 activators for P1 and 5 for P2.  9x5 + 8x5 = 85 plus a few other codes.  i dont use anywhere near 256, but if i had 8 activators i would lol.

try putting each activator for each item in a seperate selectable code... the wii cheat code manager by link is excellent.  i have compiled a nice txt file with all of the available codes and i use each seperately.

*brodo17, pleaaaase do some reading and you will figure out how to get it to work online.  this thread has tons of info, read it top to bottom.

*and kane301 i assume you're using the wii cheat code manager by link.  make sure when you 'export to gct' you have rmce01 as the game id (top left).  it should now work, provided the codes are right.

carbonhchi

#234
i'm having some trouble getting the gamecube controller button activator to work. the code i'm using is the one provided in one of the posts in this thread, and it looks like this:

Press Y+A on GC Pad For Item
30343E7F 00000009
48000000 809BDAC0
DE000000 80008180
4A100000 FFFF9D3C
30000220 00000014
14000220 000000XX
14000224 0000000Y
E0000000 80008000

however, using the key given below:
Quote from: Volderbeek;3526[Button Values]:

(add together for pressed-at-the-same-time effect)

GCN Wii Classic
L 0001 L 0001 U+ 0001
R 0002 R 0002 L+ 0002
D 0004 D 0004 Zr 0004
U 0008 U 0008 X  0008
Z 0010 + 0010 A  0010
R 0020 2 0100 Y  0020
L 0040 1 0200 B  0040
A 0100 B 0400 Zl 0080
B 0200 A 0800 R  0200
X 0400 - 1000 +  0400
Y 0800 Z 2000 -  1000
S 1000 C 4000 L  2000
    HOME 8000 D+ 4000
R+ 8000

this combination should be up + left, and where there should be an 8 for the x value, there was a 0. so i tested out the base code i found, and it didn't work, as expected. then i changed the 0 to an 8 and used the key from volderbeek to make it 0900 for Y+A, and it still won't work. now i'm using the same code for the wiimote given by the same person and i can get them all to work, no problem.
are there any answers i haven't been able to spot in this thread? i've looked up and down all over D:

*also can't get classic to work, but we're still looking into that one.
just your average dumbphuck. apparently.

Volderbeek

Quote from: carbonhchi;8540are there any answers i haven't been able to spot in this thread? i've looked up and down all over D:

Yes, right here.

Volderbeek

Quote from: RagnarokSam;8441either way, to make the code more condensed there would have to be a way that i wouldn't have to repeat the "Always Have Item" code for every button activator/item combo i want use, as doing this takes up about 85% of the code, but as you've already said, this is where i need to ask the hackers for their input, and see whats possible (if its possible).

I'm not going to make this code myself and test it so I'm not 100% sure it'll work, but this is what you can try:

1. Change the first digit on all activators from 3 to 2.

2. Remove this from all but the first section:

48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180


3. In the first section with the preceding still intact, move the activator down so it looks like this:

48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
4A100000 FFFFFDB8
DE000000 80008180
[B]28343E80 0000018A[/B]
1400008C 00000011
14000090 00000003


4. Change all except the last line of these:

E0000000 80008000

into this:

E2000001 00000000

5. Let me know if this works for you. :)

Volderbeek

Quote from: carbonhchi;8540*also can't get classic to work, but we're still looking into that one.

Yeah, I didn't actually test the Classic addresses. I just assumed they'd be the same. I'll fix it eventually.

carbonhchi

Quote from: Volderbeek;8760Yes, right here.

that's the key i was using though D: when i talked about 0 and 8, that's what i was referring to...
just your average dumbphuck. apparently.

tylerlee823

#239
I made an 8 button activator code (using Dexter0's codes of course). It's pretty much like RagnarokSam's code, only for the Wii Wheel. You have to be holding the 2 button (the gas) to get the item. But I'm not going to do a wiimote one because it seems to hard to have to try to activate the code.


30341460 00000101
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000109
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000108
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000110
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000102
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000106
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000104
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000
30341460 00000105
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1400008C 000000XX
14000090 0000000Y
E0000000 80008000


As you can see I still kept the XX and Y Values in the codes since there are tons of possibilites for it.

The list of activations go like this

1st=Left
2nd=Left+Up
3rd=Up
4th=Up+Right
5th=Right
6th=Right+Down
7th=Down
8th=Down+Left

Of course these are on the D-pad. It has been tested by me and it works!