hi people
how can I write a programme to patch a code??
(like hutch's "TheGun editor" )
if any example will help me lot
Thanks :bg
:lol :lol :lol :lol :lol :lol :lol :lol
anuradha,
Its very simple as long as you know WHERE to write the patch. In TheGun and TopGun its easy as I store the settings in unused space in the header of the EXE file.
Basically what you do is know the absolute offset of the location you want to write to, load the entire file into memory, write the data you wish to change to that offset from the start of the file then save it back to disk.
hi
I know it's a stupid question to ask
but any way thanks hutch for reply. :U
Why not reading mastas tuts? I am sending you a txt which will be very helpful.
[attachment deleted by admin]