File Structure
This is the File Structure of a
Map file used by Magus Map Maker
Level File
<Syntax>
[WORD] // map_width
[WORD] // map_height
[BYTE] // layers
[BYTE] // miscellaneous data e.g. which tile set was used for this map
[BYTE] // Extra Data Length this is a parameter for how much extra data is inserted (e.g. if this Byte is 2, then there are 2 extra pieces of data inserted
<[BYTE] > // possible extra Data
// repeat next 3 bytes of data for the remainder of the file (map_width * map_height)
[BYTE] // Bottom layer of the map
[BYTE] // Middle layer of the map
[BYTE] // Top layer of the map
Map Data File
<Syntax>
[WORD] // map_width
[WORD] // map_height
// repeat next byte of data for the remainder of the file (map_width * map_height)
[BYTE] // attribute for that map position