Reset the Source SDK Game Configuration: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fuente -> SOURCE)
No edit summary
 
(28 intermediate revisions by 18 users not shown)
Line 1: Line 1:
[[Category:Source_SDK_FAQ]]
{{LanguageBar}}
If you're experiencing problems with the Hammer game configuration or SDK Launcher game configuration not behaving correctly, you can follow this procedure to reset the game configurations to the default state.
If you're experiencing problems with the Hammer game configuration or the SDK Launcher game configuration not behaving correctly, you can follow this procedure to reset the game configurations to the default state.


If you '''have not''' created a MOD through the "Create A Mod" wizard:
== Reset Game Configurations ({{src13|1}}, {{tf2branch|1|nt=0}}, [[Left 4 Dead engine branch|L4D]] and later) ==
For {{src13|1}}, {{tf2branch|1}} and all games running on {{l4dbranch|1}} and later, follow these instructions:


# Shut down any Source SDK Tools, such as Hammer or FacePoser.
# Shut down any Source SDK Tools, such as [[Hammer]] or [[Faceposer]], and all Source engine games.
# Open the SDK Launcher application from the Steam Play Games panel.
# Go to {{code|Game Name\bin}} directory, delete or rename {{code|GameConfig.txt}}
# Choose "Reset Game Configurations" from the SDK Launcher.
# After that, verify your game by going to Steam library, click on "Half-Life 2" (for example) > Properties... > Installed Files > Verify integrity of game files. Steam will start verifying the files and if any corrupted files is found, Steam will download and replace the corrupted files.
# Click "Reset" to reset you game configurations to the defaults.
# After verifying the game, launch the game again then quit, after that launch tools via the {{code|.bat}} file ({{code|Hammer.bat}} for Hammer, {{code|Faceposer.bat}} for Faceposer, {{code|HLMV.bat}} for [[Half-Life Model Viewer (Source)|Model Viewer / HLMV]], etc.).
# A new {{code|GameConfig.txt}} will be generated, containing games configuration. For some games like {{hls|1}}, you will need to [[Configuring_Hammer_for_Half-Life:_Source|re-configure]] Hammer and other SDK tools again.


If you ''have'' created a MOD through the "Create A Mod" wizard, see the following page on Resetting a Custom MOD Game Configuration.
== Reset Game Configurations (Source 2009 & MP or earlier) ==
{{Note|This section only applies to {{src09|1}}, {{srcmp|1}} or earlier, and the now deprecated {{srcsdk|1}} app.}}
If you '''have not''' created a custom Mod through the "Create A Mod" wizard:


{{otherlang:en}} {{otherlang:en:es|¿Cómo reseteo la configuración del juego de la SOURCE SDK?}}
# Shut down any Source SDK Tools, such as Hammer or Faceposer, and all Source engine games.
# Open the '''Source SDK''' application from the Steam Window, under the '''Tools''' section.
# Choose '''Reset Game Configurations''' from the Source SDK window.
# Click '''Reset''' to reset your game configurations to the defaults.
 
If you '''have''' created a Mod through the "Create A Mod" wizard, see the following page on [[Resetting a Custom Mod Game Configuration]].
 
== Still having problems? ==
 
If after resetting the Game Configuration the tools still do not run correctly, this usually means that the SDK tools cannot find the <code>Gameinfo.txt</code> for the game or mod you want to work with. To fix this error with a Valve Software game (e.g. Half-Life 2, Counter-Strike: Source, etc.), first close the Source SDK, verify the game and/or SDK tools on Steam, then run the game once, quit to desktop then finally restart the Source SDK.
 
If it is a third-party or custom modification, you will need to manually create a configuration specific for that Mod. Read [[The_GameInfo.txt_File_Structure|GameInfo.txt File Structure]] and [[Hammer Manual Configuration]] for more information.
 
If you are still having issues then you might want to [[Faq morehelp|get additional help]].
[[Category:Source SDK FAQ]]

Latest revision as of 23:45, 8 September 2025

English (en)Español (es)Русский (ru)Türkçe (tr)Translate (Translate)

If you're experiencing problems with the Hammer game configuration or the SDK Launcher game configuration not behaving correctly, you can follow this procedure to reset the game configurations to the default state.

Reset Game Configurations (Source 2013, TF2 branch, L4D and later)

For Source 2013, Team Fortress 2 branch and all games running on Left 4 Dead engine branch and later, follow these instructions:

  1. Shut down any Source SDK Tools, such as Hammer or Faceposer, and all Source engine games.
  2. Go to Game Name\bin directory, delete or rename GameConfig.txt
  3. After that, verify your game by going to Steam library, click on "Half-Life 2" (for example) > Properties... > Installed Files > Verify integrity of game files. Steam will start verifying the files and if any corrupted files is found, Steam will download and replace the corrupted files.
  4. After verifying the game, launch the game again then quit, after that launch tools via the .bat file (Hammer.bat for Hammer, Faceposer.bat for Faceposer, HLMV.bat for Model Viewer / HLMV, etc.).
  5. A new GameConfig.txt will be generated, containing games configuration. For some games like Half-Life: Source, you will need to re-configure Hammer and other SDK tools again.

Reset Game Configurations (Source 2009 & MP or earlier)

Note.pngNote:This section only applies to Source 2009, Source Multiplayer or earlier, and the now deprecated Source SDK app.

If you have not created a custom Mod through the "Create A Mod" wizard:

  1. Shut down any Source SDK Tools, such as Hammer or Faceposer, and all Source engine games.
  2. Open the Source SDK application from the Steam Window, under the Tools section.
  3. Choose Reset Game Configurations from the Source SDK window.
  4. Click Reset to reset your game configurations to the defaults.

If you have created a Mod through the "Create A Mod" wizard, see the following page on Resetting a Custom Mod Game Configuration.

Still having problems?

If after resetting the Game Configuration the tools still do not run correctly, this usually means that the SDK tools cannot find the Gameinfo.txt for the game or mod you want to work with. To fix this error with a Valve Software game (e.g. Half-Life 2, Counter-Strike: Source, etc.), first close the Source SDK, verify the game and/or SDK tools on Steam, then run the game once, quit to desktop then finally restart the Source SDK.

If it is a third-party or custom modification, you will need to manually create a configuration specific for that Mod. Read GameInfo.txt File Structure and Hammer Manual Configuration for more information.

If you are still having issues then you might want to get additional help.