5.4. CHS format

The CHS format consists of an 80 byte header:

Table 5.43. The header of the CHS format.

OffsetTypeComment/Value
0BYTE[4]79 56 34 12 (signature)
4DWORD0 (unknown)
8DWORDNumber of subset entries (could also be QWORD, or even WORD or BYTE).
0xCDWORD0 (unknown)
0x10BYTE[51]Name of the currently selected subset or "(Entire Collection)" if no subset is selected
0x43BYTE[13]Unknown. May be a timestamp(s) or junk data.

The header is followed by the subset entries repeated to the end of the file:

Ensure that the number of subsets as stored in the header is not greater than the actual number of subset entries in the file, since on Win95 at least HH will not open the HH viewer, but cause a lot of disk activity & crash/freeze Win95.