[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: Test Drive on Hard Drive



Andrew Gerweck (agerweck@nyx10.cs.du.edu) wrote:
(snip stuff about the program he wants to deprotect)

: I have read files that say to 
: change all references to /TD2.MASTER/ to */.  I have a block editor and 
: know how to use it, but how do I replace one string with another of 
: unequal length? 

The byte before the string /TD2.MASTER/ should be the number of 
characters in that string, expressed in hexadecimal. You have to replace 
it with the length of the replacement string.

By the way, this information about altering the length byte of the string 
as well as the string comes in handy in many spots. For example, I used 
it in three places in synthLAB to change its startup music to a nice 
piece by Mannheim Steamroller. :-)

-Gareth