Addresses for groundtype and progress in Timetrails
#1
Hey Guys, does somebody know (or know where to find) at which RAM locations in Timetrails 
1) the progress or the current checkpoint
2) the type of the road, the driver is currently standing on (e. g. Road, Grass, ...)
are stored? Im using the US NTSC Version (RMCE01) of the game.

I already tried searching for them in Dolphin but I could not find any good value and had trouble with addresses which change when restarting the race.
Btw, does somebody know some good lists of useful addresses in general?
Reply
#2
Hello there!

For 1)
There are two codes on the forums that keep track of checkpoints
http://mkwii.com/showthread.php?tid=1017
http://mkwii.com/showthread.php?tid=1018

For 2)
This code deals with on-road vs off-road
http://mkwii.com/showthread.php?tid=203

The "RAM locations" for any values corresponding to checkpoints and offroad are in dynamic memory. Meaning they are at a diff spot every race. Your best bet is to set Instruction Breakpoints on the code addresses I linked you. For the checkpoint codes, the default instructions will point to exactly in memory where the checkpoint counter is.

For the offroad code, it's gonna take more effort to track that down. The offroad value may not be a hex value in memory but a bit flip within a hex value, which will be a pain to find. I don't know how much coding/ASM knowledge you have. If it's not much, maybe someone like JoshuaMK can help. Personally, due to work, I am too busy to take most requests.
Reply
#3
If you need any extra help, you can PM me and I should respond back fairly quickly. For now though, the best way to find a memory value that is dynamic, is to set a savestate when the race first loads, so when you put yourself in a situation to restart, you can load the savestate and the memory will still reside in the same location as before. I used a similar method to this to find where in the code the game initializes your stats, and the character stat multipliers too.
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply
#4
Thanks a lot - I will try those things out. I do not really have any ASM knowledge for Mario Kart but coding and some assembler knowledge in general. I need the locations to use the values in an external program whilst the game is running, so it does not matter too much in which format they are. Is there a good table with the instruction set used in the codes, so I can figure out better what they are doing?
Reply
#5
The address used in leseratte's KCL-dependent activator might be helpful to you http://wiki.tockdom.com/wiki/Leseratte#K..._activator
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)