The Map16 editor window is one of the many tools in Lunar Magic. It is used to decide what graphics, properties, layer priority, etc. a block will use.
Left-clicking on a block in the Map16 editor will select it. It can then be modified or directly pasted to another slot. Right-clicking on a block in the Map16 editor will past the currently selected block to that slot.
Once a block has been selected, you can click on the "Exit 16x16 Attributes" button to change the 8x8 tiles the block uses, which palette the block uses, and what block it is to act like. Clicking on the "Edit 8x8 Attributes" will allow you to edit whether or not the 8x8 tiles are flipped along the X or Y axis.
Saving and Loading Map16 Pages
There are a few ways to save and load Map16 pages in Lunar Magic:
- F2 will save the Map16 page currently being viewed to a file called Map16Page.bin. If you are viewing a Map16 page with a number under 40 (10 prior to LM 1.7), it will also save interaction data to a file called Map16PageG.bin
- F3 will load the information in the Map16Page.bin file into the Map16 page currently being viewed. If you are viewing a Map16 page with a number under 40 (10 prior to LM 1.7), it will also load interaction data from the Map16PageG.bin file
- F5 will save all foreground Map16 page data (pages with numbers under 40/10) to a file called Map16PageFG.bin
- F6 will load all foreground Map16 page data (pages with numbers under 40/10) from the Map16PageFG.bin file
- F7 will save all background Map16 page data (pages with numbers at or above 40/10) to a file called Map16PageBG.bin
- F8 will load all background Map16 page data (pages with numbers at or above 40/10) from the Map16PageBG.bin file
- F9 will save all Map16 page data to the ROM
Page 0x2 of the Map16 editor uses tileset-specific graphics by default. The actual behavior of the blocks isn't affected, though. In Lunar Magic 1.7 and higher, you can hit Ctrl+F1 to turn off this setting.
A single map16 tile in the ROM consists of 8 bytes, 4 for the four 8x8 tiles, and 4 for the properties of the four 8x8 tiles.