Configuration file options

From EDukeWiki
Revision as of 10:45, 13 September 2006 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

Lots of settings exist in the Duke3D.cfg and Build.cfg files. This is a guide to make it easier to change them. Most of these can be changed either in-game, with Setup.exe, or in the startup screen.

Duke3D.cfg Settings

[Controls]

[Misc]

AutoMsg

AutoVote

Color

Crosshairs

DemoCams

Executions

IDPlayers

MPMessageDisplayTime

RunMode

ShowFPS

ShowLevelStats

ShowOpponentWeapons

ShowViewWeapon

StatusBarMode

StatusBarScale

Team

UsePrecache

WeaponChoice0-9

[Setup]

ForceSetup

This is used to designate whether or not the game setup dialog will appear at game startup. It uses the binary switch.

[Screen Setup]

Detail

This is used to designate if the detail of the graphics is high or low. You can also change it in the Game Setup menu. It uses a variation of the binary switch, with the following values:

0: Low
1: High
2+: INVALID

GLAnisotropy

GLProjectionFix

GLTextureMode

GLUseCompressedTextureCache

This is the flag for enabling the compressed on-disk texture cache. It uses the binary switch.

GLUseTextureCacheCompression

This is the flag for on-disk texture cache compression. It uses the binary switch.

GLUseTextureCompr

This is the flag for texture compression. It uses the binary switch.

GLWidescreen

This is the flag for widescreen mode. It uses the binary switch.

MaxRefreshFreq

This is the maximum refresh rate. It defaults at 60.

Messages

This is the flag for the whether or not to display messages. It uses the binary switch.

Out

This is the flag for the parental lock. It uses the binary switch.

Password

This is the parental lock password.

ScreenBPP

This is the setting for the amount of colors diplayed on screen at once, measured in BPP (bits per pixel). Valid values are 8, 16, 24, and 32.

ScreenGamma

ScreenHeight

This is the height of the screen. It is recommended to change this in-game or in the setup utilities provided.

ScreenMode

ScreenSize

This is the size of the screen and\or status bar. It defaults at 4.

ScreenWidth

This is the width of the screen. It is recommended to change this in-game or in the setup utilities provided.

Shadows

This is the flag for enabling shadows. It uses the binary switch. See spriteshadow.

Tilt

This is the flag for enabling screen tilting. It uses the binary switch. See wackplayer.

UseHightile

This is the flag for enabling high-resolution textures and sprites. It uses the binary switch.

UseModels

This is the flag for 3D Models. It uses the binary switch.

[Sound Setup]

AmbienceToggle

FXVolume

MusicToggle

MusicVolume

ReverseStereo

SoundToggle

VoiceToggle

[KeyDefinitions]

[Comm Setup]

PlayerName

This is the player's name, which defaults to "Duke". It is recommended to change this, either here or in the Player Setup menu.

RTSName

This is the name of the remote ridicule file. It defaults to "DUKE.RTS", and most players will not need to change this as this file already exists. To play the sounds press "ALT+F1-F10".

CommbatMacro#0-9

These are the text macros used to send messages with "SHIFT+F1-F10", and yes, it is spelled that way. Here are the defaults:

CommbatMacro#0 = "An inspiration for birth control."
CommbatMacro#1 = "You're gonna die for that!"
CommbatMacro#2 = "It hurts to be you."
CommbatMacro#3 = "Lucky Son of a Bitch."
CommbatMacro#4 = "Hmmm....Payback time."
CommbatMacro#5 = "You bottom dwelling scum sucker."
CommbatMacro#6 = "Damn, you're ugly."
CommbatMacro#7 = "Ha ha ha...Wasted!"
CommbatMacro#8 = "You suck!"
CommbatMacro#9 = "AARRRGHHHHH!!!"

[Gamevars]

This section is used to store gamevars with savegamevar in order to preserve things between EDuke32 sessions. In order to put the contents of the gamevar stored here back into memory, use readgamevar.


Build.cfg Settings

forcesetup

Same as above.

fullscreen

This is the flag for fullscreen mode. Default is 0. Here is the scale:

0: Windowed
1: Fullscreen
2+: INVALID

xdim2d

The height of the screen in 2D mode. Default is 640.

ydim2d

The width of the screen in 2D mode. Default is 480.

xdim3d

Same as xdim3d, but for 3D mode.

ydim3d

Same as ydim3d, but for 3D mode.

bpp

Same as ScreenBPP. This is for 3D mode only.

glusetexcache

Same as above.

glusetexcachecompression

Same as above.

gltexfiltermode

Same as above.

maxrefreshfreq

Same as above.

brightness

This is the value for the 3D mode brightness. Default is 0. It ranges from 0 (darkest) to 15 (brightest).

samplerate

This is the value for the sound sample rate. Default is 0. Here is the scale:

0 - 6 KHz
1 - 8 KHz
2 - 11.025 KHz
3 - 16 KHz
4 - 22.05 KHz
5 - 32 KHz
6 - 44.1 KHz

music

This is the flag for enabling music. Default is 0. It uses the binary switch.

mouse

This is the flag for enabling the mouse. Default is 0. It uses the binary switch.

mousesensitivity

The sensitivity of the mouse. Default is 1.

Key Settings

Here's a map of all the keyboard scan codes: NOTE: values are listed in hex!

+---------------------------------------------------------------------------------------------+
| 01   3B  3C  3D  3E   3F  40  41  42   43  44  57  58          46                           |
|ESC   F1  F2  F3  F4   F5  F6  F7  F8   F9 F10 F11 F12        SCROLL                         |
|                                                                                             |
|29  02  03  04  05  06  07  08  09  0A  0B  0C  0D   0E     D2  C7  C9      45  B5  37  4A   |
| ` '1' '2' '3' '4' '5' '6' '7' '8' '9' '0'  -   =  BACK    INS HOME PGUP  NUMLK KP/ KP* KP-  |
|                                                                                             |
| 0F  10  11  12  13  14  15  16  17  18  19  1A  1B  2B     D3  CF  D1      47  48  49  4E   |
|TAB  Q   W   E   R   T   Y   U   I   O   P   [   ]    \    DEL END PGDN    KP7 KP8 KP9 KP+   |
|                                                                                             |
| 3A   1E  1F  20  21  22  23  24  25  26  27  28     1C                     4B  4C  4D       |
|CAPS  A   S   D   F   G   H   J   K   L   ;   '   ENTER                    KP4 KP5 KP6    9C |
|                                                                                      KPENTER|
|  2A    2C  2D  2E  2F  30  31  32  33  34  35    36            C8          4F  50  51       |
|LSHIFT  Z   X   C   V   B   N   M   ,   .   /   RSHIFT          UP         KP1 KP2 KP3       |
|                                                                                             |
| 1D     38              39                  B8     9D       CB  D0   CD      52    53        |
|LCTRL  LALT           SPACE                RALT   RCTRL   LEFT DOWN RIGHT    KP0    KP.      |
+---------------------------------------------------------------------------------------------+

Here are the defaults. Note that quite a few of them are useless, like "keyfire".

keyforward = C8
keybackward = D0
keyturnleft = CB
keyturnright = CD
keyrun = 2A
keystrafe = 9D
keyfire = 1D
keyuse = 39
keystandhigh = 1E
keystandlow = 2C
keylookup = D1
keylookdown = C9
keystrafeleft = 47
keystraferight = 49
key2dmode = 9C
keyviewcycle = 1C
key2dzoomin = D
key2dzoomout = C
keychat = F
keyconsole = 29