How do you know what points to what? I mean does it change for everything or is there a simple rule (like adding something)?
How to search for it? I go in Cheat engine, do a 4 byte search, then what do I do?
You have to look at the addresses in memory to find where it points to. For pointers, you will see the address of the variable. For example on dreamland stage in training mode, using Fox for player 1, the 4 byte value of 80130D84 (Player 1's pointer to player data) will be in hex 8027E928. I guess it's confusing if you use an emulator like mupen or PJ64 since the addresses change a lot. I guess mentioning the N64 addresses won't do people much good, since most of you just use cheat engine rather than an internal memory editor. For cheat engine, you would need to convert the addresses using the emulator's offset. If you know the address for hp or shield, you can still use my offset chart. For example, lets say on mupen, the address for Player 1's hp is 1029E954, the address for shield would = 1029E954 + 8 = 1029E95C. Maybe I'll try and make a giant cheat engine table of addresses for Mupen if I am able to figure out how to deal with its address constantly changing.
I did the color search to see if I can trace how the hurtbox display works. Just like most of the frame counting addresses, the addresses for hurtbox colors seem to change even when I restart emulator lol. Problem with the color search is that I'm not sure you will find it, unless you're using that hitbox savestate. If you are using that savestate, then you just do a 4 byte hex search and type in the hex value of the current color (D0D000FF = Yellow, 00D000FF = Green, 0000D0FF = Blue). When you narrow down the search, you should see the addresses for the color of each body part.
I would like to help, but I'm seeing I really don't understand a thing about what is going on so I have no idea how I can catch up. The links you gave me above are really no help for noobs, sorry.
Edit: the best background would be dreamland IMO. If you can apply this to the ROM (or tell me how to have it in mupen otherwise) I will help making the screenshots.
Well it depends on what you are trying to do. I'd say the best way to learn is to just use nemu to debug code. For example, finding formulas is pretty easy, provided you have some experience setting breakpoints. Should I post some examples of formulas? Maybe that will help. I can post the assembly code of and explain step by step what happens.
I've been trying to get the gameshark codes to work on other emulators. The only thing I've been successful at is being able to load the BtT stage, but the hitbox code isn't activated. So I tried comparing data, then copying and pasting, but it would make the game either freeze or glitch up.
I might be able to make the program, I'll just need to read up on winapi for displaying pictures and implementing a slider.
I guess what I'll focus on is exploring hitbox data and trying to get the gameshark code to work.
Which version of Mupen should I use? I tried Mupen Plus and I couldn't even run it lol.
Well... Lesson learned. I need to read instructions carefully lol. I finally was able to do the hitbox glitch, but it only works on BtT Mario stage, so I need to do more testing.