Advertisement
Guest User

GMOD gameinfo.txt with other games content mounted

a guest
May 29th, 2017
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "Garry's Mod"
  4. title ""
  5. title2 ""
  6. type multiplayer_only
  7.  
  8. "developer" "TEAM GARRY"
  9. "developer_url" "http://www.garrysmod.com/"
  10. "manual" "http://wiki.garrysmod.com/"
  11.  
  12. FileSystem
  13. {
  14. SteamAppId 4000 // 218
  15. ToolsAppId 211
  16.  
  17. SearchPaths
  18. {
  19. // First, mount all user customizations. This will search for VPKs and subfolders
  20. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  21. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  22. // folder.
  23. //
  24. // Note that this folder is scanned only when the game is booted.
  25. game+mod garrysmod/custom/*
  26.  
  27. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  28. // as the first "mod" search path (after any user customizations). This is also the one
  29. // that's used when writing to the "mod" path.
  30. game+mod+mod_write+default_write_path |gameinfo_path|.
  31. gamebin |gameinfo_path|bin
  32.  
  33. // We search VPK files before ordinary folders, because most files will be found in
  34. // VPK and we can avoid making thousands of file system calls to attempt to open files
  35. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  36. // system call.)
  37. game+mod garrysmod/garrysmod.vpk
  38. game+mod garrysmod/fallbacks.vpk
  39.  
  40. // manuallly mount other game content
  41. game "D:\Games\Steam\SteamApps\common\Counter-Strike Source\cstrike\cstrike_pak_dir.vpk"
  42. game "D:\Games\Steam\SteamApps\common\half-life 2\episodic\ep1_pak_dir.vpk"
  43. game "D:\Games\Steam\SteamApps\common\half-life 2\ep2\ep2_pak_dir.vpk"
  44. game "D:\Games\Steam\SteamApps\common\half-life 2\lostcoast\lostcoast_pak_dir.vpk"
  45. // game "D:\Games\Steam\SteamApps\common\Team Fortress 2\tf\tf2_sound_misc_dir.vpk"
  46. // game "D:\Games\Steam\SteamApps\common\Team Fortress 2\tf\tf2_sound_vo_english_dir.vpk"
  47.  
  48. game |all_source_engine_paths|hl2/hl2_english.vpk
  49. game |all_source_engine_paths|hl2/hl2_pak.vpk
  50. game |all_source_engine_paths|hl2/hl2_textures.vpk
  51. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  52. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  53. game |all_source_engine_paths|hl2/hl2_misc.vpk
  54. platform |all_source_engine_paths|platform/platform_misc.vpk
  55.  
  56. // This is here so that hammer doesn't explode
  57. game "D:\Games\Steam\SteamApps\common\GarrysMod\garrysmod\garrysmod_dir.vpk"
  58.  
  59. // Add the HL2 directory as a game search path. This is also where where writes
  60. // to the "game" path go.
  61. game+game_write hl2
  62.  
  63. // Where the game's binaries are
  64. gamebin garrysmod/bin
  65.  
  66. // Last, mount in shared HL2 loose files
  67. game |all_source_engine_paths|hl2mp
  68. game |all_source_engine_paths|hl2
  69. platform |all_source_engine_paths|platform
  70.  
  71. // Last, do the actual gmod default gameinfo.
  72. game hl2
  73. game |all_source_engine_paths|hl2
  74. }
  75. }
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement