|
Well I'm not the ideal person to ask... but
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
| CODE | 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
Goto %COLOR%
:BLUE SetBufferByte PATCH 1977788 0x32 SetBufferByte PATCH 1977789 0x58 Goto Done
:RED SetBufferByte PATCH 1977788 0x31 SetBufferByte PATCH 1977789 0x33
:Done
WriteFromBuffer OutFile PATCH
CloseHandle PATCH CloseFile InFile CloseFile OutFile |
This post has been edited by flattspott: Jun 23 2004, 12:09 AM
|