Help setting instruction breakpoints properly while looking for values
#1
Hi everyone, I'm trying figure out how to access some in-game values for a little bot project (current checkpoint zone, speed, and current lap time / time trial time are the primary ones that I'm looking at, with a focus on the first 2 for now). I'm new to dolphin, and but have some understanding of assembly (x86), if that helps. I've looked through the assembly and Gecko guides on the forums, as well as the symbol map doc, and have tried to use dolphin memory engine to look at the locations but haven't made good progress that way.
My current method has been to try and set instruction breakpoints as discussed in a similar thread:
https://mariokartwii.com/showthread.php?...1&pid=4036

However, I'm having trouble understanding setting these instruction breakpoints, so I think I might be setting them at the wrong address. My understanding is that the Gecko code lines that correspond to the source code have locations in the form xxyyyyyy, where 80yyyyyy would be the memory address where the instruction is going to be executed. Doing that for some lines seems to trigger the breakpoint, but does not for others, and for the ones that do break, when I examine the registers, they do not seem to hold any useful values like I would expect.

I've also manually tried looking for the values using dolphin memory engine's scanning feature, but I'm not having much success that way either. 

Would appreciate some help, I will provide more information on what exactly I've done if necessary as well. Thanks!

(Speed-O-Meter code that I've also been trying to break down: https://mariokartwii.com/showthread.php?tid=983)
Reply


Messages In This Thread
Help setting instruction breakpoints properly while looking for values - by pinguin - 03-27-2025, 05:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)