LDArc and LDIFF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Jsummers moved page LDIFF LZD to LDArc and LDIFF: Slightly expanding this article)
(Software)
 
(One intermediate revision by one user not shown)
Line 3: Line 3:
 
|subcat=Archiving
 
|subcat=Archiving
 
|extensions={{ext|lzd}}
 
|extensions={{ext|lzd}}
|released=≤1989
+
|released=1989
 
}}
 
}}
'''LDIFF''' (or '''LDiff''') is a differential compression utility for DOS, designed for binary files. It was developed by Kazuhiko Miki (also known for [[LArc]]). Its native file format is '''.LZD'''.
+
'''LDArc''' (also written '''LDarc'''), and its successor '''LDIFF''' (also written '''LDiff'''), are differential compression utilities for DOS, designed for binary files. They were developed by Kazuhiko Miki (also known for [[LArc]]).
 +
 
 +
There are at least three different versions of their native '''.LZD''' file format:
 +
* The "lz6" format created by LDArc v1.00-1.03.
 +
* The "LD6" format created by LDIFF v1.10-1.20.
 +
* The format created by LDIFF v2.00.
 +
 
 +
LDIFF v2.00 can also create self-running patches in [[DOS executable (.com)|COM]] format.
 +
 
 +
The "lz6" and "LD6" formats are similar to [[LHA]], but not really compatible with it.
  
 
== Identification ==
 
== Identification ==
LZD files created by LDIFF v1.20 have "{{magic|-LD6-"}} at offset 2. The format has some similarity to [[LHA]], but is not compatible with it.
+
LDArc v1.00-1.03 files have ASCII "{{magic|-lz6-}}" at offset 2.
  
Version 2.00 uses a different LZD format, which has not been investigated. It also seems to be able to create self-running patches in [[DOS executable (.com)|COM]] format.
+
LDIFF v1.10-1.20 files have ASCII "{{magic|-LD6-}}" at offset 2.
 +
 
 +
LDIFF v2.00 files apparently have ASCII "{{magic|LZ}}" at offset 4. They end with bytes {{magic|00 00}}.
 +
 
 +
COM files made by LDIFF v2.00 apparently have ASCII "{{magic|SFX by LDiff}}" at offset 1021. The embedded LZD file starts at offset 1177.
 +
 
 +
== Specifications ==
 +
* LDIFF v2.00 format is described in the included ldiff.man file (in Japanese).
  
 
== Software ==
 
== Software ==
 +
* {{CdTextfiles|megarom/megarom1/ARC_LBR/LDARC.ZIP|LDARC.ZIP}} - Includes LDArc v1.00, and patches to create v1.01, v1.02, v1.03.
 +
* {{CdTextfiles|psl/pslv3nv08/PRGMMING/DOS/GEN_MISC/LDIFF1.ZIP|LDIFF1.ZIP}} - Includes LDArc v1.00, and patches to create v1.01, v1.02, v1.03, and LDIFF v1.10.
 +
** {{CdTextfiles|psl/psl9312/PRGMMING/DOS/TOOLS/LDIFF1.EXE|LDIFF1.EXE}} - Same as above, packaged differently.
 
* {{CdTextfiles|swinnund/disk3/FILEUTIL/LDIFF12.ZIP|LDIFF v1.20}} · {{CdTextfiles|swinnund/disk3/FILEUTIL/LDIFF12S.ZIP|source code}}
 
* {{CdTextfiles|swinnund/disk3/FILEUTIL/LDIFF12.ZIP|LDIFF v1.20}} · {{CdTextfiles|swinnund/disk3/FILEUTIL/LDIFF12S.ZIP|source code}}
* LDIFF v2.00 (Japanese): [https://archive.org/details/cdrom-fs-collection-2 FreeWare Collection 2 / フリーウェアコレクション2] → FreeSoftwareCollection2pd199x-jp.img → ms_dos/ldiff/ (or {{DiscMasterLink|browse/21231/FreeSoftwareCollection2pd199x-jp.img/ms_dos/ldiff|at DiscMaster}})
+
* LDIFF v2.00 (Japanese): [https://archive.org/details/cdrom-fs-collection-2 FreeWare Collection 2] → FreeSoftwareCollection2pd199x-jp.img → ms_dos/ldiff/
 +
 
 +
== Sample files ==
 +
* {{CdTextfiles|psl/pslv3nv08/PRGMMING/DOS/GEN_MISC/LDIFF1.ZIP|LDIFF1.ZIP}} → *.LZD ("lz6" format)

Latest revision as of 14:17, 1 September 2023

File Format
Name LDArc and LDIFF
Ontology
Extension(s) .lzd
Released 1989

LDArc (also written LDarc), and its successor LDIFF (also written LDiff), are differential compression utilities for DOS, designed for binary files. They were developed by Kazuhiko Miki (also known for LArc).

There are at least three different versions of their native .LZD file format:

  • The "lz6" format created by LDArc v1.00-1.03.
  • The "LD6" format created by LDIFF v1.10-1.20.
  • The format created by LDIFF v2.00.

LDIFF v2.00 can also create self-running patches in COM format.

The "lz6" and "LD6" formats are similar to LHA, but not really compatible with it.

Contents

[edit] Identification

LDArc v1.00-1.03 files have ASCII "-lz6-" at offset 2.

LDIFF v1.10-1.20 files have ASCII "-LD6-" at offset 2.

LDIFF v2.00 files apparently have ASCII "LZ" at offset 4. They end with bytes 00 00.

COM files made by LDIFF v2.00 apparently have ASCII "SFX by LDiff" at offset 1021. The embedded LZD file starts at offset 1177.

[edit] Specifications

  • LDIFF v2.00 format is described in the included ldiff.man file (in Japanese).

[edit] Software

[edit] Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox