ARC files are a sequence of entries starting with a marker byte 0x1A and a method byte, followed by the 13-byte name, compressed size, date, time, CRC-16 and original size. Methods include stored, packed (RLE), squeezed (Huffman), crunched and squashed (LZW variants).
Where it is used
BBS file distribution in the 1980s.
History
Created by Thom Henderson of System Enhancement Associates in 1985.
Status today
Obsolete; PKARC and ARC variants exist.
Structures read by the implementation
Offsets are in bytes from the start of the buffer named in each heading. Field names are taken from the implementation and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.
ArcArchiveModule.LooksLikeHeader buffer h · ArcArchiveModule.cs
Offset
Size
Type
Field
Notes
0x0
1
u8
–
0x1
1
u8
–
0x1
1
u8
Header Size
0xF
4
u32 LE
Packed
ArcArchiveModule.Mount buffer h · ArcArchiveModule.cs
Offset
Size
Type
Field
Notes
0x0
1
u8
–
0x1
1
u8
–
0x1
1
u8
Ethod
0xF
4
u32 LE
Packed
0x13
2
u16 LE
Dos Date
0x15
2
u16 LE
Dos Time
0x17
2
u16 LE
Crc
0x19
4
u32 LE
Packed
ArcDecoders.Unsqueeze buffer d · ArcArchiveModule.cs
Offset
Size
Type
Field
Notes
0x0
2
u16 LE
Count
(2 + 4 * k)
2
i16 LE
–
(4 + 4 * k)
2
i16 LE
–
ArcCarver.Carve buffer e · ArcCarver.cs
Offset
Size
Type
Field
Notes
0x0
1
u8
–
0x1
1
u8
Ethod
0xF
4
u32 LE
Compressed Size
Constants
Implementation limits reader
Class
Name
Value
Notes
ArcCarver
MaxEntries
1_000_000
ArcArchiveModule
MaxMembers
1_000_000
Structures and constants were extracted from: Carving/Plugins/Arc/ArcCarver.cs, Modules/FileSystems/ArcArchiveModule.cs. Prose sections are a summary from public sources; verify details before relying on them.