Mario Kart Wii [RMCP01]

Started by schmake, July 26, 2008, 02:40:21 AM

Previous topic - Next topic

schmake

I would like to thank dexter0 USA codes for this great game.  I used that as the starting point to find this code.

I've connected to WFC and it didn't work, so no cheating online :)

NEW
Had a play around again with Mario Kart Wii, made this code as I was sick of having the same item all the time, this way its sort of like having your own instant box whenever you want.  It doesn't allow for the tiple items (bananas, red and green shells)
It's set up to use A+Y at the same time on the GCN controller.

I've also got a Time Trial item always have, but not sure about people using it to set fast times and then post to WFC

[Grand Prix - Cycle Through Items]
* 28348200 00000980
* CC000000 00000000
* 48000000 809C22B0
* DE000000 80008180
* 4A100000 FFFF9F5C
* 92210000 00000000
* 86000000 00000001
* 94210000 00000000
* 34000000 0000000F
* 14000000 00000000
* 14000004 00000001
* E0000000 80008000

[Always Have Item]
* 48000000 809C22B0
* DE000000 80008180
* 4A100000 FFFF9F5C
* 30000000 00000014
* 14000000 000000XX
* 14000004 0000000Y
* E0000000 80008000

[Always Have Item - Time Trial Ghost]
  04003180 00000000
  48000000 809C1904
  DE000000 80008180
  4A100000 FFFFFD90
  30000000 00000005
  14000000 000000XX
  14000004 000000FF
  E0000000 80008000

[Always Have Item - Time Trial Solo]
  04003180 00000000
  48000000 809C1904
  DE000000 80008180
  4A100000 FFFFFFD8
  30000000 00000005
  14000000 000000XX
  14000004 000000FF
  E0000000 80008000

**Replace XX with values listed below


Y is always one unless otherwise stated

XX Codes

14 = Nothing, Y = 0
12 = Triple Bananas, Y = 3
11 = Triple Red Shells, Y = 3
10 = Triple Green Shells, Y = 3
0F = Bullet Bill
0E = Bad Lightning
0D = POW
0C = Blooper
0B = Mega Shroom
0A = Gold Shroom
09 = Star Power
08 = Lightning
07 = Blue shell
06 = Bomb
05 = Triple Mushrooms, Y = 3
04 = Mushroom
03 = Fake Box
02 = Banana
01 = Red shell
00 = Green Shell

dexter0

#1
The only true way to test for online incompatibility with this code is to get in a 12 man race as the 1st player (meaning you have to start in 1st place).  If the code still does not work then it is online safe.  Then again it does not really matter since your chances of being 1st in a 12 man race are 1/144.

James0x57

...why is that the only real reason to test that?


memorris

schmake
Thanks for this i have been trying to get a code for ages with no Luke.
I've opened up the game now for the kids to play with all the cars,bikes and all the characters  They say thanks two....Thanks schmake..:)

dexter0

@James
I have not check out this code in depth but since it is based on my code I can explain a little.  The idea behind the pointer schmake is using is that it points to the last secondary kart object in the game's stack (which can hold 12 at most).  Since all single player GP and VS races always have 12 racers, all you need to do is subtract 0x248*0xB from the pointer to be right back at player 1's object address. (You are always P1 in all single player races).

This method works great for single player but not so great online since you usually don't have 12 players.  Furthermore, even if you did you would still need to be p1 for the code to work.  This of course assumes that the pointer you are using still works on WiFi.  When I hacked my item code I found 2 pointers that I could use.  Both of them pointed to the end of the secondary kart object stack offline but only one worked online.  I'm sure you can guess which one I choose.  But as I pointed out above, it does not matter since your chances of meeting the requirements needed to use the code online are 1/144.

@Schmake
To add a button activator you need to find the address the game uses to store what button is pressed.  Use the button value list posted somewhere around here and search for those values as you hold down the button who's value you are searching for.

James0x57

Ah, I see. Thanks for the explanation mate. =D


memorris

dexter0 and James0x57 any info on how you two searched for the cheats you did for the usa version..

schmake  you two but pal version please..
any info which will help please thank you in advance...

dexter0

What kind of cheat are you trying to make?

memorris

like the one by Cross1955 for the ntsc-jp mario kart
Unlock all character, machine, course and mirror mode
or
No Laps (Finish right away) by James0x57  
I have tryed to conver them but no luke..

schmake

Quote from: memorris;311like the one by Cross1955 for the ntsc-jp mario kart
Unlock all character, machine, course and mirror mode
or
No Laps (Finish right away) by James0x57  
I have tryed to conver them but no luke..

I haven't looked at these yet, but I might try to find the unlock all code.
See if the new cycle through items code works for you, my first attempt at using registers

pdarkness

Quote from: schmake;83I've also got a Time Trial item always have, but not sure about people using it to set fast times and then post to WFC


Huh?? There are posts here that have codes for MK Time Trial for NTSC, why not PAL??

farjo08

Quote from: pdarkness;1556Huh?? There are posts here that have codes for MK Time Trial for NTSC, why not PAL??

Actually the NTSC code for Time Trials doesn't appear to be working... wish it did though.

pdarkness

I see. The online codes will spread wide and far in a matter of days, so the bizzare forum rules here (hacking, piracy is ok....but online codes, are you mad!?!?!??!) will have no effect. But I definitely want to thank everyone involved in this project, I'm always amazed at the homebrew/hacking talent working on the Wii scene. You have all made my Wii experience so much better!! It makes me wish I did computer programming at uni instead of what I chose!!

schmake

Quote from: pdarkness;1562I see. The online codes will spread wide and far in a matter of days, so the bizzare forum rules here (hacking, piracy is ok....but online codes, are you mad!?!?!??!) will have no effect.

Well you are correct about spreading on WFC, I just finished a race using my no time code for time trial on GBA Shy Guy Beach...  there are already 3 records up on the Worldwide Top Ten that are less a second.  However if it is limited to people with a Gecko USB who find the codes themselves at least the number will remain relatively lower.

Veritech Fox

I don't mind if people hack Time Trails (that much), but Imagen if someone was to post always have bullet bill code somewhere? = Wifi over.