Haemimont Engine HPK

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

HPK


Format Specifications

//header
4 bytes (char) - signature // "BPUL"
4 bytes (uint32) - data offset // 36
4 bytes (uint32) - number of fragments per file // 1 or 8
4 bytes - unknown // 0xFF 0xFF 0xFF 0xFF
4 bytes (uint32) - offset of the residual fragments in bytes
4 bytes (uint32) - number of residual fragments
4 bytes (uint32) - unknown  // 1
4 bytes (uint32) - offset of the filesystem fragments in bytes
4 bytes (uint32) - size of the filesystem fragments in bytes

// fragmented files
num_of_files *
{
   4 bytes (char) - signature  // "ZLIB" or "LZ4 " or "ZSTD"
   4 bytes (uint32) - data size
   4 bytes (uint32) - chunk size  // 32768
   4 bytes (uint32) - chunk offset
   x bytes - additional chunk offsets (optional)
}

//TODO

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in games made using Haemimont Engine.

Games

List of games using this file format:

  • Grand Ages: Rome
  • Omerta: City of Gangsters
  • Surviving Mars
  • Tropico 3
  • Tropico 4
  • Tropico 5
  • Victor Vran

Compatible Programs