Update Design Doc: `level` tool

master
Ashley N. 2023-09-14 00:29:51 +00:00
parent 29a6405a2c
commit 8c2c457739
1 changed files with 7 additions and 1 deletions

@ -79,7 +79,13 @@ health = {
This is a system-specific binary format of tiles formatted for your target system. Normally you would take this data and DMA it to the VRAM in your homebrew. This is a system-specific binary format of tiles formatted for your target system. Normally you would take this data and DMA it to the VRAM in your homebrew.
#### `--console md` #### `--console md`
* Output format is identical to `tileset` i.e. it is a colour palette followed by a set of tiles in tile order. One .bin file is output by default, as only one tile set per Tiled Editor tilemap is currently supported. (For background layers with different tiles than foreground tiles, combine foreground and background tiles into the same set.) * Output format is identical to `tileset` minus the palette. One .bin file is output by default, as only one tile set per Tiled Editor tilemap is currently supported. (For background layers with different tiles than foreground tiles, combine foreground and background tiles into the same set.)
### .pal Format (Palettes)
These are the palettes accompanying the tiles output above.
#### `--console md`
* Output format is PAL0 through PAL4 as generated per the user's `reskit-palette` settings in the tilemap. DMA these directly to CRAM.
### .map Format (Tile Map) ### .map Format (Tile Map)
While the above format contains the graphics, this contains the nametable settings for each layer i.e. pointers to entries in the above list of tiles for each region of the screen. Normally you would take this data and DMA it to the VRAM in your homebrew, where the pattern map nametable is set. While the above format contains the graphics, this contains the nametable settings for each layer i.e. pointers to entries in the above list of tiles for each region of the screen. Normally you would take this data and DMA it to the VRAM in your homebrew, where the pattern map nametable is set.