ARI (compressed archive)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Archiving |extensions={{ext|ari}} |released=1991? }} '''ARI''' is a compressed archive utility for DOS, and associated file format,...")
 
(File structure)
Line 8: Line 8:
  
 
== File structure ==
 
== File structure ==
(Based on educated guesswork.) An ARI file is a sequence of "member file" segments. In simplest form, each segment starts with 28-byte header that starts with 11 bytes for the space-padded "8.3" filename. However, if a directory path is stored, it precedes the filename, and it's not obvious how its size is determined. The software has many other features whose effect on the format has not been tested.
+
This information pertains to ARI and [[ERI (compressed archive)|ERI]], and is based on reverse engineering. It may be incorrect, and is likely incomplete. The software has many features whose effect on the format has not been tested.
 +
 
 +
An ARI or ERI file is a sequence of "member file" segments, each with the following structure:
 +
 
 +
{| class="wikitable"
 +
! Size in bytes !! Name !! Description and remarks
 +
|-
 +
| path_len || filename_path || Variable size, often absent. The logic for finding the size is unclear.
 +
|-
 +
| 8 || filename_base || Filename, base part, padded with spaces or NUL bytes
 +
|-
 +
| 3 || filename_ext || Filename extension, padded
 +
|-
 +
| 1 || || [[DOS/Windows file attributes|File attributes]] and other flags. 0x80 bit may be set when filename_path is present.
 +
|-
 +
| 2 || timestamp_time ||rowspan="2"| [[MS-DOS date/time|DOS time/date]]
 +
|-
 +
| 2 || timestamp_date
 +
|-
 +
| 4 || || Original file size
 +
|-
 +
| 4 || member_size || Total size of this member (header + cdata)
 +
|-
 +
| 4 || || [[CRC-32]], unknown algorithm
 +
|-
 +
| member_size−(path_len+28) || cdata || Compressed file data
 +
|}
  
 
== Related formats ==
 
== Related formats ==

Revision as of 15:43, 18 June 2021

File Format
Name ARI (compressed archive)
Ontology
Extension(s) .ari
Released 1991?

ARI is a compressed archive utility for DOS, and associated file format, developed by RAO Inc. It was distributed as freeware, and there was a registered version with more features.

File structure

This information pertains to ARI and ERI, and is based on reverse engineering. It may be incorrect, and is likely incomplete. The software has many features whose effect on the format has not been tested.

An ARI or ERI file is a sequence of "member file" segments, each with the following structure:

Size in bytes Name Description and remarks
path_len filename_path Variable size, often absent. The logic for finding the size is unclear.
8 filename_base Filename, base part, padded with spaces or NUL bytes
3 filename_ext Filename extension, padded
1 File attributes and other flags. 0x80 bit may be set when filename_path is present.
2 timestamp_time DOS time/date
2 timestamp_date
4 Original file size
4 member_size Total size of this member (header + cdata)
4 CRC-32, unknown algorithm
member_size−(path_len+28) cdata Compressed file data

Related formats

Software

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox