Wazanator

Portal2 gameinfo.txt

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