Visualizza messaggio singolo
  #54 (permalink)  
Vecchio 26th June 2009, 21:03
L'avatar di 4m8IoN
4m8IoN 4m8IoN non  è collegato
Member
 
Data registrazione: Dec 2008
Residenza: Earth
Messaggi: 339
Potenza rep: 1
4m8IoN è su una strada distinta
MH2G Display HP Hack is actually not really a Cheat.
Depending on the Version only 4 to 8 Lines are actually usefull CWCheat Codes.
The rest is ASM (Assembler) Code that gets dumped in a place in RAM

The hack works by hijacking a jump instruction in the game code.
It gets replaced with a jump instruction to the previously positioned ASM instructions.

In more detail:
The Game has 2 bytes that indicate if you press a certain Button Combination.
If you press L+Select in game, the bytes change to 0101
If you press R+Select in game, the same bytes change to 0201
With a 16bitEqual Compare-CWCheatCode the hack uses CWCheat Codes to monitor this adress.
If the conditions are met it then replaces the jump instruction.

Therefore code injection takes place and the game executes the custom code.

A real awesome & creative use of CWCheats!
Rispondi citando