💬
Logga in
Fuska.se

Hl2 Gameinfo.txt

1 svar · startad

Nivå 0 · Nykomling
Trådstartare #1

Tjena, det har hänt ngt med mitt half life 2... Det hjälper inte att installera om det heller. När jag försöker starta det kommer ett frelmeddelande upp: hl2\gameinfo.txt is not a valid format.

 

Så jag gick till gameinfo.txt filen i hl2 mappen. Den far tom ffs. Så jag kopierade gameinfo.txt från css:

"GameInfo"

{

game "Counter-Strike Source"

title "COUNTER-STRIKE'"

title2 "source"

type multiplayer_only

nomodels 1

nohimodel 1

nocrosshair 0

hidden_maps

{

"test_speakers" 1

"test_hardware" 1

}

nodegraph 0

 

 

FileSystem

{

SteamAppId 240 // This will mount all the GCFs we need (240=CS:S, 220=HL2).

ToolsAppId 211 // 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 <dir>\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\<username>\half-life 2.

//

SearchPaths

{

Game |gameinfo_path|.

Game hl2

}

}

}

 

:::::::: och ändrade till:

 

"GameInfo"

{

game "Half-Life 2"

title "HALF-LIFE'"

title2 "2"

type singleplayer_only

nomodels 1

nohimodel 1

nocrosshair 0

hidden_maps

{

"test_speakers" 1

"test_hardware" 1

}

nodegraph 0

 

 

FileSystem

{

SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).

ToolsAppId 211 // 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 <dir>\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\<username>\half-life 2.

//

SearchPaths

{

Game |gameinfo_path|.

Game hl2

}

}

}

Men det funkar fortfarande inte, nu kommer ett annat meddelande fram: Could not load library client.

 

Jag har inte hittat den exakta gameinfo.txt filen på internet så det kan vara något fel i det, eller så kanske filen hamnat fel... kan någon hjälpa? Typ lägga upp hur era gameinfo.txt filer ser ut och var dom ligger.

24 Sep 2007
Nivå 9 · Veteranfuskare
#2

pröva ta bort halflife2 mappen och låt steam skapa en ny.

Vill du vara med i diskussionen?

Bli medlem Logga in