Game cheats: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:
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 stay 2-3 million). So now we have eliminated all those useless bytes can prevent us from finding the only needed one. Go ingame and use your green herb to help Claire to recover her health and then jump back into Patch Finder. We have improved our health condition 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 unsigned bytes as singed ones when comparing. It's now only 3-5 values left here (out of initial 13 million!). Looking at them we can notice that the byte at <code>004326fc</code> 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''' button. The '''Add cheat''' small dialog will pop up. Set the '''new value''' field to 150 and press OK.
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 stay 2-3 million). So now we have eliminated all those useless bytes can prevent us from finding the only needed one. Go ingame and use your green herb to help Claire to recover her health and then jump back into Patch Finder. We have improved our health condition 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 unsigned bytes as singed ones when comparing. It's now only 3-5 values left here (out of initial 13 million!). Looking at them we can notice that the byte at <code>004326fc</code> 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''' button. 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''').
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'''). Select it and press '''Enable/Disable''' button to enable the patch (notice its state has changed).
[[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.  


[[Image:GuideRel_12.png|thumb|Patch Browser dialog]]
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). Lets finally go back in game and try to take some more damage...
67,565

edits