Guide:Writing pnach files: Difference between revisions

Modified "Format" information
(General modification.)
(Modified "Format" information)
Line 3:
== Format ==
 
Pnach format takes inspiration from RAW PS2 cheat codes. A RAW PS2 cheat codescode areis composed of 2 numbers, both always hexadecimal without the prefix "0x" and always composed of 8 digits.:
XXXXXXXX YYYYYYYY
 
To convert a RAW PS2 cheat code to a patch line to be used in a pnach file, one must add "patch=1,EE," before the first number, and ",extended," before the second number.:
patch=1,EE,XXXXXXXX,extended,YYYYYYYY
 
For example, a RAW PS2 cheat code could be:
00E98100 00000064
35

edits