XDELTA ファイル形式とは?
.xdelta ファイルは、Joshua P. MacDonald 氏によって開始されたオープンソースのデルタ圧縮ツールおよび C ライブラリである xdelta によって作成されたバイナリパッチです。ファイル全体を保持するのではなく、元のファイルと修正されたバージョンの間の差分のみを保存します。2 つの類似したファイルは通常、数か所しか違わないため、パッチはファイル自体よりもはるかに小さくなり、.xdelta は変更を配布するためのコンパクトな手段となります。
最新の xdelta(xdelta3 系列)は、RFC 3284 で定義された VCDIFF 形式でパッチを書き込みます。VCDIFF ストリームは、上位ビットがセットされた V、C、D のバイト(16進数で D6 C3 C4)と、それに続くバージョンバイトで始まります。内部では、パッチはコピー、追加、実行の各命令の連続であり、ソースからターゲットを再構築する方法を xdelta に指示します。.xdelta ファイルは、著作権のあるオリジナルではなく小さなパッチを配布するゲームのモッディングや ROM 翻訳で最も頻繁に目にすることになります。
セキュリティと安全性
リスク: 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.
形式の詳細
概要- 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.
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. 技術的詳細
詳細仕様| 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. |
| リリース日 | 1997 (xdelta1); xdelta3 series in the 2000s |
| 最新バージョン | xdelta3 3.2.x |
| オープンスタンダード | はい · ロイヤリティフリー |
| 仕様書 | datatracker.ietf.org |
XDELTA の変換
コミュニティ Q&A
ユーザーからの質問まだ質問はありません。XDELTA ファイルについて最初の質問をしてみましょう。
よくある質問
.xdelta ファイルはどうやって開きますか?
xdelta3 コマンドライン(xdelta3 -d -s original patch.xdelta output)を使用するか、ソースファイルとパッチの指定を求める Delta Patcher や xdelta UI などの GUI を使用してください。なぜ .xdelta パッチが適用できないのですか?
.xdelta ファイルを作成するプログラムは何ですか?
xdelta3 -e -s original modified patch.xdelta を実行して作成します。Delta Patcher などの GUI ツールでも、提供された 2 つのファイルの差分を取ることで生成できます。.xdelta ファイルは VCDIFF ファイルと同じですか?
.xdelta と .vcdiff は同じ種類のデータを保持しています。拡張子は単なる命名の選択に過ぎません。.xdelta ファイルは安全ですか?
.xdelta ファイルの中身を見ることはできますか?
xdelta3 printhdr patch.xdelta または xdelta3 -v を使用してその構造を表示することはできますが、意味のある結果はソースファイルに適用した後にのみ現れます。