OS/2 PACK archive

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 6: Line 6:
 
'''OS/2 PACK archive''' is a compressed archive format used for software installation on OS/2.
 
'''OS/2 PACK archive''' is a compressed archive format used for software installation on OS/2.
  
There are at least four versions of it, possibly more. For the version that starts with bytes <code>a5 96 fd ff</code>, see [[OS/2 PACK2 archive]].
+
There are at least four or five versions of it. For the version that starts with bytes <code>a5 96 fd ff</code>, see [[OS/2 PACK2 archive]].
  
 
PACK format is generally associated with the OS/2 PACK.EXE and UNPACK.EXE utilities.
 
PACK format is generally associated with the OS/2 PACK.EXE and UNPACK.EXE utilities.
Line 18: Line 18:
  
 
=== Other format details ===
 
=== Other format details ===
The format supports [[OS/2 extended attributes]], compressed independently following the compressed file data.
+
Some versions of the format support [[OS/2 extended attributes]], compressed independently following the compressed file data.
  
 
== Identification ==
 
== Identification ==
Files start with bytes {{magic|a5 96}}, followed by {{magic|00 14}}, or {{magic|ff ff}}, or {{magic|fe ff}}.
+
Known versions of the format start with one of the following byte sequences:
 +
a5 96 00 14
 +
a5 96 14 0a
 +
a5 96 ff ff
 +
a5 96 fe ff
  
See also [[OS/2 PACK2 archive#Identification]].
+
See also [[OS/2 PACK2 archive#Identification]] (<code>a5 96 fd ff</code>).
  
 
== Software ==
 
== Software ==
Line 37: Line 41:
 
Version "<code>00 14</code>":
 
Version "<code>00 14</code>":
 
* {{CdTextfiles|hobbesos29503/2_1/DRIVERS/NCRVID21.ZIP|NCRVID21.ZIP}} → os2vid21.img → *.??@
 
* {{CdTextfiles|hobbesos29503/2_1/DRIVERS/NCRVID21.ZIP|NCRVID21.ZIP}} → os2vid21.img → *.??@
 +
 +
Version "<code>14 0a</code>":
 +
* {{CdTextfiles|pier01/029a/40x9su32.zip|40x9su32.zip}} → 4029SU3.ZIP → *.??@
  
 
Version "<code>ff ff</code>":
 
Version "<code>ff ff</code>":
Line 46: Line 53:
 
* {{CdTextfiles|cream21/program/greed.zip|greed.zip}}
 
* {{CdTextfiles|cream21/program/greed.zip|greed.zip}}
 
* {{CdTextfiles|cream21/os2/admin.zip|admin.zip}}
 
* {{CdTextfiles|cream21/os2/admin.zip|admin.zip}}
 +
 +
Assorted versions:
 
* {{DexvertSamples|archive/os2InstallPackage}}
 
* {{DexvertSamples|archive/os2InstallPackage}}
  
 
[[Category:OS/2]]
 
[[Category:OS/2]]

Latest revision as of 13:02, 2 July 2024

File Format
Name OS/2 PACK archive
Ontology
Extension(s) .??_, .??@, others

OS/2 PACK archive is a compressed archive format used for software installation on OS/2.

There are at least four or five versions of it. For the version that starts with bytes a5 96 fd ff, see OS/2 PACK2 archive.

PACK format is generally associated with the OS/2 PACK.EXE and UNPACK.EXE utilities.

Contents

[edit] Format details

[edit] Compression scheme

The compression is a kind of LZW with 12-bit codes. Code 0 marks the end of data; codes 1-256 are literals; 257-4095 are dynamic. If the code table is full, the least-recently-used leaf code is reused.

This is the same compression used by LoadDskF/SaveDskF.

[edit] Other format details

Some versions of the format support OS/2 extended attributes, compressed independently following the compressed file data.

[edit] Identification

Known versions of the format start with one of the following byte sequences:

a5 96 00 14
a5 96 14 0a
a5 96 ff ff
a5 96 fe ff

See also OS/2 PACK2 archive#Identification (a5 96 fd ff).

[edit] Software

OS/2 software:

Other:

[edit] Sample files

Version "00 14":

Version "14 0a":

Version "ff ff":

Version "fe ff":

Assorted versions:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox