Mario Kart Wii Gecko Codes, Cheats, & Hacks
Gain/Lose XX Amount of VR/BR Every Race [TheNinjaKingOW] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Online Non-Item (https://mariokartwii.com/forumdisplay.php?fid=52)
+--- Thread: Gain/Lose XX Amount of VR/BR Every Race [TheNinjaKingOW] (/showthread.php?tid=1970)



Gain/Lose XX Amount of VR/BR Every Race [TheNinjaKingOW] - Zeraora - 06-17-2022

This code (as the name implies) sets the amount of VR/BR you gain/lose every race to a custom value.

NTSC-U:
C2528e00 00000002
3880XXXX 7C002214
60000000 00000000

PAL:
C252D274 00000002
3880XXXX 7C002214
60000000 00000000

NTSC-J:
C252CBF4 00000002
3880XXXX 7C002214
60000000 00000000

NTSC-K:
C251B2CC 00000002
3880XXXX 7C002214
60000000 00000000

XXXX = The amount you want


RE: Gain/Lose XX Amount of VR/BR Every Race [TheNinjaKingOW] - Unnamed - 06-17-2022

I tested this code, and it works different than you wish.

It forces the VR/BR that you will have after the VR/BR change, so if you e.g. set it to 0xA, you will have 10 VR/BR after the Change.

But I know this adress aswell, we have the instruction "add r0, r0, r4" here. I think r0 helds the VR/BR of each player and r4 the VR/BR Change. The final VR/BR of the player is stored back to r0.


I would recommend to modify r4, that will maybe have the effect you are looking for, like this:

PAL
C252D274 00000002
3880XXXX 7C002214
60000000 00000000

Source:
li r4, XXXX # Load VR/BR Change into r4
add r0, r0, r4 # Default Instruction, add the Change to the VR/BR of the player and store back in r0


Maybe this is the effect you are looking for.


RE: Gain/Lose XX Amount of VR/BR Every Race [TheNinjaKingOW] - Zeraora - 06-17-2022

(06-17-2022, 12:25 PM)Unnamed Wrote: I tested this code, and it works different than you wish.

It forces the VR/BR that you will have after the VR/BR change, so if you e.g. set it to 0xA, you will have 10 VR/BR after the Change.

But I know this adress aswell, we have the instruction "add r0, r0, r4" here. I think r0 helds the VR/BR of each player and r4 the VR/BR Change. The final VR/BR of the player is stored back to r0.


I would recommend to modify r4, that will maybe have the effect you are looking for, like this:

PAL
C252D274 00000002
3880XXXX 7C002214
60000000 00000000

Source:
li r4, XXXX # Load VR/BR Change into r4
add r0, r0, r4 # Default Instruction, add the Change to the VR/BR of the player and store back in r0


Maybe this is the effect you are looking for.

Yes, I kinda completely forgot about that part LOL. I was using this code originally in a ranked play project and when I got a bit slowed down on progress, I released this code but, forgot I needed that part of it.