baliger.blogg.se

How to play rom hacks on an n64
How to play rom hacks on an n64






So we need to find out which location that has the number 3 corrosponds to the actual lives. Well sort of, it could be but the number 3 will also be used for many other non-lives related things in the game, for example an enemy could be located at position 3 on the Y axis etc. Just like finding anything we perform a search, if we know the current game lives are set to 3, then just loop over each byte in RAM until the value 3 and that should be the value right?!

how to play rom hacks on an n64 how to play rom hacks on an n64

But how do we find out where the values are located in the big blob of bytes known as RAM? If we can find where these locations are we can change how the game behaves in real-time.

how to play rom hacks on an n64

This means that there are a number of bytes in RAM which corrospond to an interesting value in-game such as the Lives of the Player, or well anything at all really. So we know that anything that can change in a game will be stored in some sort of Writable memory such as RAM.








How to play rom hacks on an n64