PKLITE
m |
|||
Line 14: | Line 14: | ||
The PKLITE software includes ''CHK4LITE'', a utility that tries to identify PKLITE-compressed files, and the version of PKLITE they were created with. | The PKLITE software includes ''CHK4LITE'', a utility that tries to identify PKLITE-compressed files, and the version of PKLITE they were created with. | ||
− | PKLITE-compressed files normally contain a copyright message near the beginning of the file (though this is not a very robust way to identify them). Based on limited testing, the message starts with either "{{magic|PKLITE}}" or "{{magic|PKlite}}". It is at offset 46 or 48 for COM files, 30 for DOS EXE files, 66 for Windows EXE files. Exception: COM files from v1. | + | PKLITE-compressed files normally contain a copyright message near the beginning of the file (though this is not a very robust way to identify them). Based on limited testing, the message starts with either "{{magic|PKLITE}}" or "{{magic|PKlite}}". It is at offset 46 or 48 for COM files, 30 for DOS EXE files, 66 for Windows EXE files. Exception: COM files from v1.00β have "{{magic|PK Copyr}}" at offset 38. |
If the DOS EXE signature at offset 30 is missing, CHK4LITE still identifies a file as PKLITE-compressed if it starts with the following byte pattern: | If the DOS EXE signature at offset 30 is missing, CHK4LITE still identifies a file as PKLITE-compressed if it starts with the following byte pattern: | ||
Line 21: | Line 21: | ||
?? ?? ?? ?? 00 01 F0 FF | ?? ?? ?? ?? 00 01 F0 FF | ||
− | This translates to ''number of relocations'' = 1, ''IP register'' = 256, ''CS register'' = -16. The pattern likely matches all DOS EXE files made by v1.00 through v2.01 (though not the leaked v1. | + | This translates to ''number of relocations'' = 1, ''IP register'' = 256, ''CS register'' = -16. The pattern likely matches all DOS EXE files made by v1.00 through v2.01 (though not the leaked v1.00β). False positives are possible, but presumably rare. |
== Technical notes == | == Technical notes == | ||
Line 45: | Line 45: | ||
** v2.01 1996-03-15: [{{CdTextfilesURL|darkdomain/programs/dos/archivers/pklts201.exe}}] | ** v2.01 1996-03-15: [{{CdTextfilesURL|darkdomain/programs/dos/archivers/pklts201.exe}}] | ||
* PKLITE (other) | * PKLITE (other) | ||
− | ** 1. | + | ** 1.00β 1990-05-29: [{{CdTextfilesURL|swinnund/disk3/FILEUTIL/PKLITE.ZIP}}] (not an authorized release[http://cd.textfiles.com/simtel/simtel20/MSDOS/INFO/PKLITE.WRN]) |
Static decompression: | Static decompression: |
Revision as of 16:27, 23 September 2021
PKLITE is an executable compression utility, from the makers of PKZIP (see ZIP). There was a free-for-noncommercial-use version, and a "Professional" version. There was a separate PKLITE32 product for 32-bit Windows.
It supports mainly DOS .EXE and .COM formats. Version 2.01 added the ability to compress Windows 3.x executables.
Many files compressed by PKLITE can be decompressed by PKLITE, using the -x
option. The main exception is files compressed with -e
, an option only available in the Professional version.
Contents |
Identification
The PKLITE software includes CHK4LITE, a utility that tries to identify PKLITE-compressed files, and the version of PKLITE they were created with.
PKLITE-compressed files normally contain a copyright message near the beginning of the file (though this is not a very robust way to identify them). Based on limited testing, the message starts with either "PKLITE
" or "PKlite
". It is at offset 46 or 48 for COM files, 30 for DOS EXE files, 66 for Windows EXE files. Exception: COM files from v1.00β have "PK Copyr
" at offset 38.
If the DOS EXE signature at offset 30 is missing, CHK4LITE still identifies a file as PKLITE-compressed if it starts with the following byte pattern:
4D 5A ?? ?? ?? ?? 01 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 01 F0 FF
This translates to number of relocations = 1, IP register = 256, CS register = -16. The pattern likely matches all DOS EXE files made by v1.00 through v2.01 (though not the leaked v1.00β). False positives are possible, but presumably rare.
Technical notes
Version 1.20
The CHK4LITE utility will identify some files as having been compressed with "PKLITE Ver. 1.20", but there is no freely-distributable v1.20. There is a Professional version that creates these files, though it's not completely clear which one.
There is also a fake version that claims to be v1.20 (look for "pklt120r.arj"), but is actually a hacked copy of v1.12 Professional. The files it creates will be identified as version 1.12.
Specifications
Software
- PKLITE freeware/shareware, for DOS
- PKLITE (other)
Static decompression:
- PKLITE (with
-x
option) - depklite (Not a complete decompression utility, but maybe useful.)
Dynamic decompression:
- DISLITE (notable because its source code was released)
- v1.17a: [12], [13]
- Source code
- A number of other DOS utilities exist to decompress PKLITE files; a few are at [14].