Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "Half-Life 2 EP2 : MMod"
  4. title ""
  5. title2 ""
  6. supportsvr 0
  7. gamelogo 0
  8.  
  9. type singleplayer_only
  10.  
  11. FileSystem
  12. {
  13. SteamAppId 420 // This sets the app ID in Steam
  14.  
  15. //
  16. // The code that loads this file automatically does a few things here:
  17. //
  18. // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
  19. // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
  20. // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
  21. // 3. For the first "Game" search path, it adds a search path called "MOD".
  22. // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
  23. //
  24.  
  25. //
  26. // Search paths are relative to the base directory, which is where hl2.exe is found.
  27. //
  28. // |gameinfo_path| points at the directory where gameinfo.txt is.
  29. // We always want to mount that directory relative to gameinfo.txt, so
  30. // people can mount stuff in c:\mymod, and the main game resources are in
  31. // someplace like c:\program files\valve\steam\steamapps\half-life 2.
  32. //
  33. SearchPaths
  34. {
  35. // First, mount all user customizations. This will search for VPKs and subfolders
  36. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  37. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  38. // folder.
  39. //
  40. // Note that this folder is scanned only when the game is booted.
  41. // game+mod ep2/custom/*
  42. // game+mod episodic/custom/*
  43. // game+mod hl2/custom/*
  44. game+mod |gameinfo_path|custom/*
  45.  
  46. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  47. // as the first "mod" search path (after any user customizations). This is also the one
  48. // that's used when writing to the "mod" path.
  49. game+mod+mod_write+default_write_path |gameinfo_path|.
  50. gamebin |gameinfo_path|bin
  51.  
  52. // We search VPK files before ordinary folders, because most files will be found in
  53. // VPK and we can avoid making thousands of file system calls to attempt to open files
  54. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  55. // system call.)
  56. game_lv hl2/hl2_lv.vpk
  57. game+mod ep2/ep2_english.vpk
  58. game+mod ep2/ep2_pak.vpk
  59. game |all_source_engine_paths|episodic/ep1_english.vpk
  60. game |all_source_engine_paths|episodic/ep1_pak.vpk
  61. game |all_source_engine_paths|hl2/hl2_english.vpk
  62. game |all_source_engine_paths|hl2/hl2_pak.vpk
  63. game |all_source_engine_paths|hl2/hl2_textures.vpk
  64. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  65. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  66. game |all_source_engine_paths|hl2/hl2_misc.vpk
  67. platform |all_source_engine_paths|platform/platform_misc.vpk
  68.  
  69. // Add the HL2 directory as a game search path. This is also where where writes
  70. // to the "game" path go.
  71. game+game_write ep2
  72.  
  73. // Where the game's binaries are
  74. gamebin episodic/bin
  75.  
  76. // Last, mount in shared HL2 loose files
  77. game |all_source_engine_paths|episodic
  78. game |all_source_engine_paths|hl2
  79. platform |all_source_engine_paths|platform
  80. }
  81. }
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement