Vehicle Stats Modifier [JoshuaMK]
#6
(11-02-2019, 07:51 PM)salmon01 Wrote: The way to make the “simplified” version of this would be to use a look-up table; the old Wiird forums have more information: https://gamehacking.org/wiird/forum/inde...977.0.html

I’d check out what dcx2 did with the surface roller code for SMG2.
After reading through that I both do and don't get LUTs. Specifically, how would it apply here?

It generally seemed to be along the lines of:

stfs f0, 0x010C (r5) #Default instruction
stmw r14, -0x80 (r1)
mfctr r21
cmplwi r21, 1
bgt+ dont_modify
bl table
.llong 0001020304050607
.llong 08090A0B0C0D0E0F
.llong 1011121314151617
.llong 18191A1B1C1D1E1F
...
table:
mflr r21
mr r31, r0
lbzx r31, r21, r31
....
dont_modify:
lmw r14, -0x80 (r1)

I only get some of it. i need help understanding it more, and especially how it could be used here.
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply


Messages In This Thread
Vehicle Stats Modifier [JoshuaMK] - by JoshuaMK - 11-02-2019, 06:19 AM
RE: Vehicle Stats Modifier [JoshuaMK] - by Vega - 11-02-2019, 12:50 PM
RE: Vehicle Stats Modifier [JoshuaMK] - by JoshuaMK - 11-03-2019, 07:24 AM
RE: Vehicle Stats Modifier [JoshuaMK] - by Vega - 11-02-2019, 08:09 PM
RE: Vehicle Stats Modifier [JoshuaMK] - by Katos - 05-13-2024, 10:27 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)