Mario Kart Wii Gecko Codes, Cheats, & Hacks
Full Input Range (GCN controller) [stebler] - 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: Full Input Range (GCN controller) [stebler] (/showthread.php?tid=1719)



Full Input Range (GCN controller) [stebler] - stebler - 01-04-2021

Full Input Range (GCN controller) [stebler]

You may want to pair this code with the Change Saved Controller code set to wii wheel.

Code credits: _tZ for the clamping function address.

PAL:
061ae678 00000044
38600001 2c1f0000
40800008 3860ffff
7c9f19d6 7c002000
40800008 7fe301d6
38600001 2c1e0000
40800008 3860ffff
7c9e19d6 7c002000
40800008 7fc301d6
4800001c 00000000

NTSC-U:
061ae5d8 00000044
38600001 2c1f0000
40800008 3860ffff
7c9f19d6 7c002000
40800008 7fe301d6
38600001 2c1e0000
40800008 3860ffff
7c9e19d6 7c002000
40800008 7fc301d6
4800001c 00000000

NTSC-J:
061ae598 00000044
38600001 2c1f0000
40800008 3860ffff
7c9f19d6 7c002000
40800008 7fe301d6
38600001 2c1e0000
40800008 3860ffff
7c9e19d6 7c002000
40800008 7fc301d6
4800001c 00000000

NTSC-K:
061ae9d4 00000044
38600001 2c1f0000
40800008 3860ffff
7c9f19d6 7c002000
40800008 7fe301d6
38600001 2c1e0000
40800008 3860ffff
7c9e19d6 7c002000
40800008 7fc301d6
4800001c 00000000

Source code:
Code:
# replace at 801ae678 (PAL)
# replace at 801ae5d8 (NTSC-U)
# replace at 801ae598 (NTSC-J)
# replace at 801ae9d4 (NTSC-K)

li r3, 1
cmpwi r31, 0
bge x_positive
li r3, -1
x_positive:
mullw r4, r31, r3
cmpw r0, r4
bge x_in_square
mullw r31, r3, r0
x_in_square:

li r3, 1
cmpwi r30, 0
bge y_positive
li r3, -1
y_positive:
mullw r4, r30, r3
cmpw r0, r4
bge y_in_square
mullw r30, r3, r0
y_in_square:

b 0x1c



RE: Full Input Range (GCN controller) [stebler] - JoshuaMK - 01-07-2021

Interesting code


RE: Full Input Range (GCN controller) [stebler] - BlueStreak - 02-25-2021

For whatever reason the two codes don't seem to do anything for me. I'm using the NTSC-U versions on Dolphin.

Edit: Nevermind it works, my small brain was using the PAL codes.