Acceleration/deceleration multiplier [stebler]
#1
Acceleration/deceleration multiplier [stebler]

I made this while working on 200cc CTGP compatibility.

NTSC-U:
c257479c 00000004
c01d0030 3c00XXXX
901d0030 c03d0030
ec000072 d01d0030
e3e10028 00000000
048b10a0 bf800000

PAL:
c257b000 00000004
c01d0030 3c00XXXX
901d0030 c03d0030
ec000072 d01d0030
e3e10028 00000000
048b10a0 bf800000

NTSC-J:
c257a980 00000004
c01d0030 3c00XXXX
901d0030 c03d0030
ec000072 d01d0030
e3e10028 00000000
048b10a0 bf800000

NTSC-K:
c2569058 00000004
c01d0030 3c00XXXX
901d0030 c03d0030
ec000072 d01d0030
e3e10028 00000000
048b10a0 bf800000

Patch 1: multiply the acceleration by a constant
# inject at 8057479c (NTSC-U)
# inject at 8057b000 (PAL)
# inject at 8057a980 (NTSC-J)
# inject at 80569058 (NTSC-K)
lfs f0, 0x30 (r29)
lis r0, 0xXXXX
stw r0, 0x30 (r29)
lfs f1, 0x30 (r29)
fmuls f0, f0, f1
stfs f0, 0x30 (r29)
psq_l p31, 40(r1), 0, qr0
Reply


Messages In This Thread
Acceleration/deceleration multiplier [stebler] - by stebler - 11-20-2020, 11:21 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)