COMPACK

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
 
Line 35: Line 35:
  
 
== Software ==
 
== Software ==
 +
''COMPACK:''
 +
 
If the documentation is to be believed, there were at least six versions of COMPACK: 4.2, 4.3, 4.4, 4.5, 5.0, and 5.1. Only the ones listed below have been located.
 
If the documentation is to be believed, there were at least six versions of COMPACK: 4.2, 4.3, 4.4, 4.5, 5.0, and 5.1. Only the ones listed below have been located.
  
Line 42: Line 44:
 
** {{CdTextfiles|pdos9606/ARCHIVER/EXECOMP/CPK45.ZIP|CPK45.ZIP}} (pre-installed)
 
** {{CdTextfiles|pdos9606/ARCHIVER/EXECOMP/CPK45.ZIP|CPK45.ZIP}} (pre-installed)
 
* [{{SACFTPURL|pack|cpk51.zip}} COMPACK v5.1] (1993)
 
* [{{SACFTPURL|pack|cpk51.zip}} COMPACK v5.1] (1993)
 +
 +
''Decompression:''
 +
 +
* COMPACK v4.5+ has a <code>-v</code> option that can decompress COM files. It will also decompress the compressed part of EXE files, but doesn't reconstruct the original file.
 +
* See [[Executable compression#Decompression software]] for some DOS programs that might be able to decompress COMPACK-compressed files. Suggest UNP for v4.4-4.5, or CUP386 for other versions.
  
 
== Sample files ==
 
== Sample files ==
 
* V4.5(?) EXE samples: {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/ARCERS/CRUSH18.ZIP|CRUSH18.ZIP}}, {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/ARCUTILS/JUP162US.ZIP|JUP162US.ZIP}}
 
* V4.5(?) EXE samples: {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/ARCERS/CRUSH18.ZIP|CRUSH18.ZIP}}, {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/ARCUTILS/JUP162US.ZIP|JUP162US.ZIP}}
* {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/STATSTCS/PEPI207.ZIP|PEPI207.ZIP}} - Unknown COMPACK version, or hacked "1995" copyright message
+
* {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/STATSTCS/PEPI207.ZIP|PEPI207.ZIP}} - Unknown COMPACK version, or faked "1995" copyright message
* {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/DIRUTL/CSPC120.ZIP|CSPC120.ZIP}} → CSPACE.EXE - Example of a file with a hacked copyright message
+
* {{CdTextfiles|simtel/stmsdos9709/disk1/DISC1/DIRUTL/CSPC120.ZIP|CSPC120.ZIP}} → CSPACE.EXE - Example of a file with an altered copyright message
 +
* {{CdTextfiles|simtel/stmsdos9709/disk2/DISC2/BATCHUTL/TCHA103.ZIP|TCHA103.ZIP}} → DEMO.EXE, INTRO.EXE - More files with an altered copyright message

Latest revision as of 15:25, 22 December 2023

File Format
Name COMPACK
Ontology
Released 1990?
For a similarly-named format, see COM-Pack library‎.

COMPACK is an executable compression utility for DOS. It was developed by W. J. Collis and Prominence Computer Services, and distributed as shareware. It compresses EXE files (to EXE), and COM files (to COM).

Contents

[edit] Self-extracting archives

COMPACK also includes a utility named BUILDSFX (integrated into COMPACK.EXE in v5.x), which creates self-extracting archives in EXE format.

More research may be needed, but self-extracting archives seem to be built by first making a kind of intermediate non-compressed self-extracting archive, then compressing the whole thing with COMPACK's usual executable compression. It is not so easy to identify a COMPACK self-extracting archive as distinct from any other COMPACK-compressed EXE file, as all the distinctive parts are compressed.

[edit] Identification

More research is needed, but EXE files made by the known versions of COMPACK are observed to have the following byte pattern at offset 32 through 62:

bd ?? ?? 50 06 8c cb 03 dd 8c d2 4b 8e db be ??
00 bf 00 07 8e c2 b9 08 00 f3 a5 4a 4d 75 ec

V4.4 EXE files have, at offset 80: "Copyright (c) 1990 W. Collis".

V4.5 EXE files have, at offset 81: "Copyright (c) 1991 W Collis".

V5.1 EXE files have, at offset 79: "Copyright (c) 1991 W Collis".

The string "Copyright (C) 1995 W Collis" at offset 79 may or may not be legitimate; see PEPI207.ZIP in the "Sample files" section.

V4.4 COM files have, at offset 38: "Copyright (C) 1991  W. Collis".

V4.5 COM files have, at offset 41: "Copyright (C) 1991 W Collis".

V5.1 COM files have, at offset 40: "Copyright (C) 1993 W Collis".

[edit] Software

COMPACK:

If the documentation is to be believed, there were at least six versions of COMPACK: 4.2, 4.3, 4.4, 4.5, 5.0, and 5.1. Only the ones listed below have been located.

Decompression:

  • COMPACK v4.5+ has a -v option that can decompress COM files. It will also decompress the compressed part of EXE files, but doesn't reconstruct the original file.
  • See Executable compression#Decompression software for some DOS programs that might be able to decompress COMPACK-compressed files. Suggest UNP for v4.4-4.5, or CUP386 for other versions.

[edit] Sample files

  • V4.5(?) EXE samples: CRUSH18.ZIP, JUP162US.ZIP
  • PEPI207.ZIP - Unknown COMPACK version, or faked "1995" copyright message
  • CSPC120.ZIP → CSPACE.EXE - Example of a file with an altered copyright message
  • TCHA103.ZIP → DEMO.EXE, INTRO.EXE - More files with an altered copyright message
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox