Game cheats: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


PCSX2 uses so-called CRC for each game. This CRC is a special control sum of all bytes in the main game executable. It helps to distinguish not only the different games but even the different regions and the different editions of one game. This is a precaution not to apply the patch created for one game version on another making the game unplayable/crashing. The CRC is a 8 chars long hexadecimal number. You can find the number for your game in PCSX2 console when the game is starting (or on the console caption in some PCSX2 versions, it looks like "'''Game running [CRC=xxxxxxxx]'''").
PCSX2 uses so-called CRC for each game. This CRC is a special control sum of all bytes in the main game executable. It helps to distinguish not only the different games but even the different regions and the different editions of one game. This is a precaution not to apply the patch created for one game version on another making the game unplayable/crashing. The CRC is a 8 chars long hexadecimal number. You can find the number for your game in PCSX2 console when the game is starting (or on the console caption in some PCSX2 versions, it looks like "'''Game running [CRC=xxxxxxxx]'''").
*I found out that you can find the CRC number in the sstates directory where you keep your save states. Each save state of a game is saved with the CRC number of that certain game.(edit-dhillel)


All the patches are stored in the '''patches''' folder by default. Your installation of PCSX2 may already have many patches in it. These are the default ones to improve some games behavior (they skip videos or some sections in otherwise hanging games). When you create your patch it will be placed here as well and will have the name <code><GameCRC>.pnach</code> (for example a patch for Drakan 2 PAL has name '''04f9d87f.pnach''').
All the patches are stored in the '''patches''' folder by default. Your installation of PCSX2 may already have many patches in it. These are the default ones to improve some games behavior (they skip videos or some sections in otherwise hanging games). When you create your patch it will be placed here as well and will have the name <code><GameCRC>.pnach</code> (for example a patch for Drakan 2 PAL has name '''04f9d87f.pnach''').


This tutorial will cover the game [[Resident Evil Code: Veronica X]]. This is not a simple game to play and it's quite simple to cheat plus you may need some cheats playing it. The game starts in a prison with only a knife for a weapon. Our first priority will be to make Claire immortal so her condition will steadily be in green. There is a byte or a word (2 bytes) somewhere in the game memory that is responsible for storing the Claire's condition. Let's assume this is a byte first. We will need to vary this value to catch it so Claire has to take some damage and find a green herb to be able to restore it. It's quite easy to take any amount of damage in this game so it won't be a problem. When you get to the safer place (it may prove harder) press ESC and choose '''Patch Finder...''' from the '''Misc''' submenu of main GUI menu. The pictured dialog will pop up. The dialog allows us to search through '''EE RAM''' and '''IOP RAM'''. Assuming the main work is done by EE processor let's start to search for our condition byte in EE RAM. Every byte has 8 bits and it is the smallest data unit so we will select '''8bits''' size. Let's assume also that the condition cannot be less than zero ('''unsigned''') although it will not make much difference if we would assume otherwise.  
This tutorial will cover the game [[Resident Evil Code: Veronica X]]. This is not a simple game to play and it's quite simple to cheat plus you may need some cheats playing it. The game starts in a prison with only a knife for a weapon. Our first priority will be to make Claire immortal so her condition will steadily be in green. There is a byte or a word (2 bytes) somewhere in the game memory that is responsible for storing the Claire's condition. Let's assume this is a byte first. We will need to vary this value to catch it so Claire has to take some damage and find a green herb to be able to restore it. It's quite easy to take any amount of damage in this game so it won't be a problem. When you get to the safer place (it may prove harder) press ESC and choose '''Patch Finder...''' from the '''Misc''' submenu of main GUI menu. The pictured dialog will pop up. The dialog allows us to search through '''EE RAM''' and '''IOP RAM'''. Assuming the main work is done by EE processor let's start to search for our condition byte in EE RAM. Every byte has 8 bits and it is the smallest data unit so we will select '''8bits''' size. Let's assume also that the condition cannot be less than zero ('''unsigned''') although it will not make much difference if we would assume otherwise.


[[Image:GuideRel_10.png|thumb|Cheat of patch finder]]
[[Image:GuideRel_10.png|thumb|Cheat of patch finder]]
Line 19: Line 21:
Let's enable now our new found cheat to see if it will work. Leave the patch finder dialog and start '''Patch Browser...''' from the same '''Misc''' menu instead. You will see the only line in the tables which must be our patch (see the picture '''Patch Browser dialog'''). Select it and press '''Enable/Disable''' button to enable the patch (notice its state has changed).  
Let's enable now our new found cheat to see if it will work. Leave the patch finder dialog and start '''Patch Browser...''' from the same '''Misc''' menu instead. You will see the only line in the tables which must be our patch (see the picture '''Patch Browser dialog'''). Select it and press '''Enable/Disable''' button to enable the patch (notice its state has changed).  
[[Image:GuideRel_12.png|thumb|Patch Browser dialog]]
[[Image:GuideRel_12.png|thumb|Patch Browser dialog]]
To write the patch to a file in the mentioned '''patches''' folder (i.e. save the patch to disk) press '''pnach Writer''' button, comment the result anyhow (or leave it as it is) and push '''Save'''. We have now saved our patch/cheat to disk so it will always load and work whenever you play the game.  
To write the patch to a file in the mentioned '''patches''' folder (i.e. save the patch to disk) press '''pnach Writer''' button, comment the result anyhow (or leave it as it is) and push '''Save'''. We have now saved our patch/cheat to disk so it will always load and work whenever you play the game.


This patch does not permit the game to change the value at '''004326fc''' (presumably the health) so the value will always be 150 (96 hex). Let's finally go back in game and try to take some more damage only to find out that Claire cannot take any damage now. We have made it!
This patch does not permit the game to change the value at '''004326fc''' (presumably the health) so the value will always be 150 (96 hex). Let's finally go back in game and try to take some more damage only to find out that Claire cannot take any damage now. We have made it!
Line 28: Line 30:


This concludes the tutorial. Have fun and good luck cheating!
This concludes the tutorial. Have fun and good luck cheating!
{{General articles}}
67,565

edits

Navigation menu