AFX (Atari ST)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Compression }} '''AFX''' (Automatic File eXtractor) is a transparent file compression utility for Atari ST. It was developed primar...")
 
 
Line 5: Line 5:
 
'''AFX''' (Automatic File eXtractor) is a transparent file compression utility for Atari ST. It was developed primarily by Thomas Quester. Much of the information about it is in German.
 
'''AFX''' (Automatic File eXtractor) is a transparent file compression utility for Atari ST. It was developed primarily by Thomas Quester. Much of the information about it is in German.
  
Its native compressed file format is related to [[LHA|LHarc]] format. It's apparently a single-file format. Some of the Atari ST versions of LHarc can create AFX-compressed files.
+
Its native compressed file format is a single-file variant of [[LHA|LHarc]] format.
 +
 
 +
== Discussion ==
 +
Some of the Atari ST versions of LHarc can create and decompress AFX-compressed files. Specifically:
 +
* At least versions 2.01d and later by Quester. (The "c" command exists in v2.01d, though it's not in the "usage" message.)
 +
* The LHarc software by Grunenberg and Mandel, and later Haun. Seems to be the successor to Quester's LHarc.
 +
 
 +
== Format details ==
 +
 
 +
=== Compression ===
 +
The compression method is [[LZSS (Haruhiko Okumura)|Okumura's LZSS]]. It is evidently the same as the <code>-lz5-</code> method from [[LArc]], except that the history buffer is initialized differently -- with LZSS's standard 4096-18 spaces, instead of <code>lz5</code>'s special pattern. Whether the initialization makes any difference is unknown.
 +
 
 +
=== CRC issue ===
 +
A number of AFX files found in the wild seem to have an incorrect CRC stored in the file. The cause of this problem is unknown. At least some of them seem to decompress correctly, if the CRC is ignored. That the CRC is incorrect is confirmed by the "test" or "extract" function of Quester's LHarc.
  
 
== Identification ==
 
== Identification ==
ASCII "{{magic|-afx-}}" appears at offset 2.
+
ASCII "{{magic|-afx-}}" appears at offset 2. The byte at offset 20 (the LHA "header level") is evidently always 0.
  
 
== Software ==
 
== Software ==
* [http://websites.umich.edu/~archive/atari/Archivers/lzh_201l.lzh lzh_201l.lzh] - Includes LHarc and AFX
+
* LHarc for Atari ST - v2.01X by Thomas Quester
* [http://websites.umich.edu/~archive/atari/Archivers/lzhsourc.lzh lzhsourc.lzh] - Source code for "LHarc 2.01m (c)Yoshi, Quester, 1988-91"
+
** 2.01d German: {{CdTextfiles|ataricompendium/FILES/UMICH/TEX/CS-TEX-4.0/CSTEX4-2.ZOO|CSTEX4-2.ZOO}} → lzh.lzh → LHARC/LHARC.TTP
 +
** 2.01L English: {{CdTextfiles|ataricompendium/FILES/COMPRESS/LZH201LE.TTP|LZH201LE.TTP}}
 +
** {{CdTextfiles|ataricompendium/FILES/COMPRESS/LZH_201L.LZH|LZH_201L.LZH}} - Includes LHarc and AFX
 +
** {{CdTextfiles|ataricompendium/FILES/COMPRESS/LZHSOURC.LZH|LZHSOURC.LZH}} - Source code for "LHarc 2.01m (c)Yoshi, Quester, 1988-91":
 +
* LHarc for Atari ST - v2.20-3.xx by Grunenberg/Mandel(/Haun)
 +
** v3.13a junior: [{{DiscMasterURL|browse/22127/STC_CD_01_1999.iso/stcd1098/anwend/lharc313}}]
 +
<!-- TODO - Maybe the LHarc links should be moved to the LHA article. -->
 +
 
 +
== Sample files ==
 +
* {{DiscMasterLink|search?format&#x3d;afxCompressedData|DiscMaster search}}
  
 
== Links ==
 
== Links ==

Latest revision as of 16:48, 15 January 2026

File Format
Name AFX (Atari ST)
Ontology

AFX (Automatic File eXtractor) is a transparent file compression utility for Atari ST. It was developed primarily by Thomas Quester. Much of the information about it is in German.

Its native compressed file format is a single-file variant of LHarc format.

Contents

[edit] Discussion

Some of the Atari ST versions of LHarc can create and decompress AFX-compressed files. Specifically:

  • At least versions 2.01d and later by Quester. (The "c" command exists in v2.01d, though it's not in the "usage" message.)
  • The LHarc software by Grunenberg and Mandel, and later Haun. Seems to be the successor to Quester's LHarc.

[edit] Format details

[edit] Compression

The compression method is Okumura's LZSS. It is evidently the same as the -lz5- method from LArc, except that the history buffer is initialized differently -- with LZSS's standard 4096-18 spaces, instead of lz5's special pattern. Whether the initialization makes any difference is unknown.

[edit] CRC issue

A number of AFX files found in the wild seem to have an incorrect CRC stored in the file. The cause of this problem is unknown. At least some of them seem to decompress correctly, if the CRC is ignored. That the CRC is incorrect is confirmed by the "test" or "extract" function of Quester's LHarc.

[edit] Identification

ASCII "-afx-" appears at offset 2. The byte at offset 20 (the LHA "header level") is evidently always 0.

[edit] Software

  • LHarc for Atari ST - v2.01X by Thomas Quester
  • LHarc for Atari ST - v2.20-3.xx by Grunenberg/Mandel(/Haun)
    • v3.13a junior: [1]

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox