layer - sk-zk/md155 GitHub Wiki
The optional .layer file stores the associated editor layer of map items.
Note that edit_save_text
still outputs the binary version rather than a human-readable version of this file.
Structure
The file begins with the usual header.
After this, it contains a UID referencing the map item, followed by one byte storing the layer. This is repeated until the EOF marker 0xFFFFFFFFFFFFFFFF
.
There are 9 layers, from 0 to 8 inclusively. Since layer 0 is the layer which items are assigned to by default, only 1 to 8 are stored in this file.