The first line contains a brief description of the patch, terminated by a single newline. The second line contains information on the author, terminated by a single newline. The third line and beyond are data lines. To end the patch file correctly, make a data line simply be a newline, and patcher will stop.
The first item is a number, which is the offset in bytes from the beginning of the file of where to put the patch. The number is in base 10 (decimal). A space follows.
The second item is a number, which is the byte which is to be replaced in the file. Patcher does a simple check to see if the bytes match before making the replacement to ensure that the file is only patched once and that the correct spot is being patched. The number is in base 16 and is two characters long, followed by a space.
The third item is a number, which defines the method. Any information after the method but before the newline is defined by the method.