WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: FL4SHK on July 27, 2011, 02:06:15 AM

Title: How to find values in RAM that don't change?
Post by: FL4SHK on July 27, 2011, 02:06:15 AM
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.
Title: Re: How to find values in RAM that don't change?
Post by: Deathwolf on July 27, 2011, 07:54:56 AM
I would say it was almost luck. Most of them are in the PAC files. You could search for some floats like 3F800000
Title: Re: How to find values in RAM that don't change?
Post by: FL4SHK on July 27, 2011, 03:13:18 PM
Alright, thank you.  So I guess that means I'll be using the memory viewer for things like this.
Title: Re: How to find values in RAM that don't change?
Post by: dcx2 on July 27, 2011, 05:57:38 PM
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.
Title: Re: How to find values in RAM that don't change?
Post by: Deathwolf on July 27, 2011, 05:58:52 PM
In brawl it's a 3F800000 value for sure. It's near 805XXXXX.
Title: Re: How to find values in RAM that don't change?
Post by: FL4SHK on July 31, 2011, 03:00:24 AM
Thanks to you both!  That helps even more!  ;D