Posted 14 July 2009 - 01:35 PM
For Team Fortress 2 if i attempt to launch from the Steam games list, i get "The instructions at 0x0ec3a206 referenced memory at 0x00000000". The memory could not be "read". for hl2.exe
If i try to run hl2.exe from the Team Fortress 2 folder (C:Program Files\Steam\steamapps\"user name"\Team Fortress 2) i get
Setup file 'gameinfo.txt' doesn't exist in subdirectory 'hl2'.
Check your -game parameter or VCONFIG setting.
In the Team Fortress 2 folder in the 'tf' folder there is a gameinfo.txt that reads
game "Team Fortress 2"
SteamAppId 440 // 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.
No gameinfo.txt file is present in the hl2 folder in the Team Fortress 2 folder
The problem occurs for all Steam games except the original Half-life 2 and Americas Army 3, inc. CS:S, TF2, HL2:ep.1+2,Portal, and synergy.
Hope that helps.
If anyones encountered this and knows how to fix i could use a hand!