..:: PCSX2 Forums ::..

Full Version: How pnach files work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Create one
what should it be called just cheats?
yup just cheats. so it's going to be c:\pcsx2\cheats.
hey i made a post asking for help could u take a look and see?
crc for persona 3 fes: 0x94A82AAA

gametitle=Shin Megami Tensei-Persona 3 FES [SLUS_216.21;]
comment=Persona 4 Cheats

// Max Courage
patch=1,EE,007973F4,word,000000FF

// Inf Money
patch=1,EE,2079B68C,word,05F5E0FF

// Inf Health
patch=1,EE,207973CC,word,000003E7
patch=1,EE,007973CC,word,000003E7

// Inf Spirit
patch=1,EE,207973CE,word,000003E7
patch=1,EE,007973CE,word,000003E7

when i try to run the disc it says no cheats found starting without cheats. im obviously new to this and ive spent hours trying to figure it out. some help would be greatly appreciated.
Make sure the file name is 94A82AAA.pnach. Do not put the 0x in front and in Windows make sure you show known file extensions so you can ensure it isnt .pnach.txt
help me please i try to make a .pnach file but is not working T_T
anyone pls hlp me for this cheats game ^_^
gametitle= dot Hack - Part 1 Infection [SLES 52237][PAL] [B5A7735B]
//Money
patch=1,EE,2A5FA0B3,word,0098967F
patch=1,EE,1AA5B26E,word,0000FFFF
//Level 99 kite
patch=1,EE,1A9FB26E,byte,00000063
//Max HP SP
patch=1,EE,2A4FA0B3,extended,03E7270F
patch=1,EE,1AB5B26E,word, 0000270F
//Physical Attack
patch=1,EE,1AB9B26E,word,000003E7
//Physical Defense
patch=1,EE,1ABBB26E,word,000003E7
Please make sure that you ask that in the post your cheats/pnachs here Smile and make your own thread next time instead of hijacking it Smile
(04-29-2013, 04:03 PM)ArioJKDN Wrote: [ -> ]help me please i try to make a .pnach file but is not working T_T
anyone pls hlp me for this cheats game ^_^
gametitle= dot Hack - Part 1 Infection [SLES 52237][PAL] [B5A7735B]
//Money
patch=1,EE,2A5FA0B3,word,0098967F
patch=1,EE,1AA5B26E,word,0000FFFF
//Level 99 kite
patch=1,EE,1A9FB26E,byte,00000063
//Max HP SP
patch=1,EE,2A4FA0B3,extended,03E7270F
patch=1,EE,1AB5B26E,word, 0000270F
//Physical Attack
patch=1,EE,1AB9B26E,word,000003E7
//Physical Defense
patch=1,EE,1ABBB26E,word,000003E7

These codes looks still encrypted, but let's talk about that "explicit" value length usage.

address offset starting with a 0 is byte, 1 is short and 2 is word. But you should really avoid using this deprecated format, replace "word" by "extended" in all lines above. Let the pnach decide the correct length based on the original code so you would not need to change the first digits... maybe examples is better than trying to explain:

Code:
//Money
patch=1,EE,2A5FA0B3,word,0098967F
patch=1,EE,1AA5B26E,word,0000FFFF

This code is double wrong and possibly will crash the emulator at once.
The first code on the pair is indeed a word but the address is wrong because it ends in B3 which is odd and word addresses are not only even as must be multiple of 8, so the code is still encrypted.

The second is plain and inexorably wrong. the conde length is "short" instead word and it is proved because starting with 1 and the FFFF suggest it... but using that explicit format the address starting with 1 places the code in the emulator's core space and probably will crash it.

Conclusion, make sure the original code is properly decoded and use "extended" ... always, for all new pnach. Doing so, you never need to and "must never" change the address first digit.

PS: This thread asked about how pnach works, for specific cookbook recipes there is specific thread.
Hello everyone...newbie here.

I just downloaded the emulator yesterday and my first ROM today. I chose "Monster Hunter" for my first experiment as it was one of my fav games on the PS2.

I did some hunting around online and found some codes that I would like to implement, but they were not written according to the sample "cheat" that came with the emulator. I will post the "cheats" as they appeared online and then will post how I "think" they should be written based on what I have gathered from this thread. I might be completely wrong, but it's a start.

Another questions I have...

Do I name the file the same thing as the original sample cheat file or can I name it anything?

here is the code as written online...


Enable Code (Must Be On)
B4336FA9 4DFEFB79
5914910B B1B75C6D
6D0B96A9 90A4B2BB
57E1657F 4723686D

Infinite Money
BF5A8BB0 0F78A7B6

Max Money
BE61B639 A862A62B

Infinite Health
2BD368B2 7DB6C384

Infinite Stamina
CEAA2E03 8A7B8290

Max Health
4B265269 F0786F8A

Max Stamina
BA229E56 920CF0FC

Max Attack
254D76B3 8A6A0DE5

Max Defense
9CC0705E D348BFC1

Max Fire Res
9540D019 60FFF82D

Max Water Res
9ECC51D5 14469D70

Max Thunder Res
D0E44A7C FFC3CE2D

Max Dragon Res
E25BCF6A 8FF4834E

Infinite Quest Time
BB644F1C 3063927A

This is how I interpreted that based on what I have read so far...

gametitle=Monster Hunter [SLUS 20896] (E)


//Enable Code (Must Be On)
patch=1,EE,B4336FA9,word,4DFEFB79
patch=1,EE,5914910B,word,B1B75C6D
patch=1,EE,6D0B96A9,word,90A4B2BB
patch=1,EE,57E1657F,word,4723686D

//Infinite money
patch=1,EE,BF5A8BB0,word,0F78A7B6

//Max Money
patch=1,EE,BE61B639,word,A862A62B

//Infinite Health
patch=1,EE,2BD368B2,word,7DB6C384

//Infinite Stamina
patch=1,EE,CEAA2E03,word,8A7B8290

//Max Health
patch=1,EE,4B265269,word,F0786F8A

//Max Stamina
patch=1,EE,BA229E56,word,920CF0FC

//Max Attack
patch=1,EE,254D76B3,word,8A6A0DE5

//Max Defense
patch=1,EE,9CC0705E,word,D348BFC1

//Max Fire Res
patch=1,EE,9540D019,word,60FFF82D

//Max Water Res
patch=1,EE,9ECC51D5,word,14469D70

//Max Thunder Res
patch=1,EE,D0E44A7C,word,FFC3CE2D

//Max Dragon Res
patch=1,EE,E25BCF6A,word,8FF4834E

//Infinite Quest Time
patch=1,EE,BB644F1C,word,3063927A

I have not even attempted it yet because I was afraid I might screw something up. Can someone look it over and let me know if I am correct? I was curious about the text spacing and whether the second part of the code was actually "word"...I saw a post saying that it could be "extended"...

I just don't want to mess up on my first attempt.

Any help would be much appreciated.

Thank you
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15