Unfortunately, my knowledge in programming is very, very limited (inexistent ? Perhaps). I want to learn but don't know where to start... ...So I can't tell you where to find it in memory. I just opened FF7.exe in my hex editor, searched for the bytes 30 75, replaced each of the found strings by FF FF, and tested the game until Sense worked on an enemy with 60,000 HP. This is how I found the address 0x1C9515.
Also, I might also find other functions that call a specific value, but I have no idea what I could search for next.
You don't need to program to find the values in memory, get Cheat Engine\MHS(Memory Hacking Software)..
You can find countless tutorials, both written\video on the internet, try YouTube, look for Cheat Engine tutorials, MHS works roughly the same as CE, but it's a bit more advanced, I prefer it, but that's just my preference.
In any case, searching memory is easy, it's just a process of elimination, say you search for your chars HP, all you have to do, is increase\decrease the HP, then do a sub search for the new value, keep repeating this process until you find the value in memory that controls the chars HP. (It eliminates any non-matching values as you go.)
--
Btw, haven't used CE in some time, but MHS shows pointers in green text, that's what I need, pointers, those exist in the .exe, the other values are usually temp variables\DMA, and won't always be the same. (Pointers are always going to be same for everyone.)
---
Aside from values I already mentioned, I'm interested in the following.
1. Inside the buggy. (I want to remove random battles inside the vehicle, it's annoying to me. Other vehicles would be nice too, airships, etc,. I just want to know when I'm inside a vehicle\walking, that might help me track down a few other things too. Like functions to spawn the vehicles, etc,.)
2. GP for the Gold Saucer. (I may make a cheat(inf\max GP), but I might also remove the GP restriction on that save spot, which also annoys me.)
3. Any unknown battle vars, like, when you hit someone, and you see the little damage floater, getting that value, should allow me to find the damage formulas. (So anything like that, poison values, etc,.)
4. Anything else you think might make a good addition, or be useful in finding related stuff. (Like, how GP will help me find that GP save spot.)
(Remember, everything will be optional, with all cheats disabled by default.)
--
@NFITC1, seems like this where they all get calculated. -> [0x0043153F]
If you right click a variable in IDA, you can select "Jump to xref to operand" which will display a list of places the value get's used, then just look at functions with a "w" next to them, those are writes, "r" are reads.
These values only get written in two places, one sets them to 0, the other has to be the code we are looking for. (Unless it uses temps, and does it elsewhere, but it's probably done there.)
Anyways, thanks for finding those vars, I'll start playing around with patching the values, see if it works. (ie, actually gives the correct values, and hopefully shows up properly in the reward screen. EDIT: A quick test seemed to work exactly as I had hoped, it worked properly with the reward screen, etc,.)
(I also need to go through, and make sure the INI options won't go outside of their range, ie, if a value is 0-255, I'll just make it wrap any values outside the range, to the nearest valid value. ie, using the previous example, 300, would be clamped to 255.. I can probably add comments too, that indicate valid ranges, though, I'm not sure the .ini lib I'm using will allow me to use them, it's not well documented.)