Overclock.net banner

HL2's gameinfo.txt missing

28K views 6 replies 5 participants last post by  CorpussStalker  
#1 ·
seems for some reason, HL2's 'gameinfo.txt' is missing...what do i do?
 
#4 ·
Ask someone here to give it to you, someone that has HL2. It shouldn't hurt to at least try.
 
#5 ·
is this what you want

Quote:
"GameInfo"
{
game "HALF-LIFE 2"
title "HALF-LIFE'"
typesingleplayer_only

FileSystem
{
SteamAppId220// This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId211// Tools will load this (ie: source SDK caches) to get things like materials\\debug, materials\\editor, etc.

//
// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in \\bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
// For example: c:\\hl2\\cstrike on a french machine would get a c:\\hl2\\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//

//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\\mymod, and the main game resources are in
// someplace like c:\\program files\\valve\\steam\\steamapps\\half-life 2.
//
SearchPaths
{
Game|gameinfo_path|.
Gamehl2
}
}
}
 
  • Rep+
Reactions: TheSubtleKnife
#7 ·
Attachment 37334

this is the whole thing
not sure what you mean by that, only got that game yesterday, but if you can advice me I will happily copy over any file you want
Image