Template:PatchDiff/May 08, 2012 Patch/portal2 dlc2/gameinfo.txt

N/A 1 "GameInfo"  N/A 2 {   N/A 3        game                 "PORTAL 2"   N/A 4        title                 "PORTAL 2"   N/A 5        GameData        "portal2.fgd"   N/A 6        gamelogo         1   N/A 7    N/A 8        SupportsDX8     0   N/A 9        SupportsXbox360 1   N/A 10    N/A 11        FileSystem   N/A 12        {   N/A 13                SteamAppId                                620                // This will mount all the GCFs we need (240=CS:S, 220=HL2). N/A 14               ToolsAppId                                211                // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. N/A 15   N/A 16                //   N/A 17                // The code that loads this file automatically does a few things here:   N/A 18                //   N/A 19                // 1. For each "Game" search path, it adds a "GameBin" path, in \bin  N/A 20                // 2. For each "Game" search path, it adds another "Game" path in front of it with _ at the end. N/A 21               //    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it. N/A 22               // 3. For the first "Game" search path, it adds a search path called "MOD". N/A 23               // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH". N/A 24               //   N/A 25    N/A 26                //   N/A 27                // Search paths are relative to the base directory, which is where hl2.exe is found. N/A 28               //   N/A 29                // |gameinfo_path| points at the directory where gameinfo.txt is. N/A 30               // We always want to mount that directory relative to gameinfo.txt, so   N/A 31                // people can mount stuff in c:\mymod, and the main game resources are in   N/A 32                // someplace like c:\program files\valve\steam\steamapps\half-life 2. N/A 33               //   N/A 34    N/A 35                SearchPaths   N/A 36                {   N/A 37                        Game                                |gameinfo_path|. N/A 38                       Game                                portal2_dlc1   N/A 39                        Game                                portal2   N/A 40                }   N/A 41        }   N/A 42 }