Dungeon graphics
From files to the game · Dungeon tiles (VCN) · Wall layouts (VMP) · The dungeon view
In brief
Each level names its graphics in its INF file: a dungeon style, whose tile
set (.VCN), wall layouts (.VMP) and palette (.PAL) draw the walls, floor
and ceiling of the view; decoration images with their .DEC list; two door
images; and up to two monster images, some with a .DCR list of monster
decorations. This page lists what each level loads and what each tile set
holds; decoration, door and monster images
lists the rest. No picture is reproduced.
The graphics of each level
A level names its graphics in its INF records. Where a level has two sublevel records, the table says what the second one changes.
| Level | Tile set | Palette | Decoration images | Door image | Monster images |
|---|---|---|---|---|---|
| 1 | DUNG | DUNG | BROWN1, BROWN2 | DOOR1; second: none | GUARD1, GUARD2; second: SPIDER |
| 2 | DUNG | DUNG | BROWN1, BROWN2 | DOOR1 | CLERIC2, SKELWAR |
| 3 | DUNG | DUNG | BROWN1, BROWN2; second also BROWN3 | DOOR1; second: none | CUBE, GARGOYLE; second: ANT |
| 4 | FOREST | FOREST | FOREST | none | WOLF |
| 5 | MEZZ | MEZZ | MEZZ1, MEZZ2 | DOOR1 | CLERIC1 |
| 6 | MEZZ | MEZZ | MEZZ1, MEZZ2 | DOOR1 | CLERIC3 |
| 7 | SILVER | SILVER | SILVER1, SILVER2; second: SILVER1 | DOOR2 | MANTIS; second: WASP |
| 8 | SILVER | SILVER | SILVER1, SILVER2; second: SILVER1 | DOOR2 | FSNAKE, GASSPORE; second: CLERIC1 |
| 9 | SILVER | SILVER | SILVER1, SILVER2 | DOOR2 | BEHOLDER, WILLOWIS |
| 10 | MEZZ | AZURE | AZURE1 | DOOR2 | none |
| 11 | MEZZ | AZURE | AZURE1 | DOOR2; second: none | BULETTE, BASILISK; second: GUARDIAN |
| 12 | MEZZ | AZURE | AZURE1, AZURE2 | DOOR2 | GUARDIAN |
| 13 | MEZZ | AZURE | AZURE1, AZURE2 | DOOR2 | MEDUSA, ASERVANT |
| 14 | MEZZ | AZURE | AZURE1 | DOOR2 | FRGIANT |
| 15 | CRIMSON | CRIMSON | CRIMSON | DOOR2 | HELLHND, MAGE |
| 16 | CRIMSON | CRIMSON | CRIMSON; second also CRIMSON2 | DOOR2 | MINDFLAY, SALAMNDR; second: DRAN, DRAGON |
Everything a level draws uses its palette, so the same dialogue or monster picture can look different from level to level. The maps of the levels are under level maps and their sound files under sound and music.
Tile sets
The five tile sets draw the walls, floor and ceiling of the dungeon view. A VCN file, packed, holds the 8 × 8 blocks of graphics, and the VMP file of the same name places them.
| Set | Levels | VCN bytes | Unpacked | Blocks | VMP bytes | Entries | Wall groups |
|---|---|---|---|---|---|---|---|
CRIMSON | 15, 16 | 23,699 | 36,258 | 1,132 | 5,834 | 2,916 | 6 |
DUNG | 1 to 3 | 41,549 | 47,202 | 1,474 | 5,834 | 2,916 | 6 |
FOREST | 4 | 22,139 | 29,026 | 906 | 2,386 | 1,192 | 2 |
MEZZ | 5, 6, 10 to 14 | 25,585 | 39,938 | 1,247 | 5,834 | 2,916 | 6 |
SILVER | 7 to 9 | 24,936 | 37,186 | 1,161 | 5,834 | 2,916 | 6 |
The entries of the VMP files, by kind and over each whole file. Mirrored and Over the backdrop count entries with only that bit, Both those with the two bits; Mirrored in the backdrop counts the entries with the mirror bit among the 330 of the backdrop.
| File | Entries | VCN blocks | Zero | Mirrored | Over the backdrop | Both | Mirrored in the backdrop | Highest block |
|---|---|---|---|---|---|---|---|---|
CRIMSON | 2,916 | 1,132 | 526 | 606 | 196 | 78 | 47 | 1,131 |
DUNG | 2,916 | 1,474 | 333 | 472 | 224 | 41 | 3 | 1,473 |
FOREST | 1,192 | 906 | 14 | 243 | 86 | 18 | 0 | 905 |
MEZZ | 2,916 | 1,247 | 489 | 497 | 277 | 53 | 12 | 1,246 |
SILVER | 2,916 | 1,161 | 458 | 568 | 189 | 70 | 0 | 1,160 |
No entry is 0x4000, 0x8000 or 0xc000, a flag on block 0. No backdrop
entry is zero or has the over-the-backdrop bit, and no block is used both in
the backdrop and in a wall group.
Sources
The sizes, counts and names come from reading the files of the
file inventory with the schemas
CPS.ksy, VCN.ksy,
VMP.ksy, DEC.ksy,
DCR.ksy, PAL.ksy,
FNT.ksy and INF.ksy, the level
uses from the 22 sublevel records of the INF files and the picture names of the
scripts as script_decoder.py decodes them. The
other users are the item and thrown shapes,
the decoration shapes, the
door shapes, the
wall mappings, the
monster shapes and their
layouts, the DCR loader,
the creation screen, the
dialogue and sequence file names, the
portal animation, the
change of form, the
introduction's pictures, the
ending's tables, the
sublevel loader for palettes, the
program start-up for PALETTE.COL and the
font loader. A search of the executable and of
the other files for the four names of named nowhere found only
other words and files with similar names.