The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Mario Kart Wii Gecko Codes, Cheats, & Hacks
Force Respawn [Anarion] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Offline Non-Item (https://mariokartwii.com/forumdisplay.php?fid=53)
+--- Thread: Force Respawn [Anarion] (/showthread.php?tid=634)

Pages: 1 2


Force Respawn [Anarion] - Vega - 06-09-2018

Force Respawn [Anarion]

Press desired button activator(s) at any time to force a respawn. There are two configurations to this code. For offline use, works in all modes.

1st config: During Offline use, it will effect everyone
2nd config: During Offline use, you choose which Slot will be effected (fyi Slot Value 0 = You aka Player 1)

rrrr Values (for PAL versions only):
8034 = Wheel, Chuck, or Classic
8035 = GCN

XXXX = Standard Controller Address Value
ZZZZ = Standard Button Value

s = Slot Value (2nd config only)
0 = Player 1
1 = CPU 1
.. ..
B = CPU 11 (final CPU)

1st config:
NTSC-U
C2572104 00000006
3D608034 A14BXXXX
280AZZZZ 40A20018
819C0000 818C0004
816C0014 656B0001
916C0014 7F83E378
60000000 00000000

PAL
C2578968 00000006
3D60rrrr A14BXXXX
280AZZZZ 40A20018
819C0000 818C0004
816C0014 656B0001
916C0014 7F83E378
60000000 00000000

NTSC-J
C25782E8 00000006
3D608034 A14BXXXX
280AZZZZ 40A20018
819C0000 818C0004
816C0014 656B0001
916C0014 7F83E378
60000000 00000000

NTSC-K
C25669C0 00000006
3D608033 A14BXXXX
280AZZZZ 40A20018
819C0000 818C0004
816C0014 656B0001
916C0014 7F83E378
60000000 00000000

2nd config:
NTSC-U
C2572104 00000008
819C0000 818C0000
898C0010 2C0C000s
40A20028 3D608034
A14BXXXX 280AZZZZ
40A20018 819C0000
818C0004 816C0014
656B0001 916C0014
7F83E378 00000000

PAL
C2578968 00000008
819C0000 818C0000
898C0010 2C0C000s
40A20028 3D60rrrr
A14BXXXX 280AZZZZ
40A20018 819C0000
818C0004 816C0014
656B0001 916C0014
7F83E378 00000000

NTSC-J
C25782E8 00000008
819C0000 818C0000
898C0010 2C0C000s
40A20028 3D608034
A14BXXXX 280AZZZZ
40A20018 819C0000
818C0004 816C0014
656B0001 916C0014
7F83E378 00000000

NTSC-K
C25669C0 00000008
819C0000 818C0000
898C0010 2C0C000s
40A20028 3D608033
A14BXXXX 280AZZZZ
40A20018 819C0000
818C0004 816C0014
656B0001 916C0014
7F83E378 00000000

Code creator: Anarion
Code credits: Vega (Better Hook Address, Added Slot Selection ability, Changed cmpwi to cmplwi for Button Activator to allow 0x8000+ Button Values, removed arbitrary byte write and replaced with proper bit flipping). Stebler (Slot Level Pointing portion of source)


---1st config source
#NTSC-U = 0x80572104
#PAL 80578968
#NTSC-J = 0x805782E8
#NTSC-K = 0x805669C0

#r28 = alt slot0playerpointer

#Check controller
lis r11, 0x8035 #PAL GCN Y button used for source compilation, adjust to your preference
lhz r10, 0xFFFF8200 (r11)
cmplwi r10, 0x0880
bne+ original_instruction

lwz r12, 0 (r28)
lwz r12, 0x4 (r12)
lwz r11, 0x0014 (r12)
oris r11, r11, 0x0001
stw r11, 0x0014 (r12)

original_instruction:
mr r3, r28

----2nd config source

#NTSC-U = 0x80572104
#PAL 80578968
#NTSC-J = 0x805782E8
#NTSC-K = 0x805669C0

#r28 = alt slot0playerpointer

#Check Slot
lwz r12, 0 (r28)
lwz r12, 0 (r12)
lbz r12, 0x10 (r12)
cmpwi r12, 0 #Slot 0 used for source compilation, adjust to your preference
bne+ original_instruction

#Check controller
lis r11, 0x8035 #PAL GCN Y button used for source compilation, adjust to your preference
lhz r10, 0xFFFF8200 (r11)
cmplwi r10, 0x0880
bne+ original_instruction

lwz r12, 0 (r28)
lwz r12, 0x4 (r12)
lwz r11, 0x0014 (r12)
oris r11, r11, 0x0001
stw r11, 0x0014 (r12)

original_instruction:
mr r3, r28


RE: Force Respawn [Anarion] - artmar852 - 12-20-2022

hey, it's kinda late for saying that lol, but is there a way of using it in VS offline mode and the code only affects the player that used it? not all the racers and CPUs?respawning only the user not everyone.


RE: Force Respawn [Anarion] - Vega - 12-20-2022

(12-20-2022, 12:45 PM)artmar852 Wrote: hey, it's kinda late for saying that lol, but is there a way of using it in VS offline mode and the code only affects the player that used it? not all the racers and CPUs?respawning only the user not everyone.

Added in Slot Selection. Code now comes in two different configurations. 1st config is the typical type (effects everyone offline). 2nd config allows you to choose which Slot the Code effects.


RE: Force Respawn [Anarion] - artmar852 - 12-20-2022

Thank you so much


RE: Force Respawn [Anarion] - artmar852 - 12-21-2022

Hello again, I wanna say that the code’s goal works very nice and I appreciate your work and Anarion’s, but I also had some issues that I wanted to report. I realized that the game freezes when you activate the code at the exact same time you bump into something(wall or another racer), that’s something I noticed, but I also experienced some random freezes when activating the code that I couldn’t know what happened exactly, I don’t know if it can be fixed, but I wanted to give you my feedback Wink and see if something can be done.


RE: Force Respawn [Anarion] - Vega - 12-21-2022

Thank you for the kind words. Yes, the source instructions I've added for Slot Select-ability were "hacky". I'll see if I can fix it, but for now, other things are on my schedule.


RE: Force Respawn [Anarion] - artmar852 - 12-21-2022

Cool, thanks for the attention, I'll wait patiently Smile


RE: Force Respawn [Anarion] - Vega - 12-22-2022

Try it now.


RE: Force Respawn [Anarion] - artmar852 - 12-23-2022

Hey, thank you, I've played an entire hour using and testing the code and I didn't experience any freezes or crashes or bugs, your work is awesome, thanks Smile


RE: Force Respawn [Anarion] - Katos - 05-24-2024

Is there a way to reduce the time it takes to respawn ?