Co to jest format pliku XDELTA?
Plik .xdelta to binarna poprawka utworzona przez xdelta, otwartoźródłowe narzędzie do kompresji różnicowej (delta compression) i bibliotekę C stworzoną przez Joshuę P. MacDonalda. Zamiast przechowywać cały plik, zapisuje on tylko różnice między oryginałem a wersją zmodyfikowaną. Ponieważ dwa podobne pliki zazwyczaj różnią się tylko w kilku miejscach, poprawka jest znacznie mniejsza niż same pliki, co czyni .xdelta kompaktowym sposobem na dystrybucję zmian.
Nowoczesna wersja xdelta (linia xdelta3) zapisuje poprawki w formacie VCDIFF zdefiniowanym przez RFC 3284. Strumień VCDIFF zaczyna się od bajtów V, C, D z ustawionymi wysokimi bitami (szesnastkowo D6 C3 C4), po których następuje bajt wersji. Wewnątrz poprawka jest serią instrukcji kopiowania (copy), dodawania (add) i uruchamiania (run), które instruują xdelta, jak odbudować plik docelowy z pliku źródłowego. Pliki .xdelta najczęściej spotyka się w modowaniu gier i tłumaczeniach obrazów ROM, gdzie autorzy dystrybuują małą poprawkę zamiast chronionego prawem autorskim oryginału.
Bezpieczeństwo
RYZYKO: 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.
Szczegóły formatu
w pigułce- 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.
Programy otwierające pliki 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. Szczegóły techniczne
specyfikacja| 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. |
| Wydano | 1997 (xdelta1); xdelta3 series in the 2000s |
| Najnowsza wersja | xdelta3 3.2.x |
| Otwarty standard | Tak · bezpłatny (royalty-free) |
| Specyfikacja | datatracker.ietf.org |
Konwersje XDELTA
Pytania i odpowiedzi społeczności
pytania użytkownikówBrak pytań - bądź pierwszą osobą, która zapyta o pliki XDELTA.
Najczęściej zadawane pytania
Jak otworzyć plik .xdelta?
xdelta3 (xdelta3 -d -s original patch.xdelta output) lub interfejsu graficznego, takiego jak Delta Patcher lub xdelta UI, które poproszą o wskazanie pliku źródłowego i poprawki.Dlaczego moja poprawka .xdelta nie chce się nałożyć?
Jaki program tworzy pliki .xdelta?
xdelta3 -e -s original modified patch.xdelta. Narzędzia GUI, takie jak Delta Patcher, również mogą je generować, porównując dwa dostarczone pliki.Czy plik .xdelta to to samo co plik VCDIFF?
.xdelta i .vcdiff utworzone przez xdelta3 zawierają ten sam rodzaj danych. Rozszerzenie jest jedynie kwestią nazewnictwa.Czy pliki .xdelta są bezpieczne?
Czy mogę zobaczyć, co jest wewnątrz pliku .xdelta?
xdelta3 printhdr patch.xdelta lub xdelta3 -v, ale sensowny wynik pojawia się dopiero po nałożeniu go na plik źródłowy.