WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Lunar on October 20, 2008, 06:17:59 AM

Title: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Lunar on October 20, 2008, 06:17:59 AM
Like the title says. I need Help with finding Actions and Non-Onscreen Values. For Example Speed, Actions, co-ordinate's etc. If anyone could help me it would be greatly appreciated :D

Thanks
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Link on October 20, 2008, 06:43:53 AM
Non on-screen values are a little tricky.. speed modifiers are normally found by searching for character data in the memory and then editing floating point values using the memory viewer. Action modifiers.. totally dependent on the game.. some games give you an action ID once you start. So you'll basically need to start an action.. pause.. do an unknown search.. then stand still.. "Not equal" search.. perform it again.. "Not equal" search.. then wait until the action is finished.. and perform it again.. and do an "equal" search.

Please note that this only works for some games.

Coordinates however are straight forward.. though connected with a little guessing: move: do a "greater than" search.. move into the opposite direction do a "less than" search.. if you find out to get no results.. swap "greater" and "less"...
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Black_Wolf on October 20, 2008, 07:11:12 AM
well try this:

Find a hill in the game, or something that INCREASES you're elevation.

Stand at the bottom, search.
Move up the hill searching greater greater greater
Stand at the TOP of the hill search greater
Stay still search equal and repeat. This will find you're VERTICAL co-ords, or Z co-ords

Now open up you're memory viewer, and start looking for some 3f800000, 40000000, 40800000 etc, most things ending with 0000 are whole float values.

Alternatively set the SEARCH RANGE to + and - about 0x200 and do a manual search for these values, test them by poking at 40000000 and you can usually find speed, gravity, moon jump etc in this area.
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Lunar on October 20, 2008, 07:15:28 AM
Thanks for the quick reply guys. Im doing this for zelda so should i climb up a ladder or some vines so my Y and X co-ords dont change?
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Black_Wolf on October 20, 2008, 07:58:25 AM
hmm stick with a hill, ladder climbing etc may be handled differently. However, moving on FLAT GROUND and searching equal will immedietly get rid of x, y related results, so its no biggy
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Lunar on October 20, 2008, 07:59:24 AM
Ok cool! Thanks again :D
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Lunar on October 23, 2008, 08:35:53 AM
Ok, I have made a super speed code for tp (incomplete), so ive tackled the speed modifiers but whenever i search for the Z-Co-Ordinates it keeps coming up with 51 values. It wont decrease unless i change area's, but when i try to find the code there... it comes up with nothing.. Any Ideas?
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Romaap on October 23, 2008, 09:41:22 AM
try rotating the camera, I had the same thing with Bully, there were like 50 addresses, but when I changed the camera there were 13 addresses left
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Black_Wolf on October 23, 2008, 10:04:25 AM
yep, exactly, remember you are changing EVERYTHING YOU CAN but standing still and searching equal. This will filter out a lot.

The code is almost certainly Dynamic, so DON"T CHANGE AREAS.

You're going to need to find the code in one are then take a ram dump, then find again in another area, take another dump and do a pointer search! This way you'll get permanent code.
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Romaap on October 23, 2008, 11:40:55 AM
equal searches didn't work for me, it just changes 3 times every second, but not much. so if equal searches doesn't give a Z co-ord, just use the greater/lower search
Title: Re: Help with finding Actions and Non-Onscreen Values (Arrows etc.)
Post by: Lunar on October 23, 2008, 11:58:36 AM
Thanks guys for your help. Ill try it out after i successfully make a pointer for the speed modifier.