What the CheatVM does when a cheat is turned on is it periodically hacked the game memory space.
There are two kinds of hack.
1. Game memory hack which modifies a memory that the game code use.
2. Code memory hack which modifies the game code. This is also called ASM hack.
Game memory is frequently updated by the game. So when the cheat is turn off the behavior of the game will revert to normal.
Code memory is only updated when the game starts. So when the cheat is turn off the behavior of the game won't change until the game is restarted.
Because of this property ASM hack requires a off code which restore the code memory to original.
If a off code is not provided by the author of the cheats you can make one yourself.
Take for example
[code on]
040C0000 03FB406C B900111F
[code OFF]
040C0000 03FB406C BD401100
code type 0 (code that has the first digit 0) does a direct (the memory address is provided in the instruction) hack to memory.
In the example above main+0x03FB406C is the address and 0xB900111F is the content written.
To reverse the effect of the hack you just need to restore the original content.
Here is how you can use edizon se to make a cheat that restore (turn off) a single line ASM cheat:
1. Launch the game with the cheats turned off. It must be off or the original won't be available.
2. Place the cursor on the cheat and press L (toggle) if necessary to make the right panel bookmark.
3. Press + to add the cheat to bookmark.
4. Move the cursor to the bookmark just created. Edit the label(+). Press ZL+A to make this a cheat code. Now you have a off code for this ASM cheat.
For multi line cheats look at the address field of the line (second group of 8 digits, 03FB406C in the example above). Look for the smallest number. Take the line and make a single line cheat. If all the other lines have much bigger number you only need this one line. If there are some lines that has similar number you also copy those lines and make single line cheats.
Use the method in describe above to make the off cheat for each line you copied. You will need all of them for the complete restore. You can edit the cheat code with a text editor to combine them into one cheat.
There are two kinds of hack.
1. Game memory hack which modifies a memory that the game code use.
2. Code memory hack which modifies the game code. This is also called ASM hack.
Game memory is frequently updated by the game. So when the cheat is turn off the behavior of the game will revert to normal.
Code memory is only updated when the game starts. So when the cheat is turn off the behavior of the game won't change until the game is restarted.
Because of this property ASM hack requires a off code which restore the code memory to original.
If a off code is not provided by the author of the cheats you can make one yourself.
Take for example
[code on]
040C0000 03FB406C B900111F
[code OFF]
040C0000 03FB406C BD401100
code type 0 (code that has the first digit 0) does a direct (the memory address is provided in the instruction) hack to memory.
In the example above main+0x03FB406C is the address and 0xB900111F is the content written.
To reverse the effect of the hack you just need to restore the original content.
Here is how you can use edizon se to make a cheat that restore (turn off) a single line ASM cheat:
1. Launch the game with the cheats turned off. It must be off or the original won't be available.
2. Place the cursor on the cheat and press L (toggle) if necessary to make the right panel bookmark.
3. Press + to add the cheat to bookmark.
4. Move the cursor to the bookmark just created. Edit the label(+). Press ZL+A to make this a cheat code. Now you have a off code for this ASM cheat.
For multi line cheats look at the address field of the line (second group of 8 digits, 03FB406C in the example above). Look for the smallest number. Take the line and make a single line cheat. If all the other lines have much bigger number you only need this one line. If there are some lines that has similar number you also copy those lines and make single line cheats.
Use the method in describe above to make the off cheat for each line you copied. You will need all of them for the complete restore. You can edit the cheat code with a text editor to combine them into one cheat.
Last edited by TomSwitch,