An open API service indexing awesome lists of open source software.

https://github.com/delphidabbler/bdiff

Binary diff and patch programs for the Windows command line
https://github.com/delphidabbler/bdiff

Last synced: 4 months ago
JSON representation

Binary diff and patch programs for the Windows command line

Awesome Lists containing this project

README

        

# 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](https://gravatar.com/delphidabbler). 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](http://delphidabbler.com/software/bdiff).

## 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](https://github.com/delphidabbler/bdiff/releases).

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](https://github.com/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](https://drive.google.com/file/d/0B8qEVqTUMgmJcF9zVnk0Zk1VMDQ/view?usp=sharing).

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](https://drive.google.com/file/d/1KQ3k44NFkOdSDU7-OtNi7JKVs5Mr_gt1/view).

## 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`.