Game cheats: Difference between revisions

1,745 bytes added ,  8 November 2009
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
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 neither it's too simple to cheat but 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. Lets 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 plant 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 lets 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. Lets 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 neither it's too simple to cheat but 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. Lets 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 lets 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. Lets 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]]


Currently this dialog holds no data, this is its the starting state. As the Claire health must be greater than a zero now (or else she would die) lets select '''Greater''', compared to '''Specific Value''' and place a zero in the edit box. Lets hit '''Search''' after that. The program will find some 13 million values greater than zero. Thats good for a start. Lets hit '''Close''' button now and return to game by '''Run'''-'''Execute'''.
Currently this dialog holds no data, this is its the starting state. As the Claire health must not be equal to a zero now (or else she would die) lets select '''Not Equal''', compared to '''Specific Value''' and place a zero in the edit box. Lets hit '''Search''' after that. The program will find some 13 million values greater than zero. Thats good for a start. Lets hit '''Close''' button now and return to game by '''Run'''-'''Execute'''.


We'll need to walk around a bit (make a few steps) and press ESC again getting to the patch finder by '''Misc'''-'''Patch finder''' menu. We can see that the page is still holding our previous search so now we will search in those 13,5 million bytes left (we need to find only one!). There's no changes in Claire condition from the last time so set the options as '''Equal''' and '''Old Value''' (we're leaving only those bytes not changed from the previous search). Press '''Search''' again. Now the number of result bytes is decreased by many thousands maybe a million if you're lucky enough (see '''Intermediate stage''' picture).
We'll need to walk around a bit (make a few steps) and press ESC again getting to the patch finder by '''Misc'''-'''Patch finder''' menu. We can see that the page is still holding our previous search so now we will search in those 13,5 million bytes left (we need to find only one!). There are no changes in Claire condition from the last time so set the options as '''Equal''' and '''Old Value''' (we're leaving only those bytes not changed from the previous search). Press '''Search''' again. Now the number of result bytes is decreased by many thousands maybe a million if you're lucky enough (see '''Intermediate stage''' picture).


[[Image:GuideRel_11.png|thumb|left|Intermediate stage]]
[[Image:GuideRel_11.png|thumb|left|Intermediate stage]]
You will have to repeat this process by entering back in game playing a small its portion (entering the new area, changing or firing weapons, etc...) and coming back to this menu until the number of bytes left will be almost unchangeable (it will around 2-3 million). So now we have eliminated all those useless bytes can prevent us to find the only needed one. Go ingame and use this green herb to help Claire to recover her health and then jump back into Patch Finder. We have increased our health condition byte so we will change the option from '''Equal''' to '''Not Equal''' and hit '''Search''' again. Note that we cannot use '''Greater''' here because strangely enough patch finder still will treat whose unsigned bytes as singed ones when comparing. We must have only 3-5 values left here (out of initial 13 million!). Looking at them you'll notice that byte at <code>004326fc</code> now have a value of 150 (decimal) (or in some cases the finder will show -106 which is still 150 because our byte must not have a sign this is a fault of patch finder to proper understand our instructions). So the byte at '''004326fc''' has been increased from say 100 to 150. This makes sense as a health with maximum value of 150. Lets assume we have found the needed byte. Select it in the result pane and press '''Add''' key. The '''Add cheat''' small dialog will pop up. Set the new value field to 150 and press OK.
Lets 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''').
[[Image:GuideRel_12.png|thumb|Patch Browser dialog]]
67,565

edits