Newest Translations

The Terminator The Terminator The Terminator Bloody Wolf

Newest Utilities

Kuriimu BgMapper 8mimic 7mimic
  • Miscellaneous | Multiple
  • Miscellaneous Graphics Tools | SNES
  • Graphics Viewers | PSX
  • Graphics Viewers | PS2

Newest Documents

Documents

Newest Reviews

Zelda - Link's Awakening DX Hero Mode Playable Golbez Edition Super Mario Kart - Shelfall Series 1 Super Mario Bros 3 Voice Removal

Newest Homebrew

MashyMashy UWOL - Quest for Money Christmas Craze Russian Roulette

BsPatch

Patching

Description:

bsdiff and bspatch are command line tools for building and applying patches to binary files. It creates and applies BDF patches.

By using suffix sorting (specifically, Larsson and Sadakane’s qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a $2750/seat commercial patch tool).

The algorithm used by BSDiff 4 is described in the (unpublished) paper Naive differences of executable code;.

To apply “patch.bdf” on the file “bad.aaa”, generating “good.aaa” just type: bspatch bad.aaa good.aaa patch.bdf

To create “”patch.bdf” that generates “good.aaa” from original “bad.aaa”, just type: bsdiff bad.aaa good.aaa patch.bdf

Links:

User Review Information
No User Reviews!