Introduction
VCDIFF is a generic delta format defined in RFC 3284 by D. Korn, J. MacDonald,
J. Mogul and K. Vo. It encodes a target file as changes against a source file, or simply
compresses data when there is no source. Xdelta 3
uses it. Its manual page shows a patch file ending in .vcdiff, and the
patching program Xdelta UI recommends the ending .xdelta.
Structure
0MagicD6 C3 C4, the letters VCD with the high bit set3 bytes3Version currently zero1 byte4Header indicator and options a secondary compressor or a custom code table may be namedvariable…Windows each rebuilds one part of the target filerepeated
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the window encoding, instructions, address modes and code table in RFC 3284, and what xdelta3 adds to it.
- Viewer: the site has no viewer for this format.
Links
Software
- Xdelta 3 – command-line delta compression tool and C library
Reference
- RFC 3284 – The VCDIFF Generic Differencing and Compression Data Format
- xdelta3 manual page – the command-line tool
- Xdelta UI – GameBrew’s page on the patching program