The current URL is datacrystal.tcrf.net.
Crystal Beans from Dungeon Explorer/Map GfxDataPtrs: Difference between revisions
(→top) |
m (Hawk moved page Crystal Beans From Dungeon Explorer/Map GfxDataPtrs to Crystal Beans from Dungeon Explorer/Map GfxDataPtrs) |
(No difference)
|
Latest revision as of 21:03, 28 January 2024
This is a sub-page of Crystal Beans from Dungeon Explorer.
Map:GfxDataPtrs | |
Game | Crystal Beans From Dungeon Explorer |
Start Address | 0x030E79 |
End Address | 0x03123E |
# of Entries | 46 |
Entry Length | 21 |
Total Length | 966 (0x3C6) |
Back to the ROM map |
These structures contains the pointers to the information pertaining to the graphical appearance and organization of the level.
Format
Map
- Length: 3 (0x3)
- Offset within entry: 0x0-0x2
- Range of values: ?
24-bits pointer to the compressed map. When decompressed, it contains the block numbers that make up the map BG. It is 256 blocks (bytes) wide.
BlockTilemapData
- Length: 3 (0x3)
- Offset within entry: 0x3-0x5
- Range of values: ?
24-bits pointer to the compressed block tilemap data.
When decompressed, the first 1024 bytes contain an array of 256 array of 4 bytes containing the tile numbers for each block. Byte 0: top-left, byte 1: top-right, byte 2: bottom-left, byte 3: bottom-right.
The next 512 bytes contain an array of 256 arrays of 4 nibbles (2 bytes) containing the palette numbers for each block. Nibble 0: top-left, nibble 1: top-right, nibble 2: bottom-left, nibble 3: bottom-right.
BlockFlags?
- Length: 3 (0x3)
- Offset within entry: 0x6-0x8
- Range of values: ?
24-bits pointer to the compressed block flags. When decompressed, it contains an array of 256 bytes (1 per block).
BgGfx
- Length: 3 (0x3)
- Offset within entry: 0x9-0xB
- Range of values: ?
24-bits pointer to the compressed map background graphics.
Palette
- Length: 3 (0x3)
- Offset within entry: 0xC-0xE
- Range of values: ?
24-bits pointer to the compressed map palette.
Unknown 1
- Length: 3 (0x3)
- Offset within entry: 0xF-0x11
- Range of values: ?
24-bits pointer.
Unknown 2
- Length: 3 (0x3)
- Offset within entry: 0x12-0x14
- Range of values: ?
24-bits pointer. NULL (0) if not used.