Is there any simple way to find button press routines for button press cheats? finding out what accesses the joker address? say I already know which address controls if the inventory is displayed or not on a button press but how would I find that rountine in code to see which button combination made it show up, i'm looking to find cheats in games like gta etc where they have dozens of button press combinations for cheats.
Announcement
Collapse
No announcement yet.
Finding button press cheats
Collapse
X
-
Well depending on the system your using the buttons on your controller (or whatever you have mapped to play the games) should register a unique value in memory usually decimal based that is the flag checked for input from the player. Once you have this address (or addresses depends on the system) you can then set a break on read for your input address to see where in code it is checking for what button is being pressed. Usually if its a button type code it will check the address and if it matches a Compare value it will set a flag then branch out and wait for your next input to compare and set a another flag continually moving closer to activation (All input flags are set) of given button tap code unless a wrong button is pressed thus resetting the flags. There may be a timer involved in this as it will reset said flags if the allotted time has passed between presses has been exceeded. Usually if you make it to the first check and recognize it as what you need the rest should just fall into place as the compare values will match up with the button input values (Just convert what you see in decimal to button presses to form your code). Keep in mind that there are a lot of different ways the programmer could have checked the input so this method may not apply to every type of button input code and would be based on my programming experience alone.Last edited by Abystus; 05-04-2011, 12:09:11 AM.

Comment