Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "Config files"

From Quake Wiki

(added directory information)
(add info about creation)
Line 1: Line 1:
'''Config files''' are plain text files with a .cfg extension that Quake stores player settings, such as keyboard controls in. They are normally stored in game directories, such as the default ID1 directory, as well as in the game dir of other [[Mod|mods]].
+
'''Config files''' are plain text files with a .cfg extension that Quake stores player settings, such as keyboard controls in. They are normally stored in game directories, such as the default ID1 directory, as well as in the game dir of other [[Mod|mods]]. They are simple text files and can be created by any text editor.
  
 
Some configuration files are loaded automatically at startup, but players can create their own config files and load them at the console using the [[exec]] command.
 
Some configuration files are loaded automatically at startup, but players can create their own config files and load them at the console using the [[exec]] command.

Revision as of 18:08, 25 August 2020

Config files are plain text files with a .cfg extension that Quake stores player settings, such as keyboard controls in. They are normally stored in game directories, such as the default ID1 directory, as well as in the game dir of other mods. They are simple text files and can be created by any text editor.

Some configuration files are loaded automatically at startup, but players can create their own config files and load them at the console using the exec command.

config.cfg

config.cfg is used to store player settings, such as controls, player colours and name. Some modern engines, such as FitzQuake and derivatives use this file to store all settings, but older versions of the Quake engine did not write certain settings.

autoexec.cfg

autoexec.cfg is used to store commands the player wants the engine to automatically execute at startup. Often, players will add graphics settings and commands that were not usually saved in config.cfg, such as +mlook in here. Place this file in the id folder inside your main game folder.