How to find values in RAM that don't change?

Started by FL4SHK, July 27, 2011, 02:06:15 AM

Previous topic - Next topic

FL4SHK

For example, finding the overall gravity in Super Smash Bros. Brawl.  I know it's already been done, but how it was found would be a very helpful thing to know.

Deathwolf

I would say it was almost luck. Most of them are in the PAC files. You could search for some floats like 3F800000
lolz

FL4SHK

Alright, thank you.  So I guess that means I'll be using the memory viewer for things like this.

dcx2

For gravity, once the Y coordinate has been found, I would jump up and down, then use write breakpoints to figure out who was causing my Y coordinate to go down.  Then I'd follow the ASM along and see if I could spot something that looked like it was acting like gravity.

In general, look for something "near" your target.  If this was e.g. a size modifier for player 1, you would then go find some of player 1's data that you could change, and then look near it for something that looked like size.

Deathwolf

In brawl it's a 3F800000 value for sure. It's near 805XXXXX.
lolz

FL4SHK

Thanks to you both!  That helps even more!  ;D