Spark

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Format details)
(Format details)
Line 9: Line 9:
 
The format is an incompatible variant of [[ARC (compression format)|ARC]]. The most obvious differences from ARC are that the high bit of the ''compression method'' byte is set, and the member file header has an additional 12 bytes, for RISC OS file attributes. Subdirectories are possible, in a way, by storing them as nested Spark archives.
 
The format is an incompatible variant of [[ARC (compression format)|ARC]]. The most obvious differences from ARC are that the high bit of the ''compression method'' byte is set, and the member file header has an additional 12 bytes, for RISC OS file attributes. Subdirectories are possible, in a way, by storing them as nested Spark archives.
  
Spark uses a subset of [[ARC (compression format)|ARC]]'s compression methods, with the same numbering scheme (taking the compression method to be the low 7 bits of the compression byte). It adds one method of its own: #127 "compress", which is just the [[LZW]] part of the ARC's #8 compression method (i.e. without RLE).
+
Spark uses a subset of [[ARC (compression format)|ARC]]'s compression methods, with the same numbering scheme (taking the compression method to be the low 7 bits of the compression byte). It adds one method of its own:
 +
 
 +
{| class="wikitable"
 +
! ID !! Name !! Description and remarks
 +
|-
 +
|127 || Compress || [[LZW]]. Like ARC's method #8, but does not use RLE, and has a configurable maximum code size up to 16 bits.
 +
|}
  
 
== Software ==
 
== Software ==

Revision as of 21:32, 16 February 2021

File Format
Name Spark
Ontology
Extension(s) .spk, .arc

Spark (Acorn Spark compressed archive) is a type of compressed file archive traditionally found on RISC OS systems, with file type DDC (Archive). Created by SparkFS, these archives were often used to transfer data in a form that could be unpacked by the freely redistributable SparkPlug tool.

Format details

The format is an incompatible variant of ARC. The most obvious differences from ARC are that the high bit of the compression method byte is set, and the member file header has an additional 12 bytes, for RISC OS file attributes. Subdirectories are possible, in a way, by storing them as nested Spark archives.

Spark uses a subset of ARC's compression methods, with the same numbering scheme (taking the compression method to be the low 7 bits of the compression byte). It adds one method of its own:

ID Name Description and remarks
127 Compress LZW. Like ARC's method #8, but does not use RLE, and has a configurable maximum code size up to 16 bits.

Software

Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox