Skip to content

Map File Formats

shartte edited this page Apr 2, 2015 · 35 revisions

Map Properties (map.prp)

Found in the map directory. Has the following structure:

struct {
  int artId;
  int unused;
  uint64_t limitX;
  uint64_t limitY;
};

Map Start Location (startloc.txt)

This file is actually optional. It may have been used for the start location within the editor only.

The format is a simple text file that has a X position on the first line and Y position on the second line.

Example (for Hommlet):

487
506

Measured in tiles. It is stored in memory location 0x10AA9590 as a 64-bit integer (lower 32-bit are X, upper 32-bit are Y).

Clone this wiki locally