Xdelta Patching

From Modding Fridays
Jump to navigation Jump to search

Xdelta is a popular binary diff format used to share translation hacks and other game modifications.

Installation

  • installation, might be already in your distro
apt install xdelta3

Usage

  • if you trust the original filename given by the patch (caveat: you may end up with a filename that's a Windows absolute path)
xdelta3 -d -s original.bin patch.xdelta
  • if you want to specify you own filename (caveat: you will have to update original.cue to reflect the changes)
xdelta3 -c -d -s original.bin patch.xdelta > patched.bin