From 8c2c45773921a01ae5e64e56329a21bdd17fd039 Mon Sep 17 00:00:00 2001 From: Ashley N Date: Thu, 14 Sep 2023 00:29:51 +0000 Subject: [PATCH] Update Design Doc: `level` tool --- Design-Doc%3A-%60level%60-tool.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Design-Doc%3A-%60level%60-tool.md b/Design-Doc%3A-%60level%60-tool.md index bd7a48d..6c6c775 100644 --- a/Design-Doc%3A-%60level%60-tool.md +++ b/Design-Doc%3A-%60level%60-tool.md @@ -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. #### `--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) 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.