Binary->patch converter
Binary->patch converter
Uploaded and given a topic here for the Doctor.
This will scan a patch file with %patchfile commands and convert these to the equivalent patch, that doesn't require external files. (If you want to be utterly mad, you can even convert patch storytext, etc this way.)
It's quite old now (3 years) and hasn't been exhaustively debugged, but should work. I hope it can be used to make file-free versions of simple patches like those Lemm churns out, that have those impenetrable (to the uninitiated) binary files.
Get it here: http://levellord.rewound.net/PATNARY.zip
This will scan a patch file with %patchfile commands and convert these to the equivalent patch, that doesn't require external files. (If you want to be utterly mad, you can even convert patch storytext, etc this way.)
It's quite old now (3 years) and hasn't been exhaustively debugged, but should work. I hope it can be used to make file-free versions of simple patches like those Lemm churns out, that have those impenetrable (to the uninitiated) binary files.
Get it here: http://levellord.rewound.net/PATNARY.zip
-
- Posts: 120
- Joined: Wed Dec 16, 2009 5:20 pm
-
- Posts: 120
- Joined: Wed Dec 16, 2009 5:20 pm
My assembler outputs a single binary file and I place the relevant pieces into their places in the game using these parameters.[3.3.1.3] %patchfile (Load patch data from file)
%patchfile <offset> <file> [seek [length]]
Loads the file specified by <file> into the executable image in
memory at the offset given by <offset>. [seek] and [length] are
both optional integer arguments that specify the starting file
offset (0 is the start of file) and maximum number of bytes to read
into memory. If the [seek] and [length] arguments are both omitted,
then the entire file is read into memory starting from the
beginning.
-
- Posts: 120
- Joined: Wed Dec 16, 2009 5:20 pm
Sorry, internet was removed due to lack of money. But I'm back now.
The working Patnary can be got at: http://dl.dropbox.com/u/3940020/Patnary.zip
The working Patnary can be got at: http://dl.dropbox.com/u/3940020/Patnary.zip
- troublesomekeen
- Posts: 223
- Joined: Fri Feb 03, 2012 7:56 pm
- Location: Shadowlands
- Contact: