Archive: VPatch patch generator source to be in NSIS CVS soon


VPatch patch generator source to be in NSIS CVS soon
I've just sent the source code of VPatch 2.0 final patch generator, runtime and GUI to Joost, so for people who asked for the source code of the patch generator: it's in there.
I'm not sure when Joost will have time to upload it into CVS, but be sure to look out for it if you were interested.

If you have any questions concerning the code or have suggestions on how to improve, you can direct them to me ;)


Uploaded :D


where can i get a compiled version of User interface? I have no delphi 6 to compile it

[EDIT]OK, ok, just haven't read the whole readme (this code is written in Borland Delphi 6 and compiles with the freely available Personal edition), maybe this should not be added only to the changelog. :D
[/EDIT]

DOCa Cola


Changed that.

The UI is not that important, the GenPat tool is very easy to use and the Readme contains good instructions.


then the gui is the same thing as the command line tool? i hoped it is something like a 2 directory compare and set up a patch file or something :) (haven't compiled it yet, got to complicated with registering that stuff)


I have not yet created the non-NSIS distribution, which will have a precompiled GUI. The GUI allows you to select a single old file, and then (multiple) old versions of that file. Then you can use a slider to set the block size, and hit "generate".
When there were lots of options to set, the GUI was useful, but currently the command line version is just as powerful.

A directory compare is not in there. That is because generally, you should only patch *big* files which are changed. The savings of patching a 10KB readme to a new version, for example, is not worth the effort. And executable patching does not generally give good compression.


yea, the thing is that i have a 100mb distribution to patch to a new version with many files changed and keep the package as small as possible...

at the moment i compare two directories with a compare program which gives out a file list and a small nsis setup using the command line tool to make a patch file and generate patch code, maybe something like this in a more professional made shape would be helpful

and thx for the great plugin, thats a very important add to nsis!

DOCa Cola


I'll see if I have the time to improve the GUI. No guarantees given.