Max Speed Modifier [JoshuaMK]
#1
Max Speed Modifier [JoshuaMK]

This version, although longer, actually dynamically edits 2 extra values compared to Volderbeek's version through vanilla code, although I don't know what the effects are.
You can also edit the base speed independently from the max speed. (It's recommended to keep the two values close so the drifting and wheelie-ing don't become impossible)



(NTSC-U)
C2571CA4 00000002
3D00XXXX 91030018
C0230018 00000000
C2571CF4 00000002
3D80YYYY 91891134
C0091134 00000000

(PAL)
C2578508 00000002
3D00XXXX 91030018
C0230018 00000000
C2578558 00000002
3D80YYYY 91891134
C0091134 00000000

(NTSC-J)
C2577E88 00000002
3D00XXXX 91030018
C0230018 00000000
C2577ED8 00000002
3D80YYYY 91891134
C0091134 00000000

(NTSC-K)
C2566560 00000002
3D00XXXX 91030018
C0230018 00000000
C25665B0 00000002
3D80YYYY 91891134
C0091134 00000000



XXXX = BASE SPEED
YYYY = MAX SPEED

Some X Values:
0 km/h = 0000
2 km/h = 4000
5 km/h = 41C8
50 km/h = 4248
75 km/h = 4296
100 km/h = 42C8
150 km/h = 4316
200 km/h = 4348
250 km/h = 437A
300 km/h = 4396
400 km/h = 43C8
500 km/h = 43FA
700 km/h = 442F
1000 km/h = 447A
1200 km/h = 4496
1600 km/h = 44C8
2400 km/h = 4516
4000 km/h = 457A



#ASM

#~~~~~~~~~~~~#
#Inject > 80571CA4#
#~~~~~~~~~~~#

lis r8, 0xBASESPEED
stw r8, 0x0018 (r3)
lfs f1, 0x0018 (r3)

#~~~~~~~~~~~~#
#Inject > 80571CF4#
#~~~~~~~~~~~#

lis r12, 0xMAXSPEED
stw r12, 0x1134 (r9)
lfs f0, 0x1134 (r9)



Code Creator: JoshuaMK
Code Contributors: Volderbeek (Speed Hook)
(10-14-2019, 11:55 PM)Vega Wrote: Was lucky enough to be one of few to learn proper ASM. Now I just post random garbage on Make it to a 1000 thread.
Was lucky enough to be one of few to learn proper ASM. Now I'm writing codes that I hope amaze!  Tongue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)