Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Epona issue with Mupen64plus Next
- All of the addresses given here are for the NTSC 1.0 version of the game.
- The instruction that crashes is located at 8039E08C in RAM.
- This is in a function located at 8039DE78 that seems to deal with interface/HUD things related to the
- player (just a guess)
- The instruction crashes because its trying to read data from a pointer in the v1 register.
- This pointer is expected to be Epona's instance. It gets loaded from a variable in Links instance
- which we call the "rideActor". That is, a pointer to whatever actor link is riding. This pointer is located at
- link+0x430 (801DAE60ā¬).
- The code that crashes does not have a null check before it tries to read from the rideActor, so it is expecting it to not be null.
- After having a look at the relevant function, the only condition this code should run in is if Links state flags
- have the 00800000 bit set, which denotes that Link is in the state of riding Epona. Links state flags are located
- at link+0x66C (801DB09Cā¬).
- If it can be figured out why Links state flags are being set incorrectly, this will probably help single out the issue.
- Someone reported in the speedrunning server the other day that it happened to them when they got hit by something and
- pulled out the hookshot at the same time. This definitely sounds related to Links state.
- Thats all the info I have on it so far.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement