Page 1 of 1

[Updated] Patch Creator!

Posted: Thu Jun 22, 2006 10:51 pm
by Killswitch
[Update]

I've improved the the Patch Stub, so it shows the percentage done per file and overall for the patch. Enjoy!

DOWNLOAD


I've always wanted to make a byte-by-byte patcher with PB, but it's only over the past week that I've managed to hammer out the code - and here it is!

The program is set up like a wizard, you chose the name of the patch (which'll be a .exe), the directory all of the files to be patched are in, then the individual 'old' files and 'new' files for the patch and the program does the rest.

The 'Old' file is compared with the 'New' file and only bytes which are different are stored and used in the resulting patch - this should make the patch smaller in size than just redistributing a whole file. It can handle upto 10,000 different files to patch.

Once the patch is finished a message box will open up to confirm that the patching has finished.

I wouldn't quite trust this enuogh to use on criticial files, so always keep a backup.

I've included an example (located in the Example folder) patch with the .zip. Run both Old.exe and New.exe and see that they're different. Then run Patch.exe and see that Old.exe has been patched to match New.exe.

DOWNLOAD

Enjoy!