HEADER.CMF - nbreeze/closers-rev GitHub Wiki

This file contains a copy of all of the headers of the .CMF archives in the DAT/ directory, and is heavily compressed with DEFLATE. It is most likely used as a way to quickly locate and verify assets across .CMF files.

Upon launching the game, the game will decompress the file into a separate file called UNC_HEADER.CMF.

At the beginning of the file is an int32, specifying the amount of .CMF headers the file has stored. After that are the archive headers themselves.

After each .CMF header are two int32 values: a CRC32 checksum and the index number of the archive. The CRC32 checksum is a checksum of the .CMF file that the header belongs to, while the index number denotes the number part of the archive's name; i.e., an index of 0 means the header belongs to the archive DAT0.CMF.