Catacomb Savegame Format

From ModdingWiki
Jump to: navigation, search

Catacomb II Savegames are always 34 Bytes in size and in little endian. The structure is as follows:

Pos | Size | Description
----+------+----------------------------
  0 |   2  | UNKNOWN (always 0)
  2 |   2  | keys
  4 |   2  | potions
  6 |   2  | bolts
  8 |   2  | UNKNOWN (always 0)
 10 |   2  | nukes
 12 |   4  | score
 16 |   2  | level
 18 |   2  | UNKNOWN (always 1)
 20 |   2  | UNKNOWN (always 1)
 22 |   1  | pos_x
 23 |   1  | pos_y
 24 |   2  | UNKNOWN (always 0)
 26 |   2  | UNKNOWN (always 1)
 28 |   2  | health
 30 |   4  | UNKNOWN (always 0x00FFFF00)

Notes

The game will pad any level with 11 additional tiles to all four sides of the map, so pos_x and pos_y will be the coordinates of the player's starting position +11. However, these coordinates will be ignored by the game when loading a savegame. You always start where you normally would upon entering the level.


Format reverse engineered by K1n9_Duk3