Open john-peterson opened 11 years ago
This reference contain examples of lap time cheats that patch the code rather than only the variable
This is the
benefit with patching the code that update the lap time variable (rather than only the time variable)
disadvantage
F-Zero GX [GFZE01]
Reference
Code
This code is located by me
Comment
These abbreviations are used in the code comment
dl
: digital pad leftdr
: digital pad rightShared credit
"infinite energy" has a shared credit because it's a merge of two codes to one
Test
Variable memory map
This game complicate patching because it loads the
.rel
code to different address depending on f.e.A story mode address patches in the code in the topic "Code" has been observed at these addresses
The complication is limited to require one pointer because
Pointers
This table contain pointers use to compensate for the variable memory map described in the topic "Variable memory map"
The order is from lower to higher address because
The pointer marked with "*" isn't previously published, the other code is in the topic "Reference"
The pointer address 801ba880 is low enough to
.rel
code and memorybecause
po
lower than the code address is required because the type 0 code don't allow a negative offsetLocation
The pointer address 801a66e8 is located by
Stop time
Behavior
The time is 1 instead of 0 because
Motivation
The motivation for creating
a stop time patch is
Selected mode
The selected mode address is useful because
It's not previously published
Location
The code is located in ArtMoney by
Tools
These tools are used to locate the address