Skip to content

delphidabbler/bdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BDiff / BPatch

Binary diff and patch programs for the Windows command line.

Introduction

BDiff computes the differences between two files, say file1 and file2. Output can be either a somewhat human-readable protocol in plain text, or a binary file that is readable by BPatch.

BPatch applies a binary patch generated by BDiff to file1 to recreate file2.

See the files BDiff.md and BPatch.md in the Docs directory for details of how to use the programs.

BDiff and BPatch are derived from Stefan Reuther's bdiff and bpatch v0.2 and a later bug fix by Stefan.

The original C source was translated into Object Pascal by Peter D Johnson. The programs are based on updates of the Pascal code base.

The programs should run on Windows 7 SP1 and later.

For more information see the see the project web pages.

Installation & Uninstallation

BDiff and BPatch are available as both 32 bit and 64 bit Windows console applications.

The latest release can be downloaded from the project's GitHub releases page.

Both programs are packaged together in a zip file. There is one zip file for the 32 bit Windows version and another for the 64 bit Windows version. Download the desired version and unzip the file.

Copy the both executable files to the required location. Always place both programs in the same directory. No further installation is required.

You may want to modify the Windows PATH environment variable to include the location of the programs.

To uninstall simply delete the programs. They make no changes to the system. If you changed the PATH environment variable you may wish to adjust this.

Tests

You can test the operation of BDiff and BPatch using the Test.bat, Test32.bat and Test64.bat scripts in the Test directory. See ReadMe.md in that directory for details.

Source Code

Pascal Source

The current source code is maintained in the delphidabbler/bdiff Git repository on GitHub. It contains releases going back to v0.2.5. Earlier versions were not under version control and are no longer available.

Note: Until February 2014 the source code was maintained in a Subversion repository. A dump of the repo is available from Google Drive.

For information on how to build the Pascal source, see Build.md in the root of the Git repo.

C Source

The original C source code can be downloaded from Google Drive.

Copyright and License

See the file LICENSE.md for details of copyright and the license that applies to this software.

Change Log

The change log is provided in the file CHANGELOG.md.