Introduction
KWAJ is a Microsoft single-file compression format from the MS-DOS era, related to SZDD. Like SZDD, a compressed file usually has the last character of its name replaced by an underscore or a dollar sign, so it does not have an extension of its own; it is listed here under its signature.
Structure
0Signature4B 57 41 4A 88 F0 27 D18 bytes8Compression method2 bytes10Data offset where the compressed data starts2 bytes12Flags which optional fields follow, such as the unpacked length and file name2 bytes14Optional fields and compressed datavariable
Methods are: 0 stored; 1 stored with each byte XORed with FF; 2 the method
of the QBasic SZDD variant; 3 LZ with Huffman coding; 4 MSZIP, which is DEFLATE in
32 KB blocks.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the optional header fields and each compression method, which the libmspack documentation describes.
- Viewer: the site has no viewer for this format.
Links
Software
- EXPAND.EXE – Microsoft’s unpacking utility (MS-DOS)
Developers
- libmspack – library for Microsoft compression formats (C)
Reference
- SZDD and KWAJ file formats – the libmspack documentation