Tutorial:
Understanding more about CWCheat database
Tool(s) used: -
Now let's get into the database, understand the format and learn to read it.
CWCheat database format:
_S is the game unique id (you can get the id at the cheat menu), _G is the game name, _C0 and _C1 is the cheat description, "what's the different between that 0 and 1?" 0 = [N] and 1 = [Y], it's just the default setting, disable or enable the cheat, it makes no big different, just use _C0 will do. _L is the cheat code.
Now let's have a look of non-DMA cheat format in the database,
Citazione:
_S ID
_G Game name
_C0 Cheat description
_L 0x#XXXXXXX 0xXXXXXXXX
|
# is the bit,
0 = 8bit (0-255)
1 = 16bit (0-65 535)
2 = 32bit (0-4 294 967 295)
XXXXXXX is the address
XXXXXXXX is the value in hexadecimal
Now let's have a look of DMA cheat format in the database,
Citazione:
_S ID
_G Game name
_C0 Cheat description
_L 0x6XXXXXXX 0xXXXXXXXX
_L0x000X0001 0xXXXXXXXX
|
6 will always start with 6, because it's a pointer. Next time you saw it start with 6, you automatically should know that it's a pointer
XXXXXXXis the pointer
XXXXXXXX is the offset
X is the code type,
0 = 8bit write
1 = 16bit write
2 = 32bit write
3 = 8bit inverse write
4 = 16bit inverse write
5 = 32bit inverse write
1 is 1 because it's a normal pointer, for almost all the time it's a normal pointer so you just leave it as 1.
XXXXXXXX is the value in hexadecimal
Try to open up cheat.db and figure which is non-dma and dma code, by now you should be able to add new cheat yourself.