the cutting room mirror

The Elder Scrolls II: Daggerfall

This article has a talk page!
view on tcrf.net

This page contains notes for the game The Elder Scrolls II: Daggerfall.

z.cfg#

Used by Daggerfall, but not well-documented, z.cfg is loaded by Daggerfall and is used to gather info needed to run the game. It's pretty important for the game to run is what we're saying.

Option

Possible Values

Explanation

type

dfall_huge, dfall_medi, dfall_mini, dfall_mode

Installation type.

path

Unknown.

Path to the game's directory.

pathcd

Unknown.

Path to the CD.

fadecolor

Unknown. Set to 0 by default.

Unknown. Setting it above 0 can crash the game.

faction

Unknown.

Unknown.

facloop

Unknown.

Unknown.

custom

Unknown.

Unknown.

item

Unknown.

Unknown.

artifact

Unknown.

Unknown.

gender

Unknown.

Unknown. In demo versions, this was used to select your character's gender. Untested with the full versions.

editor

Unknown.

Only mentioned in the prototype demos's z.cfg file and it does not function there.

mapfile

Set to mapfile d by default. But can be set to mapfile m.

mapfile d places the player in a dungeon, but mapfile m can send the player to any exterior area.

fpu

0 or 1

Supposed to enable floating-point calculations, though this is very glitchy and can cause the game to slow down.
This was covertly added in later versions of Daggerfall.

rendergame

0 or 1

Setting it to 1 renders the game, while setting it to 0 doesn't.
Doesn't appear to be recognized in the final game, but is in the prototype demo versions.

renderscape

0 or 1

Setting it to 1 renders the landscape, while setting it to 0 doesn't.
Doesn't appear to be recognized in the final game, but is in the prototype demo versions.

user

Unknown.

Unknown.

cheatmode

0 or 1

Setting it to 1 enables debugging keys. Works on 2.12 and newer only. There is a "CHEAT" option present in earlier versions, but doesn't work.

startMap

Unknown. Set to 179 by default.

Choose where the begin in the game.

region

Unknown. Set to 17 by default.

Chose the starting region of the game.

helmet

Unknown.

Unknown.

debug

Unknown.

Unknown. Can crash the game.

maxSpeed

Any integer greater than 0. Set to 200 by default.

How fast the player can go.

controls

Unknown.

Where the controls file is stored. The game freezes when trying to go into the game if this is not set.

blockStr

Unknown.

Unknown.

maps

Unknown. Set to mapsave.sav by default.

Unknown.

marker

Unknown.

Unknown.

seed

Unknown.

Unknown.

stereo

0, 1

0 is normal stereo, but 1 swaps the left and right audio channels.

objmemsize

Unknown.

Added in 1.03.179, this allows the player to set the amount of memory dedicated to game items.
Possibly known as 'memory' in earlier versions.

TextureMemory

Unknown.

Added in 1.06.200, this sets memory aside for textures.

MagicRepair

0 or 1

Added in 1.06.200, this allows the player to repair magic items.

ps2fix

Unknown.

Unknown. Likely meant to be used for PS/2 mice or keyboards.

multiplayer

Unknown.

Only mentioned in the prototype demos's z.cfg file and it does not appear to function there.

Player Data Format#

Used by betaplyr.dat and viewplyr.dat.

ADDRESSES USED:

  • 0x36 - Controls forward movement
  • 0x37 - Controls reverse movement
  • 0x38 - Turn left
  • 0x39 - Slide left
  • 0x3A - Turn right
  • 0x3B - Slide right
  • 0x3C - Float Up
  • 0x3D - Float Down
  • 0x3E - Jump
  • 0x3F - Crouch
  • 0x40 - Slide
  • 0x41 - Run
  • 0x42 - Rest
  • 0x43 - Transport
  • 0x44 - Steal Mode
  • 0x45 - Grab Mode
  • 0x46 - Info Mode
  • 0x47 - Talk Mode
  • 0x48 - Activate Center Object
  • 0x49 - Activate Cursor
  • 0x4A - Look Up
  • 0x4B - Look Down
  • 0x4C - Center View
  • 0x4D - Look Around
  • 0x4E - Logbook
  • 0x4F - Notebook
  • 0x50 - Automap
  • 0x51 - Travel Map
  • 0x52 - Cast Spell
  • 0x53 - Recast Spell
  • 0x54 - Abort Spell
  • 0x55 - Use Magic Item
  • 0x56 - Ready Weapon
  • 0x57 - Swing Weapon
  • 0x58 - Switch Hand
  • 0x59 - Status
  • 0x5A - Char Sheet
  • 0x5B - Inventory

VALUES: All values here are 8-bit values for keys. Any other key combination will cause the game to glitch out weirdly or outright crash

  • 0x00 - "%d out of %d identified" (Glitch string)
  • 0x01 - ESC
  • 0x02 - 1
  • 0x03 - 2
  • 0x04 - 3
  • 0x05 - 4
  • 0x06 - 5
  • 0x07 - 6
  • 0x08 - 7
  • 0x09 - 8
  • 0x0A - 9
  • 0x0B - 0
  • 0x0C - - (Minus sign)
  • 0x0D - =
  • 0x0E - Backspace
  • 0x0F - Tab
  • 0x10 - Q
  • 0x11 - W
  • 0x12 - E
  • 0x13 - R
  • 0x14 - T
  • 0x15 - Y
  • 0x16 - U
  • 0x17 - I
  • 0x18 - O
  • 0x19 - P
  • 0x1A - [
  • 0x1B - ]
  • 0x1C - Enter
  • 0x1D - Control
  • 0x1E - A
  • 0x1F - S
  • 0x20 - D
  • 0x21 - F
  • 0x22 - G
  • 0x23 - H
  • 0x24 - J
  • 0x25 - K
  • 0x26 - L
  • 0x27 - ;
  • 0x28 - '
  • 0x29 - Graphic of an arrow pointing to the right
  • 0x2A - Left Shift
  • 0x2B - \
  • 0x2C - Z
  • 0x2D - X
  • 0x2E - C
  • 0x2F - V
  • 0x30 - B
  • 0x31 - N
  • 0x32 - M
  • 0x33 - ,
  • 0x34 - .
  • 0x35 - /
  • 0x36 - Right Shift
  • 0x37 - *
  • 0x38 - Alt
  • 0x39 - Space Bar
  • 0x3A - Caps Lock
  • 0x3B - F1
  • 0x3C - F2
  • 0x3D - F3
  • 0x3E - F4
  • 0x3F - F5
  • 0x40 - F6
  • 0x41 - F7
  • 0x42 - F8
  • 0x43 - F9
  • 0x44 - F10
  • 0x45 - Num Lock
  • 0x46 - Scroll Lock
  • 0x47 - Home
  • 0x48 - Up Arrow
  • 0x49 - Pg. Up
  • 0x4A - - (Underscore?)
  • 0x4B - Left Arrow
  • 0x4C - 5 (?)
  • 0x4D - Right Arrow
  • 0x4E - Plus Key
  • 0x4F - End
  • 0x50 - Down Arrow
  • 0x51 - Pg. Down
  • 0x52 - Insert
  • 0x53 - Delete
  • 0xCA - 1st/Left Mouse Button
  • 0xCB - 2nd/Right Mouse Button
  • 0xCC - 3rd/Center Mouse Button