This is a great tutorial to show you the basics of finding the memory locations of common statistics such as HP, items etc. The example is Paper Mario but this technique should work for most games on the nintendo 64.
The video is located here: https://gaming.youtube.com/watch?v=AxRmQ3bbe1Q
The technique is simple:
do an initial memory search for the current value of the stat you want (e.g HP).
Change the stat in the game, e.g loose a life.
Now do a “sub-search” which will search within the results of the first search.
The results should have been vastly reduced
Repeat until you only get a couple of values
Now you can ‘lock’ these memory addresses if you don’t want the game to change the stat, e.g you won’t lose HP.
Try to document these addresses and share your findings with the retro reversing community.
One great way to get addresses or even test your findings is to learn how to create cheats for ‘cheat cartridges’ e.g Action Replay, Game Breaker or Equalizer.
If you learn the syntax they use for the cheats you will be able to get the addresses they use for a similar cheat. For example if you look for an HP cheat code for Action Replay it will have the same addresses shown in the video. You can then put this knowledge to the test and create your own cheat codes.
If you have the physical cheat cartridges you can even test your new cheats on the original hardware :)