Mindrealm Atlas Generator

Rebuilds the runtime atlas in this exact order: assets/fonts/*.png, assets/font/*.TIL, assets/map/*.TIL, then the dedicated assets/beast/*.TIL, assets/vendor/*.TIL, assets/powerup/*.TIL, assets/barrier/*.TIL, assets/party/*.TIL, assets/spell/*.TIL, assets/stat/*.TIL, assets/item/*.TIL, assets/ui/*.TIL, and generated assets/ring/<ring>/<item>.TIL classes. The complete Ring tree is deleted and rebuilt from data/ring.json on every atlas generation. Font and map glyph keys are two-digit uppercase hexadecimal (00FF). Beast, vendor, powerup, barrier, party, spell, stat, and item sprites are stored as assets/<group>/<long name>/<opaque four-character frame>. All metadata collections are literal nested trees split at each forward slash; leaf entries do not repeat slash paths. Each rebuild clones Packard Bell PBX-8088 Font 2024 as Mind Realm Frame Font 2026: within each 8×8 cell, transparent pixels adjacent to color 15 become 7, remaining transparent pixels adjacent to 7 become 8, and all remaining transparent pixels become 0. Near-identical map frame glyphs redirect to the same-index Frame Font glyph first; the older same-index Packard Bell compatibility check remains only as a fallback. Every TIL source uses an 8×16 four-plane layout: rows 0–7 contain default 16-color EGA/VGA indexes 0 through 15, while rows 8–15 contain the corresponding 4-bit inverted-opacity values 0 through 15. The generator combines each color row with its matching alpha row and writes one 8×8 RGBA cell to the atlas sheet; inverted opacity 0 is fully opaque, 15 is transparent, and intermediate values render in exact 17/255 alpha steps. Each rebuild emits both readable JSON and an independently decodable canonical Huffman equivalent. The game engine loads the Huffman file as its authoritative metadata source, verifies and decodes it completely, and only then initializes the atlas PNG.

Return to Mindrealm

Current deterministic atlas: 1569 packed cells plus 1 aliases (1570 logical paths): 1023 PNG-font cells, 256 Mind Realm Font 2021 cells, 209 map cells, 7 party, 6 spell, 6 stat, and 7 item and 32 generated Ring frames.

QBasic source SHA-256: c0c5763db2f6ee8472e845d6a0435b24f975cd2addd67a5868a1dc3e21ad3db7

JSON metadata · Huffman metadata (312515 bytes)

Mindrealm Sprite Atlas preview