The same mark can belong to a tree, a crop or a line of text. A good character sheet makes all three readable on the same screen.
A map that shares its alphabet with the menus
The character display draws a map from a sheet of 256 cells in Code Page 437 order. There are sixteen rows with sixteen cells in each. Letters, punctuation, arrows and box-drawing lines share space with smiley faces, suits and shaded blocks. A map cell adds a foreground and background colour. The same symbol can therefore depict several kinds of thing, depending on colour and context.
Three cells from the 40d character sheet
☺︎001
Civilian dwarf
♠︎006
Plump helmet or tree
%037
Meal or working pump
Change cell 037 to a picture of supper and the same picture will turn up in the pump. Cell 006 has an even busier life in the woods. Look at a farm tile and a tree with the same mark. Their colours and their neighbours help tell you which is which. A diamond can be a cut gem and a little ring can be a well. Before redrawing a letter, try reading a dwarf’s name with it.
Choose a grid you can read
Cell shape
On the map
In the text
Square, such as 8 × 8
On the mapNorth–south and east–west distances get equal space.
In the textLetter strokes have very few pixels in which to distinguish themselves.
Square at 16 × 16
On the mapEnough space for texture and a recognisable object at each position.
In the textFewer tiles fit in the same window at native scale.
Tall, such as 8 × 12
On the mapA square room on the map looks taller than it is wide.
In the textNarrower letters can be more comfortable in long announcements.
Tiny, below 8 × 8
On the mapA whole level can fit on a small screen.
In the textA similar pair of symbols can collapse into the same dot.
Sheet with edited object definitions
On the mapSome symbols can be given more specific jobs.
In the textIt belongs with the matching definitions. Swapping the image alone can mislabel objects.
For a 40d display, do two sums. Ten-by-twelve cells on a sixteen-by-sixteen sheet make a 160 × 192 pixel bitmap. The same cells in an eighty-column, twenty-five-row window occupy 800 × 300 pixels. Sixteen-pixel square cells give a 256 × 256 file and a 1,280 × 400 window. Add grid columns to see more ground. Enlarge the cells to see the same ground in more detail.
Working with a 40d character sheet
In 40d the character sheet was a bitmap in the art directory. Keep a copy of the working sheet and the display settings. The normal and full-screen settings could select different sheets. Check the pixel dimensions of the whole bitmap against the sixteen-by-sixteen layout. Compare the result at native size before stretching it.
For that edition, save the sheet as a 24-bit BMP in data/art. Renaming a PNG leaves its pixels in the old format. In data/init/init.txt, set FONT to that bitmap’s filename. For the ten-by-twelve example above use [WINDOWEDX:800] and [WINDOWEDY:300]. In full screen the corresponding entries are FULLFONT, FULLSCREENX and FULLSCREENY. Use [BLACK_SPACE:YES] to leave spare space around the tiles when the window and grid do not match.
With creature graphics switched on, the game reads the GRAPHICS_FONT or GRAPHICS_FULLFONT entry. Check the matching resolution and GRAPHICS_BLACK_SPACE too. A font that looks right until you switch display mode is a good reason to inspect that second set of settings.
Bright magenta in the artwork stands for the tile’s background. White takes the selected foreground colour. A grey mark darkens that foreground, and black stays black. A coloured mark filters the foreground unevenly across its channels. The classic advice uses grey shading for a reason. Strongly coloured ink can vanish against particular game colours. Test a tree, dwarf and menu message using the same change.
Look up a 40d tile
The tables below follow the printed order on a sheet. A number identifies a cell even if your font draws the symbol differently. These are uses reported for the 40d game. Profession art and modern graphical tiles have their own mappings.
An asterisk * marks an object whose tile could be reassigned in the raw files. A hash # marks a creature that could also use a graphics-set picture. A dollar sign $ after a use indicates a setting in the game’s initialisation file. The actual character drawn is always in the middle column.
000–015 · Faces, plants and gems☺☻♥♦♣♠•◘○◙♂♀♪♫☼
Code
Mark
40d uses
0
Blank
Used for background tiles in the intro CMV, rarely used elsewhere
Find a sheet by the shape of one cell. The five collections include 104 entries. Each entry lists the artist or sheet name, plus a display size where the catalogue gives one. Some makers supplied several versions at the same size. Full-screen and windowed resolutions could differ.
Other square sheets · 30 entries
Sheet or maker
Cell (px)
Listed display (px)
Anikki
8 × 8
640 × 200 native
Anikki
10 × 10
800 × 250 native
Anikki
20 × 20
1600 × 500 native
Dorten (2 variants)
9 × 9
720 × 225
Hanuman
12 × 12
900 × 300
Haowan
18 × 18
1440 × 450
Herrbdog
12 × 12
960 × 300
Lord Dullard · Lord Dullard/Exponent
12 × 12
960 × 300 native
Lord Nightmare · Lord Nightmare/IBM (3 variants)
8 × 8
640 × 400
maus
9 × 9
720 × 225
Markavian (2 variants)
12 × 12
960 × 300
Paul
10 × 10
800 × 250 for 80 × 25 grid size, others just multiply grid by 10
Dorten’s 9 × 9 sheets show what a second pass can buy. One smoothed the walls in Savok’s set. A further edit made a numeral seven easier to tell from a question mark. Both fit the same 720 × 225 view.
Anikki’s 10 × 10 and 20 × 20 sheets pair a small map with a full-screen enlargement. Test a ramp before committing a fort to either one. The artist recorded that the up and down ramp pictures were reversed.
Lord Nightmare’s 8 × 8 sheets include the thick and thin CGA letters and an EGA variant. The EGA changes touched only four characters, including the capital S and the spade. That last change also alters the appearance of a plump helmet.
A character used for ordinary writing deserves a separate test line. Try the digits, punctuation, upper and lower case letters, accents used in a dwarf’s name, and the four arrows used to indicate directions. Then inspect line-drawing pieces against their neighbours. A junction that ends one pixel short can make a sealed corridor appear to have a gap. In a dense stockpile, keep a shadow tone visible against both the foreground and background colours.