rom-weaver

How to apply an xdelta patch to a ROM or disc image

Apply an xdelta patch to a ROM or disc image online with rom-weaver's Apply page. You do not need to install xdelta. Files stay on your device.

What do you need?

  • The patch: a .xdelta, .delta, .dat, or .vcdiff file. It holds only changes, not the game.
  • Your own copy of the exact ROM, disc image, or track the patch author names.
  • The author's notes: region, revision, image layout, and a checksum when they give one.

Apply the xdelta patch

  1. Open Apply.
  2. Drop the ROM or disc image and the patch into 0x01 Inputs, or choose Add files.
  3. Wait for Checksumming to finish. If asked, choose the entry the author names.
  4. Check the source file. The patch card's Checks line shows XDELTA or VCDIFF, and a check circle or a dashed circle.
  5. Choose APPLY & DOWNLOAD and save the result.

The download is named after the source file and the patch, such as game [hack].bin. Your original file stays unchanged.

Check the source file

An xdelta patch has no fixed checksum of the file it expects unless the author used xdelta3's armor option. What it catches depends on how the author made it.

  • A patch made with the armor option records a BLAKE3 digest of the source. A wrong source fails with a checksum mismatch message, and APPLY & DOWNLOAD is blocked.
  • A patch with window checksums catches a wrong source. The card shows Checks failed with a checksum mismatch message, and APPLY & DOWNLOAD is blocked.
  • A patch with neither applies to a wrong source without a warning.

For patches without armor, a dashed circle means the patch only applies, so compare the author's checksum yourself. Add it as an input check on the patch card, as in Check the ROM yourself. A wrong file then fails the check.

After a failed check, Fix a source ROM checksum mismatch lists the causes. A fresh file dropped into 0x01 Inputs replaces the wrong one.

Patch a disc image

A disc patch fits one exact image layout. Add the files the author names:

  • an .iso on its own;
  • a BIN/CUE disc with its .cue and every .bin track;
  • a CHD, RVZ, ZIP, or 7z as it is, because Apply unpacks it first.

A .bin or .iso extension does not prove the layout, so compare the author's checksum with the image or track, not with the archive around it.

A disc image's output starts on a compressed disc format, such as .chd. Choose the output and apply explains how to keep raw files instead. Large discs need free memory and storage; browser limits gives the details.