-
-
Notifications
You must be signed in to change notification settings - Fork 21
DPS
Boris Timofeev edited this page Sep 28, 2016
·
2 revisions
The document is based on source code of DPS patcher by Marc de Falco
-
64 bytes: name of the patch
-
64 bytes: author of the patch
-
64 bytes: version of the patch
-
1 byte: patch flag (1 if the patch unstable)
-
1 byte: dps version
-
4 bytes: the size of the original rom
-
? bytes: DATA (repeated until the end of file)
-
1 byte: mode [0 or 1]
-
4 bytes: offset in the output rom
-
? bytes: CHUNK
-
4 bytes: length X
-
X bytes: data
If mode == 1, the data is copied from the original rom to the output rom.
-
4 bytes: offset in the input rom
-
4 bytes: length
If mode == 0, the data is copied from the patch file to the output rom.