Guide:Writing pnach files: Difference between revisions

Modified "Format" information
(Modified "Format" example)
(Modified "Format" information)
Line 3:
== Format ==
 
Pnach format takes inspiration from RAW PS2 cheat codes. A RAW PS2 cheat code is composed of 2 valid hexadecimal numbers (0-9, both hexadecimalA-F), 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:
35

edits