Guide:Writing pnach files: Difference between revisions

Added infobox and note for Bentley
(Added a space (again))
(Added infobox and note for Bentley)
Line 1:
{{Infobox guide
| sly1 = y
| sly2 = y
| sly3 = y
}}
 
This guide contains documentation on how to write patch lines in pnach format.
 
Line 12 ⟶ 18:
patch=1,EE,00E98100,extended,00000064
This patch line will constantly write the 8-bit value 0x64 to the address 0xE98100.
 
 
Do note that loading a save-state will force PCSX2 to parse the .pnach contents.
Line 21 ⟶ 26:
 
Below you can find the documentation of the code types available with their respective syntax.
 
{{Note for Bentley|The PNACH documentation below is all in RAW PS2 cheat format. To write a pnach file, you have to convert it to pnach format like above (formatted like `patch=1,EE,XXXXXXXX,extended,XXXXXXXX`).}}
 
== Constant write ==