Missing GameInfo.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed spalling mistake)
m (Nesciuse moved page Missing GameInfo.txt/en to Missing GameInfo.txt without leaving a redirect: Move en subpage to basepage)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Source SDK FAQ]]
{{LanguageBar}}
 
This occurs when the '''Current Game''' is incorrectly configured.
This occurs when the '''Current Game''' is incorrectly configured.


Line 5: Line 6:
* [[The Game Directory]] is set incorrectly so the tools cannot find the <code>gameinfo.txt</code> file.
* [[The Game Directory]] is set incorrectly so the tools cannot find the <code>gameinfo.txt</code> file.
* A [[The GameInfo.txt File Structure|gameinfo.txt]] file for the game is missing or incorrect.
* A [[The GameInfo.txt File Structure|gameinfo.txt]] file for the game is missing or incorrect.
* Installing/Restoring HL2 games from a backup that was created via the "Backup Games..." menu, but not having actually played the games after the install (HL2, EP1 etc).
* Installing/Restoring HL2 games from a backup that was created via the "Backup Games..." menu, but not having actually played the games after the install (HL2, EP1, etc).


'''How to fix this problem:'''
'''How to fix this problem:'''
* First and foremost run the game (HL2, EP1 etc) at least once before running the SDK tools like hammer. Running the games for the first time will create the [[The GameInfo.txt File Structure|gameinfo.txt]] and related files that are used by the sdk tools.
* First and foremost run the game (HL2, EP1, etc) at least once before running the SDK tools like Hammer. Running the games for the first time will create the [[The GameInfo.txt File Structure|gameinfo.txt]] and related files that are used by the SDK tools.
* If this is a custom MOD, make sure [[The Game Directory|the Game Directory]] is set correctly, and that a valid [[The GameInfo.txt File Structure|gameinfo.txt]] is present.
* If this is a custom MOD, make sure [[The Game Directory|the Game Directory]] is set correctly, and that a valid [[The GameInfo.txt File Structure|gameinfo.txt]] is present.
* Try running the game you're editing for once from the '''Play Games''' window.
* Try running the game you're editing for once from the '''Play Games''' window.
* Try to [[Reset the Source SDK Game Configuration]].
* Try to [[Reset the Source SDK Game Configuration]].
* If that does not work, [[Reinstall the Source SDK installation]].
* If that does not work, [[Reinstall the Source SDK installation]].
'''Alternative:'''
* If none of the previously stated work, check and see if you have recently changed your drive's letter to something different.
* To fix the config go to X:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin, then open "GameConfig"
* Open "GameConfig" and change all of the letters of the old drives to the current letter.
[[Category: Source SDK FAQ]]

Latest revision as of 08:22, 12 July 2024

English (en)Português do Brasil (pt-br)Русский (ru)Translate (Translate)

This occurs when the Current Game is incorrectly configured.

This can happen when:

  • The Game Directory is set incorrectly so the tools cannot find the gameinfo.txt file.
  • A gameinfo.txt file for the game is missing or incorrect.
  • Installing/Restoring HL2 games from a backup that was created via the "Backup Games..." menu, but not having actually played the games after the install (HL2, EP1, etc).

How to fix this problem:

Alternative:

  • If none of the previously stated work, check and see if you have recently changed your drive's letter to something different.
  • To fix the config go to X:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin, then open "GameConfig"
  • Open "GameConfig" and change all of the letters of the old drives to the current letter.