News

Features

Preview

Download

FAQ

[pec]chu ?

Support

Legal Things

Kmjk's [pec] FAQ

Blini!

CyberPad

PhotoME






How can i find 'known values', like money or points ?

This step-by-step description shows how to make a '65535 points'-code for Grand Theft Auto (PAL). This system works for sure in many other games too.

1. Start the game in an emulator which support PSEmu Pro GPU Plugins and select don't forget to select as GPU Plugin in it.

The red marked number, is the number of your current points. At startup, you will have 0 points (how unusual :-P )

2. Play a bit to get some more points than 0
3. Press Ctrl+H to open the [pec]chu.

4. Select in 'Search For :', 'Equal Value', in 'Data Type :', 'Short (2 Bytes)' and in Value, enter the number of your current points (in my case 120).
I expect that the maximal possible point-value isn't bigger than 65535 (2 Bytes/Short).

5. Click on 'Search'. You will see the number of the founded addresses above the address-listbox. In my case it found 970 addresses.

6. Click on 'Resume Emulation' to resume the game.
7. Play a bit to increase your points.

8. Press Ctrl+H to enter the [pec]chu.
9. Enter the new numbers of points in the value field (in my case 210).

10. Click on the 'Continue'-button, this will resume the search. The new number of founded addresses will be decreased, in my case to 1 (what a luck).
If you found more than 1 address, simply start again from step 6, till you have only 1 or 2 addresses left.

11. Select the first address and click on the 'Modify'-button
12. A new, small window will popup which ask for an value. Since you've 'Short (2 Bytes)' selected as data type the max. value which you can enter is 65535 (in the decimal or FFFF in the hexadecial system).

13. Enter 65535 and press OK.

14. The window will get closed and the memory address will be overwritten with the new value.

15. Click on 'Resume Emulation' and see what happens.
16. And voila ! The points increased to 65535.

Now you can click on the 'Copy' button in [pec]chu to copy the founded address to the clipboard.
In my case the founded address was 8002B49C.
GameShark codes with a two byte value have the prefix 80, so we don't need to modify the address, but we need to add the new memory value to it (in hexadecimal). 65535 = FFFF in hexadecimal.
That means the final GameShark code will be 8002B49C FFFF !!!

You can add this code to the user database in [pec] now, or use it with PECEdit or with your real PSX GameShark ... everything is possible ! :-)

Note 1 : If you modify wrong addresses the emulation can abort the emulator.

Note 2 : Not all games use 65535 (FFFF) as maximal point-value. It could also be that another game use only 1 Byte to save the value (so the maximal points are 255) or 4 Byte to save the value (the maximal points would be 4294967295). So you need to play a bit with the settings.

Check also the other step-by-step-descriptions :

How can i find 'known values', like money or points ?
How to make a code for no damage in Driver 2

Back to top

Copyright © 1999-2025 by Jens Duttke.