Darkmod.cfg: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:




===DoomConfig.cfg Important Howto===
===Darkmod.cfg Important Howto===


This article describes info about editing DoomConfig.cfg
This article describes info about editing Darkmod.cfg


===Introduction===
===Introduction===


Game configuration settings are stored in the file DoomConfig.cfg. This section concerns anyone that might want to manually add or change settings to that file. So if you only change settings in the Dark Mod menus or in the console then you do not necessarily need to read the following.
Game configuration settings are stored in the file Darkmod.cfg. This section concerns anyone that might want to manually add or change settings to that file. So if you only change settings in the Dark Mod menus or in the console then you do not necessarily need to read the following.




===Summary===
{{important|headline=Summary of how to edit Darkmod.cfg|text=* UNinstall the current FM in the Dark Mod New Mission menu.
 
* Quit Dark Mod
SUMMARY OF HOW TO EDIT DoomConfig.cfg:
* Edit the Darkmod.cfg in the darkmod folder only}}
* UNinstall the current FM in the Dark Mod New Mission menu.
* Quit Dark Mod
* Edit the DoomConfig.cfg in the darkmod folder only


===Different folder configs===
===Different folder configs===


Although Dark Mod FMs are placed into the folder doom3\darkmod\fms they actually run in their own game folder within the doom3 folder. Each of these folders has its own DoomConfig.cfg. In addition the darkmod folder also has one and also doom3\base has one. This can lead to complications and has been a real headache for the Dark Mod team to decide how to handle it. Imagine 50 different FMs each with its own config and you want to change one thing!
Although Dark Mod FMs are placed into the folder darkmod\fms they actually run in their own game folder within the darkmod folder. Each of these folders can have its own Darkmod.cfg.
This can lead to complications and has been a real headache for the Dark Mod team to decide how to handle it. Imagine 50 different FMs each with its own config and you want to change one thing!




Line 27: Line 25:
This is the current default method:
This is the current default method:


* When an FM is 'installed' (made current) or re-installed then when Dark Mod is run the darkmod\DoomConfig.cfg is copied over to the FM's game folder (replacing any that might be there.)
* When an FM is 'installed' (made current) or re-installed then when Dark Mod is run the darkmod\Darkmod.cfg is copied over to the FM's game folder (replacing any that might be there.)
* While Dark Mod is running, any changes to menu settings are stored in the FM's game folder.
* While Dark Mod is running, any changes to menu settings are stored in the FM's game folder.
* When UNinstalling or Quitting Dark Mod then the DoomConfig.cfg is copied back from the FM's game folder to the darkmod\DoomConfig.cfg
* When UNinstalling or Quitting Dark Mod then the Darkmod.cfg is copied back from the FM's game folder to the darkmod\Darkmod.cfg


The above effectively synchronises the two configs. It also propagates any changes to other FM game folders next time they are made current. At any one time it is possible for different 'inactive' FM game folder config files to be different from others but the one in the darkmod folder is the master and should automatically propagate to an FM game folder next time you play it.
The above effectively synchronises the two configs. It also propagates any changes to other FM game folders next time they are made current. At any one time it is possible for different 'inactive' FM game folder config files to be different from others but the one in the darkmod folder is the master and should automatically propagate to an FM game folder next time you play it.


===Editing DoomConfig.cfg===
===Editing Darkmod.cfg===


From the above you can see that to manually edit the config you MUST:
From the above you can see that to manually edit the config you MUST:
Line 39: Line 37:
* UNinstall the current FM in the Dark Mod New Mission menu.
* UNinstall the current FM in the Dark Mod New Mission menu.
* Quit Dark Mod
* Quit Dark Mod
* Edit the DoomConfig.cfg in the darkmod folder only (use a plain text editor only.)
* Edit the Darkmod.cfg in the darkmod folder only
* Use a plain text editor only and follow the format of entries already in the file.


When you next run Dark Mod those settings will be effective and whenever you install an FM those settings will be copied to its FM game folder.
When you next run Dark Mod those settings will be effective and whenever you install an FM those settings will be copied to its FM game folder.
Line 46: Line 45:


* Quit Dark Mod WITHOUT UNinstalling any current FM
* Quit Dark Mod WITHOUT UNinstalling any current FM
* Edit the DoomConfig.cfg in the darkmod folder only
* Edit the Darkmod.cfg in the darkmod folder only
* Use a plain text editor only and follow the format of entries already in the file.
* Copy it over to the relevant FM game folder
* Copy it over to the relevant FM game folder


===How to have independent, non-synch'ed FM configs===
===How to have independent, non-synch'ed FM configs===


The above method can be disabled by entering '''''tdm_fm_sync_config_files 0''''' in the Dark Mod console. After which each FM game folder will have its own independent config. Any changes in the settings menu or indeed in the FM's game folder DoomConfig.cfg will only work for that FM
The above method can be disabled by entering '''''tdm_fm_sync_config_files 0''''' in the Dark Mod console. After which each FM game folder will have its own independent config. Any changes in the settings menu or indeed in the FM's game folder Darkmod.cfg will only work for that FM
 
===The base folder config===
 
The DoomConfig.cfg in the doom3\base folder is primarily for playing and preserving the settings for the doom3 game itself. They would carry over to Dark Mod initially but are overwritten by Dark Mod settings.




===autoexec.cfg===
===autoexec.cfg===


In addition for advanced users there is an autoexec.cfg. This is not described in detail here except to say it can be useful to enter some console commands or cvars that are not 'sticky' - ie, are not preserved within DoomConfig.cfg. Note that it's format is different in that you do not include quotation marks. An example is g_fov which can be used to change the player's field of view. This would be entered in this form...
In addition for advanced users there is an autoexec.cfg. This is not described in detail here except to say it can be useful to enter some console commands or cvars that are not 'sticky' - ie, are not preserved within Darkmod.cfg. Note that it's format is different in that you do not include quotation marks. An example is g_fov which can be used to change the player's field of view. This would be entered in this form...


  set g_fov 75  // set player narrow view (default 90) slightly helps performance & feel closer to tables etc.
  set g_fov 75  // set player narrow view (default 90) slightly helps performance & feel closer to tables etc.

Latest revision as of 21:42, 23 August 2016

written by Fidcal


Darkmod.cfg Important Howto

This article describes info about editing Darkmod.cfg

Introduction

Game configuration settings are stored in the file Darkmod.cfg. This section concerns anyone that might want to manually add or change settings to that file. So if you only change settings in the Dark Mod menus or in the console then you do not necessarily need to read the following.


Summary of how to edit Darkmod.cfg

  • UNinstall the current FM in the Dark Mod New Mission menu.
  • Quit Dark Mod
  • Edit the Darkmod.cfg in the darkmod folder only

Different folder configs

Although Dark Mod FMs are placed into the folder darkmod\fms they actually run in their own game folder within the darkmod folder. Each of these folders can have its own Darkmod.cfg. This can lead to complications and has been a real headache for the Dark Mod team to decide how to handle it. Imagine 50 different FMs each with its own config and you want to change one thing!


Method

This is the current default method:

  • When an FM is 'installed' (made current) or re-installed then when Dark Mod is run the darkmod\Darkmod.cfg is copied over to the FM's game folder (replacing any that might be there.)
  • While Dark Mod is running, any changes to menu settings are stored in the FM's game folder.
  • When UNinstalling or Quitting Dark Mod then the Darkmod.cfg is copied back from the FM's game folder to the darkmod\Darkmod.cfg

The above effectively synchronises the two configs. It also propagates any changes to other FM game folders next time they are made current. At any one time it is possible for different 'inactive' FM game folder config files to be different from others but the one in the darkmod folder is the master and should automatically propagate to an FM game folder next time you play it.

Editing Darkmod.cfg

From the above you can see that to manually edit the config you MUST:

  • UNinstall the current FM in the Dark Mod New Mission menu.
  • Quit Dark Mod
  • Edit the Darkmod.cfg in the darkmod folder only
  • Use a plain text editor only and follow the format of entries already in the file.

When you next run Dark Mod those settings will be effective and whenever you install an FM those settings will be copied to its FM game folder.

An ALTERNATE way to do the above is:

  • Quit Dark Mod WITHOUT UNinstalling any current FM
  • Edit the Darkmod.cfg in the darkmod folder only
  • Use a plain text editor only and follow the format of entries already in the file.
  • Copy it over to the relevant FM game folder

How to have independent, non-synch'ed FM configs

The above method can be disabled by entering tdm_fm_sync_config_files 0 in the Dark Mod console. After which each FM game folder will have its own independent config. Any changes in the settings menu or indeed in the FM's game folder Darkmod.cfg will only work for that FM


autoexec.cfg

In addition for advanced users there is an autoexec.cfg. This is not described in detail here except to say it can be useful to enter some console commands or cvars that are not 'sticky' - ie, are not preserved within Darkmod.cfg. Note that it's format is different in that you do not include quotation marks. An example is g_fov which can be used to change the player's field of view. This would be entered in this form...

set g_fov 75  // set player narrow view (default 90) slightly helps performance & feel closer to tables etc.