Skip to content
ProgSys edited this page Oct 1, 2025 · 9 revisions

An MPP file is a simple container format. It only stores textures (.TX2) and models (.GEO) that are used by map (.MPD) files.

There are two versions of MPP files:

  • Without normal maps
  • With normal maps (marked by a flag in the header)

The last variant is generally only used by the containers that store the upgraded HD textures (there filename ends with "NEW").

File structure

All data is stored back-to-back (no padding or gaps).

Header

Type Size Description
uShort 2 byte Number of textures
uShort 2 byte Has normals
uShort 2 byte Number of models
uShort 2 byte Unknown
uInt 4 byte Total size

Address List

After the header comes a list of file offsets. Each offset is a uInt (4 bytes).

The number of offsets depends on whether normal maps are included:

   int total_file_count = number_of_textures * (has_normals? 2: 1) + number_of_models

Files

Files are packed directly after one another. To calculate a file’s size, subtract its offset from the next one.

There are no filenames stored in the container. The game expects the files in a fixed order:

  • Color textures (always first)
  • Normal maps (only if the header flag is set; count matches color textures)
  • Models

Clone this wiki locally