Advertisement
SyphenTV

The greatest gameinfo.txt ever.

Jul 19th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. // Anything with double slashes are left out from the game.
  4. // So these headers/comments don't appear anywhere other then here.
  5. // Whenever you see <GAME NAME> or <folder> replace them with whats needed.
  6. // Essentially all slashes are edited by me, Connor "Nehpys" Hess.
  7. // http://www.steamcommunity.com/id/Nehpys
  8.  
  9. // --=[GAME/NAME RELATED]=--
  10.  
  11. game ""
  12. //title "" - Title and Title2 dictate whether plain text (that can be modified by the font)
  13. //title2 "" - should be shown on the main menu. Here, I disabled it so I can use "GameLogo".
  14. type "" // - singleplayer_only/multiplayer_only. Supposed to "Omit" this for both types. I don't know what that means in this context.
  15. developer ""
  16. developer_url ""
  17. manual ""
  18. icon ""
  19. gamelogo # // - Dictates whether you wanna use an image instead of plan text for the main menu.
  20.  
  21. // --=[OPTIONS RELATED]=--
  22.  
  23. SupportsXbox360 # // - How this works or how it's dictated, I've no clue.
  24. hasportals #
  25. nomodels #
  26. nohimodel #
  27. nocrosshair #
  28.  
  29. // --=[ENGINE RELATED]=--
  30. GameData "../<folder>"
  31. InstancePath "<folder>/mapsrc/"
  32. SupportDX8 #
  33. nodegraph #
  34.  
  35. hidden_maps
  36. // Place any map files the player isn't supposed to access here.
  37. {
  38. }
  39.  
  40. FileSystem
  41. {
  42. //SteamAppID # // This is for if the game/mod gets on Steam. Mod wise, this is used for mounting content.
  43. //ToolsAppID # // Double-Ditto.
  44. //AdditionalContentId # //Triple-Ditto, but only for mods.
  45.  
  46. // Search paths are relative to the base directory, which is where hl2.exe is found.
  47. //
  48. // |gameinfo_path| points at the directory where gameinfo.txt is.
  49. // We always want to mount that directory relative to gameinfo.txt, so
  50. // people can mount stuff in c:\mymod, and the main game resources are in
  51. // someplace like C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2
  52.  
  53. SearchPaths
  54. {
  55. //--------------------------------------------------------------------------------------
  56. // First, mount all user customizations. This will search for .VPKs and subfolders
  57. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  58. // pack up the custom content into a .VPK. To "install" a mod, just drop it in this
  59. // folder.
  60.  
  61. // Note that this folder is scanned only when the game is booted.
  62. //--------------------------------------------------------------------------------------
  63.  
  64. game+mod <folder>/custom/*
  65.  
  66. //--------------------------------------------------------------------------------------
  67. // We search .vpk files before ordinary folders, because official files will be found in the
  68. // VPK's, and we can avoid making thousands of file system calls to attempt to open files
  69. // in folders where they don't exist. (Searching a VPK is much faster than making an operating system call.)
  70. //--------------------------------------------------------------------------------------
  71.  
  72. // <MOD NAME> .vpk Files.
  73. game+mod <folder>/vpk.vpk
  74. game+mod <folder>/vpk.vpk
  75. game+mod <folder>/vpk.vpk
  76.  
  77. // Mounting Half-Life 2 ~ Normal .vpk Files.
  78. game |all_source_engine_paths|hl2/hl2_misc.vpk
  79. game |all_source_engine_paths|hl2/hl2_sounds_misc.vpk
  80. game |all_source_engine_paths|hl2/hl2_textures.vpk
  81. game |all_source_engine_paths|hl2/hl2_materials.vpk
  82. game |all_source_engine_paths|hl2/hl2_models.vpk
  83.  
  84. // Mounting Half-Life 2 ~ Platform .vpk Files.
  85. platform |all_source_engine_paths|platform/platform_misc.vpk
  86.  
  87. // Setting the directory containing the gameinfo.txt/gameinfo.gi file as the first "Mod" path.
  88. mod+mod_write+default_write_path |gameinfo_path|.
  89.  
  90. // Adding the <GAME NAME> directory as a search path. This is where the game writes the "game path" to.
  91. game+game_write <folder>
  92.  
  93. // Adding the Half-Life 2 directory as a search path. This is where the game writes the "game path" to.
  94. game+game_write hl2
  95.  
  96. // Clarifying where the game's binaries are.
  97. gamebin <folder>/bin
  98.  
  99. // Mounting Half-Life 2 ~ All Shared loose Files.
  100. game |all_source_engine_paths|hl2
  101. platform |all_source_engine_paths|platform
  102.  
  103. //--------------------------------------------------------------------------------------
  104. // Random files downloaded from game servers go into a separate directory, so
  105. // that it's easy to keep those files segregated from the official game files
  106. // or customizations intentionally installed by the user.
  107. //
  108. // This directory is searched LAST. If you visit a server and download
  109. // a custom model, etc, we don't want that file to override the default
  110. // game file indefinitely (after you have left the server). Servers CAN have
  111. // custom content that overrides the default game files, it just needs to be
  112. // packed up in the .bsp file so that it will be mounted as a map search pack.
  113. // The map search pack is mounted at the top of the search path list,
  114. // but only while you are connected that server and on that map.
  115.  
  116. //Used for Multiplayer only. Remove slashes to use.
  117. //--------------------------------------------------------------------------------------
  118.  
  119. //game+download <folder>/download
  120. }
  121. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement