Skip to main content

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.

What a level draws with. Each sublevel record of the level's INF file names a dungeon style, whose tile set (.VCN), wall layouts (.VMP) and palette (.PAL) draw the walls, floor and ceiling; decoration images with their .DEC list, for the wall decorations; a door image; and up to two monster images, some with a .DCR list of monster decorations.
The INF file names the graphics; the view draws them with the level's palette.

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.

LevelTile setPaletteDecoration imagesDoor imageMonster images
1DUNGDUNGBROWN1, BROWN2DOOR1; second: noneGUARD1, GUARD2; second: SPIDER
2DUNGDUNGBROWN1, BROWN2DOOR1CLERIC2, SKELWAR
3DUNGDUNGBROWN1, BROWN2; second also BROWN3DOOR1; second: noneCUBE, GARGOYLE; second: ANT
4FORESTFORESTFORESTnoneWOLF
5MEZZMEZZMEZZ1, MEZZ2DOOR1CLERIC1
6MEZZMEZZMEZZ1, MEZZ2DOOR1CLERIC3
7SILVERSILVERSILVER1, SILVER2; second: SILVER1DOOR2MANTIS; second: WASP
8SILVERSILVERSILVER1, SILVER2; second: SILVER1DOOR2FSNAKE, GASSPORE; second: CLERIC1
9SILVERSILVERSILVER1, SILVER2DOOR2BEHOLDER, WILLOWIS
10MEZZAZUREAZURE1DOOR2none
11MEZZAZUREAZURE1DOOR2; second: noneBULETTE, BASILISK; second: GUARDIAN
12MEZZAZUREAZURE1, AZURE2DOOR2GUARDIAN
13MEZZAZUREAZURE1, AZURE2DOOR2MEDUSA, ASERVANT
14MEZZAZUREAZURE1DOOR2FRGIANT
15CRIMSONCRIMSONCRIMSONDOOR2HELLHND, MAGE
16CRIMSONCRIMSONCRIMSON; second also CRIMSON2DOOR2MINDFLAY, 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.

SetLevelsVCN bytesUnpackedBlocksVMP bytesEntriesWall groups
CRIMSON15, 1623,69936,2581,1325,8342,9166
DUNG1 to 341,54947,2021,4745,8342,9166
FOREST422,13929,0269062,3861,1922
MEZZ5, 6, 10 to 1425,58539,9381,2475,8342,9166
SILVER7 to 924,93637,1861,1615,8342,9166

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.

FileEntriesVCN blocksZeroMirroredOver the backdropBothMirrored in the backdropHighest block
CRIMSON2,9161,13252660619678471,131
DUNG2,9161,4743334722244131,473
FOREST1,1929061424386180905
MEZZ2,9161,24748949727753121,246
SILVER2,9161,1614585681897001,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.