Joined: 21 Mar 2006 Posts: 172 Location: Knee deep in a c++ book
Posted: Tue Jan 29, 2008 2:20 pm Post subject:
the game shark code is split into 3 parts
"xx - xxxxxx - xxxx"
"30 - 0ccf09 -0063"
30 says it is one byte.
0ccf09 is the memory address.
0063 is the value to put in that address in hexadecimal.
Ok now in place of 30 it could be
"80 - 0ccf09 - 0063"
Which is saying that it is a word value at address 0ccf09 and to insert 0063*.
But that wont work because 0ccf09 is odd so you would have to use something like this to put in a value bigger than 255.
"30 - 0ccf09 - 0063 and 30 - 0ccf0a - 6300" 65441
Then you could also have something like.
"D0 - 0ccf09 - 0063"
Which says do the rest of it if 0ccf09 = 99.
Ok now to explain the hexadecimal system it is to the powers of 16.
So ff = (15*1) + (15 * 16) or 255.
Another example would be FFA1 = (1*1)+(10*16)+(15*256)(15*4096) or 65441.
Ok here is a table for hexadecimal.
Code:
F = 15
E = 14
D = 13
C = 12
B = 11
10
9
8
7
6
5
4
3
2
1
Ok now you do x*16^y x = the value of that number and y = the numbers position from left to right
So FFF is saying (15*1) + (15*16) + (15* 256) or (15*16^0) + (15*16^1) + (15*16^2).
If you did'nt do the math FFF = 4095.
Now the hard part i need to find my research on converting cheatengine to gameshark addresses i will post the rest when i find them. Remember always scan with byte or two bytes on cheatengine.
It seems for psx gameshark codes i just devide the cheatengine address by 5. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum