PCSX2 pnach files [Information] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Life Support (https://www.supportforums.net/forumdisplay.php?fid=12) +---- Forum: Video Gaming (https://www.supportforums.net/forumdisplay.php?fid=47) +---- Thread: PCSX2 pnach files [Information] (/showthread.php?tid=13908) |
PCSX2 pnach files [Information] - AceInfinity - 11-21-2010 Pnatch files are used to store game patches to bypass certain issues or bugs from incompatability with the PCSX2 emulator, as well as game cheats for those of you who like cheating on games They have a name like ????????.pnach where ???????? is the CRC. The CRC is like the game identification #. Whenever you have patches or cheats enabled. The PS2 emulator will look for that pnach file with that CRC number in it's filename to know that it is the pnach file it's supposed to execute for the patches or cheats you have written inside the file. Example pnach file: 1CAC8A56.pnach [CRC = 1CAC8A56] Code: gametitle=Venus & Braves [NTSC] patch - identifies as a patch 0 - it is not active (1=on and 0=off) just like binary. EE - affects EE memory ( the other option is "IOP"... You don't need to mess with that setting) 003e86a0 - the address affected by the patch word - the data's size that will be written (byte,short,word are also used in it's place) 24020001 - the data that will be written. NOTE: if the data's size (byte,short,word) is smaller than data written here it will get truncated, meaning it will only recognize the most significant values and cut off the rest of the numbers and/or letters for the hexadecimal value. Note: all adresses need to start by 0 or 2 (0??????? and 2??????? are the same and point to the same data) RAW code's can be written into pnach file codes. Things like old gameshark codes. (Master codes are rarely used.) Examples: Code: D056BADC 0000F7FB > patch=1,EE,D056BADC,extended,0000F7FB There seems to be a bug with converting RAW codes like these. However i've only come across a few of these. Here are a list of some of the ones that are a bit buggy that i've read about. Dxxxxxxx 0010yyyy Dxxxxxxx 0020yyyy Dxxxxxxx 0030yyyy Exxxxxxx 1yyyyyyy Exxxxxxx 2yyyyyyy Exxxxxxx 3yyyyyyy For using pnach file codes for cheats in a game, you can turn cheats on or off by definining them as a comment instead of using 1's or 0's to turn them on or off. This makes it easier to see. Example: Code: gametitle= Game name [SLXS XXXX] (R) To turn "Patch 1" off... Identify it as a comment: (added "//" before "patch=1") Code: gametitle= Game name [SLXS XXXX] (R) I haven't got into how to make my own pnach files for cheats and codes, but just like batch files, they are made in a text editor such as notepad. I prefer notepad++, but I guess everyone has their own preference. I am starting to learn how to make my own though. And if you want to learn, If I have time i'll make a super detailed tutorial on it later on how I do it. You'll need a couple programs though, but that can be explained later. If you want more information on this, credits go to http://forums.pcsx2.net which helped me understand a lot of the codes. It's the main forum for the PCSX2 emulator. RE: PCSX2 pnach files [Information] - BlackChaos - 07-11-2011 How come no one has seen this thread? :O Awesome guide mate. I already patched mine quite some time ago. RE: PCSX2 pnach files [Information] - AceInfinity - 07-11-2011 Patches vary from game to game, but I guess people just download them lol. Not worth their time to learn something as complex as this. I used to have issues with truncated values when I first started, but I know how to override that now. RE: PCSX2 pnach files [Information] - Justin - 07-11-2011 Looks like a very sophisticated guide Ace. You took a lot of time to write this, and I thank you. RE: PCSX2 pnach files [Information] - BlackChaos - 07-11-2011 People didn't post because they didn't understand, or they didn't find it of use to them lol Great work on the guide though Ace. RE: PCSX2 pnach files [Information] - AceInfinity - 07-11-2011 Thanks, it did take me a little while as I personally tested all of the example pnach files that I put in the code blocks for the first post. I'm glad after all this time that a couple people found it useful though lol |