Resetting a Custom Mod Game Configuration: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 10: Line 10:
# Open the '''SDK Steam Launcher''' to make sure you have the latest updates.
# Open the '''SDK Steam Launcher''' to make sure you have the latest updates.
# Open the <code><Steam Install Directory>\SteamApps\<username>\sourcesdk\bin</code>" directory in an explorer window.
# Open the <code><Steam Install Directory>\SteamApps\<username>\sourcesdk\bin</code>" directory in an explorer window.
# Rename the <code>"GameConfig.txt"</code> to <code>"GameConfig_old.txt</code>."
# Make a copy of the file <code>"GameConfig.txt"</code> and rename it to <code>"GameConfig_old.txt</code>."
# Choose "'''Reset Game Configurations'''" from the SDK Launcher.
# Choose "'''Reset Game Configurations'''" from the SDK Launcher.
# Open <code>GameConfig_old.txt</code> in a [[text editor]], such as notepad.
# Open <code>GameConfig_old.txt</code> in a [[text editor]], such as notepad.

Revision as of 05:58, 31 October 2008

If you wish to reset your game configuration, but you've created your own Mod using the "Create a Mod" wizard, follow these steps to merge your custom configuration with the default configurations.

Note.pngNote:This step is only necessary if you wish to retain the game configurations for a Mod you have created.

The Source SDK game configurations are in the GameConfig.txt file. To retain custom Mod configurations while resetting all of the other settings to the default settings, follow these instructions.

Resetting your game configuration

  1. Open the SDK Steam Launcher to make sure you have the latest updates.
  2. Open the <Steam Install Directory>\SteamApps\<username>\sourcesdk\bin" directory in an explorer window.
  3. Make a copy of the file "GameConfig.txt" and rename it to "GameConfig_old.txt."
  4. Choose "Reset Game Configurations" from the SDK Launcher.
  5. Open GameConfig_old.txt in a text editor, such as notepad.
  6. Find the configuration block for your custom game in GameConfig_old.txt.
  7. Highlight the configuration block for your custom game. Make sure to select the proper { and } characters for the selected configuration block.Notepad gameconfig.jpg
  8. choose Copy from the Edit Menu.
  9. Open GameConfig.txt.
  10. Place your cursor after one of the default configuration blocks and choose Paste from the Edit Menu.
  11. Save the file.
  12. Click on Current Game in the SDK Launcher to make sure your Mod configuration appears.
  13. Repeat steps 5 through 12 for each custom configuration you may have, if any.

If your configuration doesn't appear in the Current Game list, you probably pasted the configuration block into an invalid location in GameConfig.txt. Re-open GameConfig.txt and check to make sure your configuration is properly placed within the { and } characters. Look at the default configurations as a guide to where to properly place the configuration block.