Template:PatchDiff/October 4, 2011 Patch/portal2 dlc1/gameinfo.txt

From the Portal Wiki
Jump to: navigation, search
N/A3 game "PORTAL 2"
N/A4 title "PORTAL 2"
N/A5 GameData "portal2.fgd"
N/A6 gamelogo 1
N/A8 SupportsDX8 0
N/A9 SupportsXbox360 1
N/A11 FileSystem
N/A12 {
N/A13 SteamAppId 620 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
N/A14 ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
N/A16 //
N/A17 // The code that loads this file automatically does a few things here:
N/A18 //
N/A19 // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
N/A20 // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
N/A21 // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
N/A22 // 3. For the first "Game" search path, it adds a search path called "MOD".
N/A23 // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
N/A24 //
N/A26 //
N/A27 // Search paths are relative to the base directory, which is where hl2.exe is found.
N/A28 //
N/A29 // |gameinfo_path| points at the directory where gameinfo.txt is.
N/A30 // We always want to mount that directory relative to gameinfo.txt, so
N/A31 // people can mount stuff in c:\mymod, and the main game resources are in
N/A32 // someplace like c:\program files\valve\steam\steamapps\half-life 2.
N/A33 //
N/A35 SearchPaths
N/A36 {
N/A37 Game |gameinfo_path|.
N/A38 Game portal2
N/A39 }
N/A40 }