Resetting a Custom Mod Game Configuration: Difference between revisions
m (→Resetting your game configuration: I have an extra "bin" between "sourcesdk" and "orangebox"/"ep1") |
Thunder4ik (talk | contribs) m (→Resetting Your Game Configuration: Unicodifying, replaced: [[Image: → [[File:) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | |||
{{lang|Resetting a Custom Mod Game Configuration}} | |||
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. | 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. | ||
Line 6: | Line 7: | ||
The Source SDK game configurations are in the <code>GameConfig.txt</code> file. To retain custom Mod configurations while resetting all of the other settings to the default settings, follow these instructions. | The Source SDK game configurations are in the <code>GameConfig.txt</code> file. To retain custom Mod configurations while resetting all of the other settings to the default settings, follow these instructions. | ||
== Resetting | == Resetting Your Game Configuration == | ||
# 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 following directory in an explorer window depending on what version of Source you are modding: for OrangeBox: <code><Steam Install Directory>\SteamApps\<username>\sourcesdk\bin\orangebox\bin</code>" for Episode 1: <code><Steam Install Directory>\SteamApps\<username>\sourcesdk\bin\ep1\bin</code>" | # Open the following directory in an explorer window depending on what version of Source you are modding: for OrangeBox: <code><Steam Install Directory>\SteamApps\<username>\sourcesdk\bin\orangebox\bin</code>" for Episode 1: <code><Steam Install Directory>\SteamApps\<username>\sourcesdk\bin\ep1\bin</code>" | ||
Line 14: | Line 14: | ||
# 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. | ||
# Find the configuration block for your custom game in <code>GameConfig_old.txt</code>. | # Find the configuration block for your custom game in <code>GameConfig_old.txt</code>. | ||
# Highlight the configuration block for your custom game. Make sure to select the proper { and } characters for the selected configuration block.[[ | # Highlight the configuration block for your custom game. Make sure to select the proper { and } characters for the selected configuration block.<br>[[File:notepad_gameconfig.jpg]] | ||
# choose '''Copy''' from the '''Edit Menu'''. | # choose '''Copy''' from the '''Edit Menu'''. | ||
# Open <code>GameConfig.txt</code>. | # Open <code>GameConfig.txt</code>. | ||
Line 23: | Line 23: | ||
If your configuration doesn't appear in the '''Current Game''' list, you probably pasted the configuration block into an invalid location in <code>GameConfig.txt</code>. Re-open <code>GameConfig.txt</code> 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. | If your configuration doesn't appear in the '''Current Game''' list, you probably pasted the configuration block into an invalid location in <code>GameConfig.txt</code>. Re-open <code>GameConfig.txt</code> 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. | ||
== Still Having Problems? == | |||
It is possible that "GameExe" and "GameExeDir" have invalid values in <code>GameConfig.txt</code>. | |||
{{confirm|For a "Source Engine 2007" mod these should be "<code>[...]\source sdk base 2007\hl2.exe</code>" and "<code>[...]\source sdk base 2007</code>" respectively.}} | |||
Check also that a proper "SteamAppId" is selected in you mod's <code>GameInfo.txt</code>. | |||
{{confirm|For Source SDK Base 2007 use 218 (see [[Steam_Application_IDs|AppId]]).}} | |||
{{note|Remember to restart Steam after changing <code>GameInfo.txt</code>, otherwise Steam will use old values when attempting to start your mod.}} | |||
[[Category:Source SDK FAQ]] |
Latest revision as of 18:21, 7 January 2024




January 2024


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.

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
- Open the SDK Steam Launcher to make sure you have the latest updates.
- Open the following directory in an explorer window depending on what version of Source you are modding: for OrangeBox:
<Steam Install Directory>\SteamApps\<username>\sourcesdk\bin\orangebox\bin
" for Episode 1:<Steam Install Directory>\SteamApps\<username>\sourcesdk\bin\ep1\bin
" - Make a copy of the file
"GameConfig.txt"
and rename it to"GameConfig_old.txt
." - Choose "Reset Game Configurations" from the SDK Launcher.
- Open
GameConfig_old.txt
in a text editor, such as notepad. - Find the configuration block for your custom game in
GameConfig_old.txt
. - Highlight the configuration block for your custom game. Make sure to select the proper { and } characters for the selected configuration block.
- choose Copy from the Edit Menu.
- Open
GameConfig.txt
. - Place your cursor after one of the default configuration blocks and choose Paste from the Edit Menu.
- Save the file.
- Click on Current Game in the SDK Launcher to make sure your Mod configuration appears.
- 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.
Still Having Problems?
It is possible that "GameExe" and "GameExeDir" have invalid values in GameConfig.txt
.

[...]\source sdk base 2007\hl2.exe
" and "[...]\source sdk base 2007
" respectively.Check also that a proper "SteamAppId" is selected in you mod's GameInfo.txt
.


GameInfo.txt
, otherwise Steam will use old values when attempting to start your mod.