WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Romaap on November 28, 2008, 11:15:49 PM

Title: Flag search?
Post by: Romaap on November 28, 2008, 11:15:49 PM
what does the flag search do in Wiird GUI?
Title: Re: Flag search?
Post by: Romaap on November 30, 2008, 01:24:54 AM
[spoiler][spoiler]B[/spoiler]
[spoiler]U[/spoiler]
[spoiler]M[/spoiler]
[spoiler]P[/spoiler][/spoiler]
Title: Re: Flag search?
Post by: Igglyboo on November 30, 2008, 01:36:53 AM
idk for sure but i can try to explain it
i've done it a couple times with 8bit values

Like if you do a flag search for an 8bit value and the value is A8
it will return you and 8bit value that starts with A or ends with 8
So any values that are AX or X8

Title: Re: Flag search?
Post by: Romaap on November 30, 2008, 07:39:56 AM
ok, thanks.
Title: Re: Flag search?
Post by: kenobi on December 04, 2008, 09:53:21 PM
To be more precise, flag search will find values that had a one bit change between two searches.

It's actually mostly useful for searching for pad values location, and usually each button value is one bit :
Start an unknown value search (usualy 16bits value is ok)
Press a button, and make a flag search
Release the button, and make a flag search
Press a button (the same, or another one), and make a flag search
...
If needed continue until you pinpoint the pad values location.

A equal/different search would bring the same result of courses, but flag search makes it "easier" to find (less searches will be needed as a lot of wrong possibilities will be thrown away). It can also help you to find "event", "cheats","collection"... values (as each event, cheat enabled and part of a collection are usually coded on one bit).
Title: Re: Flag search?
Post by: wiiztec on March 17, 2010, 02:16:35 PM
wow I've been using this wrong the whole time, I thought it just searched for a value of any length that always changes between the same 2 values like a floating point value for direction that can only ever be 3F800000 or BF800000