Making Moon Jump code, where to start?

Started by Ghirahims_Nemesis, August 25, 2013, 01:29:55 AM

Previous topic - Next topic

Ghirahims_Nemesis

I'm making a moon jump code for Metroid Prime 3: Corruption from Metroid Prime Trilogy (R3ME01). I'm using Dolphin 3.5-1727 (I know it's not the newest, but I wanted few errors, and never trust the newest builds), IDA Pro 6.1 (with the newer gekkoPS plugin), and Cheat Engine 6.3. I want to know a good way to find the y-velocity address. I think it involves:

1.)  searching for a new zero value
2.)  holding jump
3.)  pausing Dolphin while moving upward
4.)  searching for a value higher than 3f800000 (1)
5.)  letting go of jump, then falling
6.)  pausing Dolphin while moving downward
7.)  searching for a value higher than bf800000 (-1)
8.)  landing, then waiting a few seconds
9.)  searching for values that are currently zero
10.) repeating steps 2-9 if necessary

However, when I test the 1-2 results that I come up with, they don't behave as a y-velocity address should. Am I doing something wrong? Can someone give me some tips on a better method, if one exists? Any help is appreciated.
[spoiler]
QuoteIt won't take more than a few moments with my friend before you're charred to a satisfying crisp. And let me tell you, that will put a spring in my step!" â€" Ghirahim, The Legend of Zelda: Skyward Sword
[/spoiler]