Che cos'è il formato di file XDELTA?
Un file .xdelta è una patch binaria creata da xdelta, uno strumento di compressione delta open-source e una libreria C avviata da Joshua P. MacDonald. Invece di contenere un intero file, memorizza solo le differenze tra un file originale e una versione modificata. Poiché due file simili di solito differiscono solo in pochi punti, la patch è molto più piccola dei file stessi, il che rende .xdelta un modo compatto per distribuire le modifiche.
Il moderno xdelta (la linea xdelta3) scrive le patch nel formato VCDIFF definito dalla RFC 3284. Uno stream VCDIFF inizia con i byte V, C, D con i bit alti impostati (hex D6 C3 C4) seguiti da un byte di versione. All'interno, la patch è una serie di istruzioni copy, add e run che dicono a xdelta come ricostruire l'obiettivo dalla sorgente. Incontrerai i file .xdelta più spesso nel modding dei giochi e nelle traduzioni di ROM, dove gli autori distribuiscono una piccola patch piuttosto che l'originale protetto da copyright.
Sicurezza e incolumità
RISCHIO: MEDIUMA .xdelta file is passive data and cannot run on its own. The real risk is what it patches: applying a patch produces a new file (often a game ROM, ISO, or executable) whose safety depends on the patch author. Only apply patches to the correct, expected original file and from sources you trust, since a malicious patch could turn a clean file into a modified executable. Applying a patch to the wrong source usually just fails a checksum rather than corrupting anything.
Dettagli del formato
in sintesi- xdelta1 legacy patches - Files from the original 1997-era xdelta (version 1) also used the .xdelta name but a different, non-VCDIFF on-disk layout; they are not compatible with xdelta3.
Programmi che aprono file XDELTA
xdelta3 -d -s original.bin patch.xdelta output.bin in a terminal to apply the patch against the original file. .xdelta patch, then click Apply Patch to produce the patched file. It is self-contained and does not need a separate xdelta binary. .xdelta patch in the Apply tab to generate the patched output; commonly used for ROM patches. brew install xdelta, then run xdelta3 -d -s original patch.xdelta output to apply the patch. .xdelta patch and apply it without touching a terminal. xdelta3 package from your distro, then run xdelta3 -d -s original patch.xdelta output to rebuild the patched file. .xdelta patches with a graphical interface. .xdelta patch into the browser page to apply the patch locally without installing anything. Dettagli tecnici
specifiche approfondite| Encoding | Binary VCDIFF (RFC 3284) delta stream with COPY, ADD and RUN instructions referencing a source file |
| Byte order | Endian-independent by design; integers are stored as variable-length, byte-order-neutral values |
| Container | VCDIFF window/section layout (header, then one or more windows each with instruction, data and address sections) |
| Compression | Secondary compression selectable at encode time: djw (default in many builds), lzma, fgk, or none |
| Typical size | Small relative to the target file; often a tiny fraction of the original when the two files are similar |
| Structure | A .xdelta file stores the difference between a source file and a target file. It is not a standalone document: applying it requires the exact original (source) file, from which xdelta reconstructs the target byte-for-byte. |
| Integrity | xdelta3 can embed and verify source and output checksums (Adler-32, and BLAKE3 in recent 3.2.x builds) to confirm the correct source file and a correct reconstruction |
| Platforms | Windows, macOS, Linux, BSD |
| Notes | Created by the xdelta command-line tool and C library. Widely used to distribute game translations and mods (ROM/ISO patches) because delta encoding accounts for shifted data and avoids embedding copyrighted source bytes. |
| Rilasciato | 1997 (xdelta1); xdelta3 series in the 2000s |
| Ultima versione | xdelta3 3.2.x |
| Standard aperto | Sì · royalty-free |
| Specifica | datatracker.ietf.org |
Conversioni XDELTA
Domande e risposte della community
chiesto dagli utentiAncora nessuna domanda - sii il primo a chiedere informazioni sui file XDELTA.
Domande frequenti
Come apro un file .xdelta?
xdelta3 (xdelta3 -d -s original patch.xdelta output) o una GUI come Delta Patcher o xdelta UI, che richiedono il file sorgente e la patch.Perché la mia patch .xdelta non si applica?
Quale programma crea i file .xdelta?
xdelta3 -e -s original modified patch.xdelta. Anche strumenti GUI come Delta Patcher possono generarli confrontando due file forniti dall'utente.Un file .xdelta è uguale a un file VCDIFF?
.xdelta e un .vcdiff creati da xdelta3 contengono lo stesso tipo di dati. L'estensione è solo una scelta di denominazione.I file .xdelta sono sicuri?
Posso vedere cosa c'è dentro un file .xdelta?
xdelta3 printhdr patch.xdelta o xdelta3 -v, ma il risultato significativo appare solo dopo averlo applicato al file sorgente.