XGIII Extreme G Racing (GCN/WIIRD/PAL)

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

Post Reply
Ralf@gc-forever
Posts: 3842
Joined: Sun Mar 16, 2014 9:31 am

XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Wed Apr 23, 2014 9:18 am

XGIII Extreme G Racing [G3EP51]

Code: Select all


16:9 Aspect Ratio (Widescreen) [Ralf]
040840A8 380001C0
0408413C C04D9AF0
0414FC50 3FE38E39

Unlock All Tracks [Ralf]
0412DFC8 00000001

Unlock All Characters [Ralf]
0412FF94 00000001

Enable Extreme G Mode [Ralf]
040297D4 39800013
0405DBD4 38000013

Pl1: Infinite Money [Ralf]
041135A4 0007A120

PL1: All Weapons [Ralf]
001135B0 000B0001

PL1: Infinite Ammo [Ralf]
82010000 00117A9D
86200000 00000001
84010000 00117A9D

PL1: Infinite Shield & Turbo [Ralf]
82010000 00117A9D
86200000 00000002
84010000 00117A9D

PL1: Always Win Career Mode Races [Ralf]
82010000 00117A9D
86200000 00000004
84010000 00117A9D

PL1: Double Prize Money [Ralf]
82010000 00117A9D
86200000 00000008
84010000 00117A9D

PL2: Infinite Ammo
82010000 00117A9F
86200000 00000001
84010000 00117A9F

PL2: Infinite Shield & Turbo [Ralf]
82010000 00117A9F
86200000 00000002
84010000 00117A9F

PL3: Infinite Ammo
82010000 00117AA1
86200000 00000001
84010000 00117AA1

PL3: Infinite Shield & Turbo [Ralf]
82010000 00117AA1
86200000 00000002
84010000 00117AA1

PL4: Infinite Ammo [Ralf]
82010000 00117AA3
86200000 00000001
84010000 00117AA3

PL4: Infinite Shield & Turbo [Ralf]
82010000 00117AA3
86200000 00000002
84010000 00117AA3

HUD On/Off (Press DPad Up/Down) [Ralf]
281134D8 FFFB0004
0400D168 38000000
E2000001 80008000
281134D8 FFF70008
0400D168 38000001
E2000001 80008000

Lap Modifier [Ralf]
00113583 000000xx

xx = 01 .. 09 (.. FF)

All Races: 4 Laps [Ralf]
00113583 00000004

KayJay
Posts: 5
Joined: Thu Feb 20, 2020 9:57 pm

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by KayJay » Sun Feb 23, 2020 3:02 pm

The multiplayer aspect of the game would heavily benefit from an amount of laps modifier code.
The multiplayer of this game originally only let you race 2 laps per racetrack which are way too quickly over at higher speed classes. Back then this was a real shame because otherwise the multiplayer mode had potential to be really fun.

Update: I just saw that you already listed a Laps modifier code. My bad. I'm not sure if you also ported it to the NTSC Version?
Ralf@gc-forever
Posts: 3842
Joined: Sun Mar 16, 2014 9:31 am

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Wed Jun 16, 2021 6:00 am

Code: Select all


End Race After One Lap [Ralf]
0412F598 00000001

AI Bikes: Disable Weapons [Ralf]
04113588 00000000

Enable All Camera Modes (Press C-Stick Down) [Ralf]
04008E10 60000000
04008E18 2809000A
04008E30 2800000A
04009240 3D20C000

Camera Modes

- Chase Camera Cockpit
- Chase Camera Near
- Chase Camera Far
- Debug Free Camera
- Track Camera Shakey
- Track Camera Normal
- Bike Relative Camera
- Replay Camera
- Satellite Camera
- Stationary Camera
- Mirror Camera

Debug Free Camera Control Keys

L/R                = Move Up/Down
A/Y                = Move Forward/Backward
A-Stick Up/Down    = Look Up/Down
A-Stick Left/Right = Look Left/Right
DPad Down/Up       = Look Up/Down    (Slow)
DPad Left/Right    = Look Left/Right (Slow)


Arcade Mode Laps Modifier [Ralf]
0405DAD4 396000xx

xx = Number of Laps (01 .. 09, .. FF, Default: 02)

League Mode Laps Modifier [Ralf]
040287AC 380000xx

xx = Number of Laps (01 .. 09, .. FF, Default: 02)

Practice Mode Laps Modifier [Ralf]
04028F6C 380000xx

xx = Number of Laps (01 .. 09, .. FF, Default: 02)

Time Trial Mode Laps Modifier [Ralf]
04028C00 38E000xx

xx = Number of Laps (01 .. 09, .. FF, Default: 09)


Global Bikes Modifier [Ralf]
00113582 000000xx

xx = Number of Bikes (01 .. 0C)

All Races: 4 Bikes [Ralf]
00113582 00000004

Arcade Mode Bikes Modifier [Ralf]
0405DAC0 380000xx

xx = Number of Bikes (01 .. 0C, Default: 0C)

League Mode Bikes Modifier [Ralf]
040287E8 396000xx

xx = Number of Bikes (01 .. 0C, Default: 0C)

Practice Mode Bikes Modifier [Ralf]
04028FB0 380000xx

xx = Number of Bikes (01 .. 0C, Default: 0C)

Time Trial Mode Bikes Modifier [Ralf]
04028BF8 390000xx

xx = Number of Bikes (01 .. 0C, Default: 01)

Ralf@gc-forever
Posts: 3842
Joined: Sun Mar 16, 2014 9:31 am

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Mon Nov 04, 2024 7:32 am

Code: Select all


Disable Deflicker Screen Filter [Ralf]
040CF184 48000068

Screen Gamma Correction: 1.7 [Ralf]
0408319C 38600001
040CAC6C 38600001

Screen Gamma Correction Modifier [Ralf]
0408319C 386000xx
040CAC6C 386000xx

xx = Gamma Correction Value ID

00 - Gamma 1.0 (Default)
01 - Gamma 1.7
02 - Gamma 2.2

Ralf@gc-forever
Posts: 3842
Joined: Sun Mar 16, 2014 9:31 am

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Thu Feb 13, 2025 7:38 am

Code: Select all


PL2: Infinite Money [Ralf]
04113610 0007A120

PL2: All Weapons [Ralf]
0011361C 000B0001

PL2: Always Win Career Mode Races [Ralf]
82010000 00117A9F
86200000 00000004
84010000 00117A9F

PL2: Double Prize Money [Ralf]
82010000 00117A9F
86200000 00000008
84010000 00117A9F

PL3: Infinite Money [Ralf]
0411367C 0007A120

PL3: All Weapons [Ralf]
00113688 000B0001

PL3: Always Win Career Mode Races [Ralf]
82010000 00117AA1
86200000 00000004
84010000 00117AA1

PL3: Double Prize Money [Ralf]
82010000 00117AA1
86200000 00000008
84010000 00117AA1

PL4: Infinite Money [Ralf]
041136E8 0007A120

PL4: All Weapons [Ralf]
001136F4 000B0001

PL4: Always Win Career Mode Races [Ralf]
82010000 00117AA3
86200000 00000004
84010000 00117AA3

PL4: Double Prize Money [Ralf]
82010000 00117AA3
86200000 00000008
84010000 00117AA3

CodyGC
Posts: 108
Joined: Fri Jun 17, 2016 12:40 am
Location: Canada

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by CodyGC » Tue May 06, 2025 8:54 am

Ralf, do you know the ASM to freeze time in this game? I'm trying to make the "Freeze Timer" for Dakar 2 and before giving up I would like to compare the functions of these two games. Thanks.
Ralf@gc-forever
Posts: 3842
Joined: Sun Mar 16, 2014 9:31 am

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Sat May 10, 2025 7:10 pm

Code: Select all


Unlimited Race Time [Ralf]
04117BF8 000927D8

Unlimited Race Time - ASM Version [Ralf]
0400DD0C 80630008
04012E58 80630008
04014528 60000000

Freeze Lap Timer [Ralf]
0400E0B8 7F2A012E
0400E0C8 38800000

Reset Lap Timer (Press DPad Down) [Ralf]
C200E0B4 00000004
3D808011 A18C34D8
558C077B 41820008
7F2A012E 3D6045E7
60000000 00000000

Lap Timer On/Off (Press DPad Up/Down) [Ralf]
C200E0CC 00000008
3D808011 A18C34D8
558C077B 3D808000
41820008 908C0090
818C008C 280C0000
41820014 3D808000
818C0090 7D8CC850
7D8A012E 3C00CCCC
60000000 00000000
281134D8 FFFB0004
0400008C 00000001
E2000001 80008000
281134D8 FFF70008
0400008C 00000000
E2000001 80008000

Game Speed Modifier (Press DPad Up/Down/Left/Right) [Ralf]
C2019C58 00000003
3C808000 80040088
7F030214 93170008
60000000 00000000
281134D8 FFFE0001
04000088 00000000
E2000001 80008000
281134D8 FFFD0002
04000088 00000028
E2000001 80008000
281134D8 FFFB0004
04000088 FFFFFFF6
E2000001 80008000
281134D8 FFF70008
04000088 00000014
E2000001 80008000

DPad Up    = Fast
DPad Down  = Slow
DPad Left  = Normal
DPad Right = Super Fast

@CodyGC: The game has no individual lap timer, it stores the race start time at address 0x801165c4 and calculates the difference between the stored value and the actual global game time instead.

Code: Select all


Lap time display function
8000E088: 39370070  addi    r9,r23,112
8000E08C: 7C09202E  lwzx    r0,r9,r4     ; r0: actual lap number
8000E090: 2C000000  cmpwi   r0,0         ; race start ?
8000E094: 40820014  bne-    0x8000e0a8   ; no
8000E098: 3B600000  li      r27,0        ; yes, set timer display to 0.00.00
8000E09C: 3BE00000  li      r31,0
8000E0A0: 3BC00000  li      r30,0
8000E0A4: 48000058  b       0x8000e0fc
8000E0A8: 5560103A  rlwinm  r0,r11,2,0,29
8000E0AC: 39570048  addi    r10,r23,72
8000E0B0: 7C002214  add     r0,r0,r4
8000E0B4: 3D6045E7  lis     r11,17895
8000E0B8: 7D0A002E  lwzx    r8,r10,r0    ; r8: race start time (0x801165c4)
8000E0BC: 3D201062  lis     r9,4194
8000E0C0: 616BB273  ori     r11,r11,45683
8000E0C4: 61294DD3  ori     r9,r9,19923
8000E0C8: 7C88C850  sub     r4,r25,r8    ; r4: actual lap time = actual game time (r25) - race start time (r8)
8000E0CC: 3C00CCCC  lis     r0,-13108
8000E0D0: 7D645816  mulhwu  r11,r4,r11
8000E0D4: 6000CCCD  ori     r0,r0,52429
8000E0D8: 7D244816  mulhwu  r9,r4,r9
8000E0DC: 7C040016  mulhwu  r0,r4,r0

Freeze Lap Timer patch
8000E0B8: 7F2A012E  stwx    r25,r10,r0   ; race start time = actual game time (no difference, lap time = 0.00.00) 
8000E0C8: 38800000  li      r4,0         ; r4: lap time    = 0.00.00 (display only)

CodyGC
Posts: 108
Joined: Fri Jun 17, 2016 12:40 am
Location: Canada

Re: XGIII Extreme G Racing (GCN/WIIRD/PAL)

Post by CodyGC » Mon May 12, 2025 9:59 am

Thanks. Unfortunately they seem to be very different games.
Post Reply