View Single Post
  #32  
Old 30-07-2008, 08:18
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
then do it manually with a hex editor...

00026B20: 6A B0
00026B21: FF 01
00026B22: 68 C3

first part is file offset, 2nd column is the original byte pattern, third column is the byte to put in (overwrite)

so...

file offset 00026B20 -> change the 6A to B0
file offset 00026B21 -> change the FF to 01
file offset 00026B22 -> change the 68 to C3

which i think is effectively

mov al, 1
retn

either way, 3 bytes to patch, pretty simple

use hexworkshop (www.bpsoft.com) or something to edit the file
make sure OVERWRITE (press the ins key so the OVR part in the bottom status window is enabled)...

then edit -> goto -> enter the file offset (make sure HEX is selected)
click go

make sure the hex window left portion is where the cursor is and type in the replacment byte

repeat it for the 3 places you have to patch

hmm actually, its all one after each other

so just goto the first offset, make sure OVR is on (you may get a nag about this)
and enter the 3 bytes to replace (B0 01 C3) - you should see the original bytes too ( 6A FF 68 )

if you do NOT see those original bytes there, do NOT make the changes...

also, BACKUP the file you're editing, in case you make a mistake...

once done, file->save to save the changes you made...
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...

Last edited by TippeX; 31-07-2008 at 01:47. Reason: forgot about the save bit
Reply With Quote