..:: PCSX2 Forums ::..

Full Version: Any way to disable single cheats within a pnach file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any text command I can use to disableĀ individual cheats within a pnach file? For example I have one of my pnach cheat files set up like this:

comment=Dawn of Mana

// Enable Code
patch=1,EE,F050B5B4,extended,0050B5B7

// Max Money
patch=1,EE,206C5414,extended,3B9AC9FF

// Max Health
patch=1,EE,106C5350,extended,00009C40

Is thereĀ some kind of command line I can put above any one code to turn it on or off, while keeping some of the codes on?
Put // in front of the line you want to disable. It'll comment it
(02-24-2019, 07:16 PM)jesalvein Wrote: [ -> ]Put // in front of the line you want to disable. It'll comment it

So if I wanted to disable the "Max Money" code I write it like this:

comment=Dawn of Mana

// Enable Code
patch=1,EE,F050B5B4,extended,0050B5B7

// Max Money
//patch=1,EE,206C5414,extended,3B9AC9FF
Yes exactly Smile
You don't need the "Enable Code" btw
There's also another way. On the patch line, set it equal to 0 (like patch=0,EE,XXXXXXXX,extended,XXXXXXXX)
That will work only for games that don't reset the value under any situation because it set a value at the game start\boot once and then turns off...obviously for "money" you can't use this