Runs entirely in your browser. Your files are never uploaded.
This tool needs JavaScript and a current browser. You can always use the free Delta Patcher desktop app instead.
What an XDelta patch records about its source
An XDelta patch doesn’t contain the original file, and the format has no field for “the checksum of the file you need”. It does carry several clues, and the inspector reads all of them:
| Clue | Where it comes from | How useful it is |
|---|---|---|
| Source file name | xdelta3 writes the original and output file names into the patch’s application header by default, as output//original/ | Very: it’s the name the author’s own file had, often a No-Intro or Redump name with region and revision |
| Description | Delta Patcher stores the author’s description in the same header (Base64 text after ^*) | Very, when the author wrote one; it often names the required version and checksum |
| Bytes read from the original | Each window states which range of the original it copies from | Good for ruling files out: a smaller file can’t be right |
| Output size | The sum of all target windows | Lets you check the result and spot truncated downloads |
| Checksums | An Adler-32 per window (xdelta3’s VCD_ADLER32 extension) | Decisive when testing: a wrong original fails the very first mismatched window |
Test your file against the patch
Add your original file in the second box. The inspector does three things:
- Size check. If your file is smaller than the range the patch reads, it’s the wrong file, and Delta Patcher would fail with “source file too short”.
- Dry run. It applies the patch in memory with checksum validation on, without saving anything. If every checksum matches, your file is the one the patch was made for.
- Hashes. It calculates your file’s CRC32, MD5, SHA-1 and SHA-256, so you can compare them with values in the readme or a database such as No-Intro or Redump.
What to do if it doesn’t match
-
Read the names and description
Compare the source name the patch records with your file’s: region (USA, Europe, Japan), revision (Rev 1, v1.1) and any tags matter.
-
Look for the usual differences
Headered vs unheadered SNES ROMs, trimmed vs full DS ROMs, a different disc or track layout, or a file you already patched once. How to identify the version you have.
-
Get a clean copy and test again
Make a fresh copy of the exact version and run the inspector again. When the dry run passes, apply the patch with the online patcher or Delta Patcher.
For patch authors
Make the inspector’s job easy for your users: keep checksums on, write a description that names the exact source file and its CRC32 or SHA-1, and publish the same information in your readme. The patch author kit has a readme template and a checklist.
Continue learning
Sources and references
- RFC 3284: VCDIFF window and header format (opens external site)
- xdelta3 source: default application header (xdelta3-main.h) (opens external site)
- Delta Patcher source: patch description format (opens external site)
- Delta Patcher issue #51: “Add a way to view the required checksum” (opens external site)