Xref: news2.mv.net comp.os.msdos.djgpp:6909 From: lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann) Newsgroups: comp.os.msdos.djgpp Subject: Re: creating patches Date: 7 Aug 1996 14:08:52 GMT Organization: Technische Hochschule Darmstadt Lines: 28 Message-ID: <4ua81k$1mo9@rs18.hrz.th-darmstadt.de> References: <32079528 DOT 3027905 AT nntp DOT ix DOT netcom DOT com> NNTP-Posting-Host: fb0404.mathematik.th-darmstadt.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp simma AT ix DOT netcom DOT com wrote: : This question may have being asked a couple of times, but the archives : of this newsgroup have nothing on it. Anyway, I am intrested in how : it is possible to create patches for already compiled programs. If : anyone know of a program that does it, please respond. I'm not sure if there is a free program available that can do that (obviously, if you chance only a few bytes, you can write a simple that will check for the old byte sequence and change it to the new one), if you recompile a program, lots of things may change, so there are much smarter strategies required that just a diff (like on text files). It seems that e.g. ID software is using a commercial program that can do that to create patches for their releases, maybe there is a contact address for the company in any of the patches of doom, etc. OTOH, if you just want to make sure that the patch is only useful for people that have to original release and are not converned about size, I think you can just encode the new files with the old ones (just xor or something) and apply the patch based on the old files. bye, Alexander -- Alexander Lehmann, | "On the Internet, alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows lehmann AT mathematik DOT th-darmstadt DOT de (plain) | you're a dog."