Last updated 25-Jan-4
Section | Chapter |
---|---|
Introduction | |
File Formats |
Saved Games
World Data Files Binary Files Temporary Files Miscellaneous Data |
Catalog Contents |
Battle Image Catalogs (?)
Other Catalogs |
Source XML |
This is very much a work in progress. Please excuse broken links, missing content, etc.
All of the file format description files were generated from XML files using XSLT. At some point I will upload the raw files so folks can look at them.
Filename(s) | Description |
---|---|
saves\*.sav | Saved game (regular) |
[saves\*.bsv] | Saved game (battlefield data) |
[saves\default] | TODO: base character data for trading members at inns? |
File name or type | Description |
---|---|
catalog (*.cat )
|
Catalog file (pseudo-filesystem) |
darkland.alc | Alchemical formula definitions |
darkland.cty | City definitions |
darkland.dsc | City descriptions |
darkland.enm | Enemy definitions |
darkland.loc | Location definitions |
darkland.lst | Lists of items, saints, and formulae |
darkland.map | Map of the world |
darkland.snt | Saint descriptions |
File name or type | Description |
---|---|
darkland.exe | Darklands executable |
Filename | Description |
---|---|
cache.tmp | Temporary file: inn cache data |
charactr.tmp | Temporary file: character data |
locs.tmp | Temporary file: location data |
menu (*.msg )
|
Menu files
(see also msgfiles )
|
structures | Structures common to several files |
enumerations | Enumerations common to several files |
Several of the Darklands data files are actually "catalogs": collections of
many smaller files. Most of these have a ".cat
" extension.
All of them have a common structure.
These catalogs all contain files with an ".imc
" extension.
Most likely, these are battle sprites and overlays.
The filename part of these files follows a standard encoding scheme;
substrings of the filenames (ie "A00CBAX
") can be broken
down ("A00
" "CB
" "AX
") as follows:
Character Positions | Meaning |
---|---|
1-3 |
The image group (ie, "F60 " for Gretchen, "M01 " for a wild boar).
Another place where three letters indicates an image group is the
party_images
array in the saved game files.
|
4-5 |
"CB " for combat,
"WK " for walking,
"DY " for dying (or dead).
|
6-7 |
For combat or walking images, the weapon being carried
(ie, "AX " for an axe, "HG " for a handgun).
These positions are never filled for the dying/dead image. |
The catalogs themselves are grouped by image group, or by a set of image groups.
"a00c.cat
" contains just the "A00
" images, but
"e00c.cat
" contains all of the "E??
" images.
Catalog File | Contents |
---|---|
a00c.cat | Battle sprites and overlays for an alchemist ("Hans") |
c00c.cat | Battle sprites and overlays for a cleric ("Ebhard") |
e00c.cat | Battle sprites and overlays for human enemies |
f01c.cat | Battle sprites and overlays for a male fighter ("Gunther") |
f60c.cat | Battle sprites and overlays for a female fighter ("Gretchen") |
m00c.cat | Battle sprites and overlays for non-human enemies |
Catalog File | Contents |
---|---|
bc | TODO |
editor.cat | TODO |
einfo.cat | TODO |
imaps.cat | Graphics? Tiles? for city, mine, outdoor, and castle |
lcastle | TODO |
msgfiles |
Menus and cards (see also *.msg )
|
Note: links in this section may or may not be viewable in your browser,
depending on how your browser interprets incoming content. The "AddType
"
directive was added in the .htaccess
file, but that isn't always enough.
If you are having problems viewing these files, do a lame-click->Save, save
as a .txt
file, and view that way.
All of the file format content was generated via XSLT from source XML files. The intent was to create an XML protocol for describing file formats that could be used to create HTML viewable content, as well as C structs (or other language constructs). The support files are:
Filename | Purpose |
---|---|
file_format.dtd | DTD for the file format XML files |
simple_inline_html.dtd | "Simple HTML" DTD (for extended descriptions) |
file_format.xslt | XSLT file for converting file format XML into HTML |
And the source XML content is:
todo: this is a placeholder for the list of all files not accounted for above
these links are all broken right now. ;-)
Filename | Links | Description |
---|---|---|
asound.dlb | ||
asound.dlc | ||
banner.dat | ||
battlegr.img | ||
bkgndpal.dat | ||
bootdisk.exe | ||
commonsp.img | ||
comnclrs.dat | ||
config.drk | ||
credits.pan | ||
darkland.cch | [format] | |
darkland.cfg | ||
darkland.fam | [format] | |
darkland.msg | [format] | |
darkpop.com | ||
death.pan | ||
enddark1.dgt | ||
enddark2.dgt | ||
enemypal.dat | ||
fin0a.pan | ||
fin1a.pan | ||
fin2a.pan | ||
fin3a.pan | ||
fin4a.pan | ||
fin5a.pan | ||
fonts.fnt | ||
fonts.utl | ||
heap.fng | ||
hitseq.dta | ||
install.exe | ||
install.pif | ||
isound.dlb | ||
isound.dlc | ||
mgraphic.exe | ||
misc.exe | ||
mpscopy.exe | ||
nsound.dlc | ||
opendark.dgt | ||
openin6z.pan | ||
opening2.pan | ||
opening3.pan | ||
opening4.pan | ||
opening7.pan | ||
opening8.pan | ||
opening9.pan | ||
psound.dlb | ||
psound.dlc | ||
readme.now | ||
readme.txt | ||
rsound.dlb | ||
rsound.dlc | ||
tac.txt | ||
tacanim.db | ||
terrain.fil | ||
xtract.exe |