.cfg

From Jedi Knight Wiki | JKHub
Revision as of 22:33, 2 March 2013 by MUG (talk | contribs) (Pretty much completely re-written)

A CFG file is a plain text file containing a list of cvars and/or commands, which are all executed when the .cfg file run. They are commonly used to store game settings, or execute multiple commands at once. CFG can stand for Context-free grammar or Configuration. The game automatically saves your settings to a config file which is automatically loaded when the game starts

Syntax

Simply list multiple commands and/or cvars on separate lines, or separated by semicolons. They can be created in any plain text editor simply by saving a document with the file extension .cfg instead of .txt.

Related Commands

  • exec [config file path] - executes the named file within the base folder (or current mod folder).
  • write [file name] - saves your current settings to a new cfg file.

Most players customize there own .cfg files so they don't have to while in game.