Posted 22 June 2004 - 05:17 AM
Posted 22 June 2004 - 10:19 AM
Posted 22 June 2004 - 02:22 PM
|QUOTE (flattspott @ Jun 22 2004, 10:45 AM)|
| Yes you can in the WIP version.|
Look at the Buffers section. While you wont be able to test it yourself you could still try to write a script based on the WIP specs.
Hmm, maybe you could or someone else could post an example of how to begin editing a file, using buffers, 1 byte at a time ?
Posted 23 June 2004 - 12:08 AM
This is how I would think it could be done. Mind you I tried this with the default.xbe and changed the Matrix Init screen from green to blue.
First you need to know the Buffersize you want to work with.
This is how i did it
|Set COLOR RED|
SetFunc SizeOfBuffer FileSize $ActualPath$\default.xbe
OpenRead InFile $ActualPath$\default.xbe
OpenWrite OutFile $ActualPath$\default.xbe.patched
CreateBuffer PATCH %SizeOfBuffer%
ReadToBuffer InFile PATCH
SetBufferByte PATCH 1977788 0x32
SetBufferByte PATCH 1977789 0x58
SetBufferByte PATCH 1977788 0x31
SetBufferByte PATCH 1977789 0x33
WriteFromBuffer OutFile PATCH
Edited by flattspott, 23 June 2004 - 12:09 AM.
Posted 23 June 2004 - 12:18 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users