Game file formats
Identify the file type first: a container, a map layer and a compressed stream describe different things. These entries document Imperivm HD and explain their known limits.
6 formats
Resource container with a 40-byte header and a directory whose names share prefixes between entries.
.pak ContainersBFHP / HPFS · map containersFile volume identified by HPFS, used in saved maps and content packs. Some files have an LZIS wrapper.
.bfhp Map datamap.xml · map metadataXML describing map metadata and parameters. It works alongside map.obj.xml objects and Terrain.*.grid layers.
map.xml Map datamap.obj.xml · map objectsXML for the map's object layer: loose objects, settlements and references to groups and units.
map.obj.xml Map dataGRID · terrain layersBinary grid family with a shared 20-byte header. Each layer has its own cell size and bit depth.
.grid · Terrain.*.grid · .pass CompressionLZIS · block streamBlock-compression wrapper with a physical index. Its decoded contents must be identified separately.
LZIS · .snr · .dmo · .bfhp