Cheat engine code format
Posted: Sun Jul 05, 2020 11:42 am
I have a question about converting cheats codes from raw format to the format used by Cheat Engine. I followed the link to Gamehacking.org, but couldn't find codes for the games I'm interested in provided in the MiSTer format. I'm keen to convert some codes myself, but found the explanation provided on the Github page pretty brief. Could anyone knowledgable confirm some points for me?
Using the given example
01 00 00 00 A0 1C FF 00 B5 00 00 00 FF 00 00 00
I understand that this can be broken into 4 parts
01 00 00 00 -> Determines if compare is enabled
A0 1C FF 00 -> Is the ROM address that to be modified.
B5 00 00 00 -> This is the compare value
FF 00 00 00 -> The replace value.
So, am I correct to believe that the first set can only ever be true (01 00 00 00) or false(00 00 00 00)? And if it is false, then the compare value would also be 00 00 00 00?
So here are some examples:
1 - I found a SNES code, C35CBE:05, based on my understanding this would be
00 00 00 00 BE 5C C3 00 00 00 00 00 05 00 00 00
2 - I used this site to convert a NES Game Genie code, AEKNLPZA, and get three values
value: 00
compare: 02
address: 71CB
(How would I express these as RAW, like the above SNES code?)
So this would be
01 00 00 00 CB 71 00 00 02 00 00 00 00 00 00 00
3 - Using the same site for this code SXTIEG gives 5CE0:A5
value: A5
compare: 00
address: 5CE0
My guess is
00 00 00 00 E0 5C 00 00 00 00 00 00 A5 00 00 00
Am I on the right track?
Using the given example
01 00 00 00 A0 1C FF 00 B5 00 00 00 FF 00 00 00
I understand that this can be broken into 4 parts
01 00 00 00 -> Determines if compare is enabled
A0 1C FF 00 -> Is the ROM address that to be modified.
B5 00 00 00 -> This is the compare value
FF 00 00 00 -> The replace value.
So, am I correct to believe that the first set can only ever be true (01 00 00 00) or false(00 00 00 00)? And if it is false, then the compare value would also be 00 00 00 00?
So here are some examples:
1 - I found a SNES code, C35CBE:05, based on my understanding this would be
00 00 00 00 BE 5C C3 00 00 00 00 00 05 00 00 00
2 - I used this site to convert a NES Game Genie code, AEKNLPZA, and get three values
value: 00
compare: 02
address: 71CB
(How would I express these as RAW, like the above SNES code?)
So this would be
01 00 00 00 CB 71 00 00 02 00 00 00 00 00 00 00
3 - Using the same site for this code SXTIEG gives 5CE0:A5
value: A5
compare: 00
address: 5CE0
My guess is
00 00 00 00 E0 5C 00 00 00 00 00 00 A5 00 00 00
Am I on the right track?