Check out bsdiff and bspatch (website, manpage, paper, GitHub fork).
To install this tool:
- Windows: Download and extract this package. You will also need a copy of
bzip2.exeinPATH; download that from the “Binaries” link here. - macOS: Install Homebrew and use it to install
bsdiff. - Linux: Use your package manager to install
bsdiff.