Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Patches

987123879113 edited this page Jun 14, 2022 · 1 revision

To enable patch files, you must go to System > Game Settings > and select "Enable Cheats". Then you must add the appropriate PatchFile=C:\\Python2\\game2.pnach line to the game you wish to specify cheats for into your Python2.ini. See Python2.ini Example Configuration for examples of how to use the PatchFile setting.

pnach

PCSX2 uses pnach files for patches. For a detailed explanation of how the pnach format works, read this thread: https://forums.pcsx2.net/Thread-How-PNACH-files-work-2-0

Extended pnach

The extended pnach format used by the P2IO fork has all of the features of the standard PCSX2 pnach files but includes an additional new command patchExtended which can be used to ensure that the data matches what is expected before overwriting it.

A very basic extended pnach file looks like this:

gametitle=DDR Supernova 2 (JAA)

// Change logger level
patchExtended=1,EE,2c20bc,word,00000004,00000002

The above patch says to replace the data at 0x2c20bc with 00000004 ONLY IF the value at 0x2c20bc is 00000002. This is useful because Python 2 games use multiple bootloaders before loading the actual game's code, and modifying the bootloader's code could cause the game to not boot at all.

Clone this wiki locally