Images, palettes and fonts
From files to the game · Compressed containers (CPS) · Palettes (PAL, EGA, COL) · Fonts (FNT)
In brief
The game's graphics fill 116 .CPS pictures of 320 × 200 pixels, five tile
sets, six decoration lists, nine lists of monster decorations, 28 palettes
and two fonts. This page gives the whole list of pictures, then those of the
dialogue screen, the portraits and the interface, the palettes and the fonts;
the dungeon graphics and the
scenes and sequences have pages of their own. No picture is
reproduced.
All the pictures
The game's graphics fill 116 .CPS pictures, with five tile sets for the dungeon
view, six decoration lists, nine lists of monster decorations, 28 palettes and two
fonts. This page says what each file holds and what uses it. Every .CPS file
unpacks to 320 × 200 pixels, so the sizes
given here are those of the files on disk. No picture is reproduced here;
descriptions are of the decoded pictures, seen under the palette of their first
use.
| Pictures | Files | Used by |
|---|---|---|
| Wall decoration images | 12 | The levels, through a DEC file. |
| Door images | 2 | The levels' door records. |
| Monster images | 29 | The levels' monster graphics slots. |
| Dialogue pictures | 24 | The level scripts, on the dialogue screen. |
| Portraits and interface | 12 | The start menu, party creation and the play screen. |
| Scenes and screens | 7 | The dialogue screen, parchments and scripted sequences. |
| Introduction | 13 | The introduction. |
| Ending | 13 | The ending. |
| Named nowhere | 4 | Nothing. |
SKELWAR.CPS is the only one packed with method 3;
all the others use method 4. Two pictures carry their own palette, MENU.CPS and
HEROES.CPS.
Dialogue pictures
The level scripts name these pictures through
SCRIPT_DIALOGUE, and
its page gives the regions drawn. Each holds a 2 × 2 grid of pictures of 160 × 96
pixels, except DARKMOON, which fills the width of the screen. They are drawn
under the palette of the level.
| Picture | Bytes | Levels | What it shows |
|---|---|---|---|
AIRSEAL | 21,530 | 5 | A carved panel with clouds; it fades to show the corridor behind. |
ALTAR | 18,510 | 16 | A robed man at an altar, then close views of his face. |
BADMOOD | 20,437 | 16 | A green-faced figure in a corner, crumbling away. |
BLOOD | 13,344 | 6 | An emblem on a wall, with blood running from above. |
CHOICE | 23,794 | 7 | A bald, white-bearded old man in four poses. |
CRIMRING | 16,047 | 15 | A carved wall that darkens and opens. |
CRYSTAL | 23,279 | 16 | Four scenes in a crystal ball, one with a dragon over flames. |
DARKMOON | 9,047 | 4 | The temple seen from below. |
DRANAZ3 | 10,967 | 13 | A close view of a man's face in four expressions. |
DRANSL2 | 9,738 | 8 | The same face over another wall. |
GLASS | 16,870 | 6 | A green stained-glass shield in a wall, cracking and falling. |
IMPLODE | 15,391 | 15 | Beams of colour meeting in a carved room, which then collapses. |
KHELBEN | 7,075 | 2, 9, 12 | Khelben's face, with four positions of the mouth. |
KHELDRAN | 17,575 | 12 | Khelben's face, changing into the face of DRANAZ3. |
MMOUTH1 | 8,999 | 6, 11, 12 | Lips on a wall, in four positions. |
MMOUTH2 | 10,658 | 7, 8 | Larger lips on a patterned wall. |
SOUT1 | 29,935 | 1, 4, 5 | A hooded old woman in a forest; two helmeted guards; steps behind bushes; two adventurers. |
SOUT2 | 24,759 | 5 to 8 | A woman with a headband; a man in a green hood, pointing; a green creature on the floor; a figure in red, crawling. |
SOUT3 | 22,232 | 8, 9, 15 | A woman in a red hood, in three views; a hand holding a coin. |
SOUT4 | 27,829 | 9, 14 | A beholder in two views; a seated, bearded man in two poses. |
SOUT5 | 19,589 | 11, 15 | An old man at an arched opening; a bearded creature with root-like legs; an upside-down figure in two poses. |
STONEGIA | 10,632 | 15 | A tall figure turning from flesh to stone. |
SUICIDE | 18,251 | 9 | The same seated man in two poses; a stone block carved with a hand; a plain area. |
TANGLOR | 9,048 | 7 | A sleeping adventurer, waking and sitting up; one region is empty. |
Portraits and interface
| Picture | Bytes | Palette | What it holds | Used by |
|---|---|---|---|---|
MENU | 24,493 | Its own, or MENU.EGA | The title of the game over a stone wall. | The start menu, with the version label. |
CHARGEN | 25,914 | Left by the start menu | The stone screen of character generation with four boxes. | The party creation screen. |
CHARGENA | 33,141 | Left by the start menu; the level's in play | 53 portraits of 32 × 32 pixels, ten per row. | Portraits: the first 44 are offered at creation; the others go to transferred characters. |
CHARGENB | 7,888 | Left by the start menu | Ten frames of sparkles, then stone and buttons. | The box animation and buttons of the creation screen. |
OUTPORTS | 4,315 | The level's | Six portraits of 32 × 32 pixels. | The recruitable characters. |
PLAYFLD | 8,821 | The level's | The play screen: view area, portrait boxes, arrows, compass base, message bar and camp button. | The play screen. |
INVENT | 2,450 | The level's | The inventory page, a body outline with slots. | The same, and the inventory. |
ITEMICN | 11,056 | The level's | 112 item icons of 16 × 16 pixels, 20 per row. | The inventory, hands and pointer. |
ITEML1 | 3,685 | The level's | 11 large shapes of items on the floor. | Items on the floor. |
ITEMS1 | 3,981 | The level's | 26 small shapes of items on the floor. | Items on the floor. |
THROWN | 4,957 | The level's | 13 thrown shapes, three flames and two label backgrounds. | Flying objects. |
DECORATE | 4,929 | The level's | Sparkles, temporary walls, the lightning column and the compass. | Teleporters, temporary walls and the decoration loader. |
Portraits 0 to 28 are offered to male characters and 26 to 43 to female ones.
Palettes
All 28 palette files are 768 bytes long, and every value lies between 0 and 63. In the six dungeon palettes, colour 12 is black.
| Files | Used for |
|---|---|
AZURE.PAL, CRIMSON.PAL, DUNG.PAL, FOREST.PAL, MEZZ.PAL, SILVER.PAL | The dungeon styles in the VGA display mode, by level. |
AZURE.EGA, CRIMSON.EGA, DUNG.EGA, FOREST.EGA, MEZZ.EGA, SILVER.EGA | The same styles in the EGA display mode, read instead of the .PAL file. |
MENU.EGA | The start menu in the EGA mode, replacing the palette of MENU.CPS. |
INTRO.EGA, PALETTE0.PAL | The introduction outside the VGA mode. |
PALETTE1.PAL | The introduction in the VGA mode. |
PALETTE2.PAL, PALETTE3.PAL, PALETTE4.PAL | The palette flashes of the introduction in the VGA mode. |
FINALE_0.PAL, FINALE_2.PAL | The ending in the VGA mode, FINALE_2 from MAGIC on. |
FINALE_1.PAL, FINALE_3.PAL, FINALE_4.PAL, FINALE_5.PAL | The fades of the temple's destruction, in the VGA mode. |
FINALE_6.PAL, FINALE_7.PAL | The ending in the other modes, FINALE_7 from MAGIC on. |
PALETTE.COL | Read once at start-up, before the start menu; byte-identical to FOREST.PAL. |
In the .EGA files, 99 to 169 of the 256 colours use only the intensities 0, 21,
42 and 63: 169 in INTRO.EGA, 99 in MENU.EGA, and 108 to 115 in the six dungeon
files.
MENU.CPS and HEROES.CPS carry the same palette.
FADING.DAT, 1,792 bytes, holds the seven fading tables
of the introduction in the VGA mode.
Fonts
| File | Bytes | Characters | Glyph size | Used for |
|---|---|---|---|---|
FONT6.FNT | 1,028 | 128 | 6 × 6 | The play screen: messages, names and the inventory. |
FONT8.FNT | 1,284 | 128 | 8 × 8 | The start menu, two-choice questions, defeat and ending. |
See the font format. The texts page counts what they draw.
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.