Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 15th, 2013  |  syntax: None  |  size: 3.27 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. "GameInfo"
  2. {
  3.         game            "Below the Ice (beta)"
  4.         title           ""
  5.         title2          ""
  6.         gamelogo        1
  7.         icon            "resource/icon"
  8.         developer       "Evina Entertainment"
  9.         developer_url   "http://evinext.com/"
  10.         type            singleplayer_only
  11.  
  12.         FileSystem
  13.         {
  14.                 SteamAppId                              420             // This will mount all the GCFs we need (240=CS:S, 220=HL2).
  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.                 SearchPaths
  35.                 {
  36.                         // First, mount all user customizations.  This will search for VPKs and subfolders
  37.                         // and mount them in alphabetical order.  The easiest way to distribute a mod is to
  38.                         // pack up the custom content into a VPK.  To "install" a mod, just drop it in this
  39.                         // folder.
  40.                         //
  41.                         // Note that this folder is scanned only when the game is booted.
  42.                         game+mod                        |gameinfo_path|.
  43.                         platform                        |gameinfo_path|.
  44.  
  45.                         // We search VPK files before ordinary folders, because most files will be found in
  46.                         // VPK and we can avoid making thousands of file system calls to attempt to open files
  47.                         // in folders where they don't exist.  (Searching a VPK is much faster than making an operating
  48.                         // system call.)
  49.                         game_lv                         hl2/hl2_lv.vpk
  50.                         game+mod                        ep2/ep2_english.vpk
  51.                         game+mod                        ep2/ep2_pak.vpk
  52.                         game                            |all_source_engine_paths|episodic/ep1_english.vpk
  53.                         game                            |all_source_engine_paths|episodic/ep1_pak.vpk
  54.                         game                            |all_source_engine_paths|hl2/hl2_english.vpk
  55.                         game                            |all_source_engine_paths|hl2/hl2_pak.vpk
  56.                         game                            |all_source_engine_paths|hl2/hl2_textures.vpk
  57.                         game                            |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  58.                         game                            |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  59.                         game                            |all_source_engine_paths|hl2/hl2_misc.vpk
  60.                         platform                        |all_source_engine_paths|platform/platform_misc.vpk
  61.  
  62.                         // Now search loose files.  We'll set the directory containing the gameinfo.txt file
  63.                         // as the first "mod" search path (after any user customizations).  This is also the one
  64.                         // that's used when writing to the "mod" path.
  65.                         mod+mod_write+default_write_path                |gameinfo_path|.
  66.  
  67.                         // Add the HL2 directory as a game search path.  This is also where where writes
  68.                         // to the "game" path go.
  69.                         game+game_write                 |gameinfo_path|.
  70.  
  71.                         // Where the game's binaries are
  72.                         gamebin                         episodic/bin
  73.  
  74.                         // Last, mount in shared HL2 loose files
  75.                         game                            |all_source_engine_paths|episodic
  76.                         game                            |all_source_engine_paths|hl2
  77.                         platform                        |all_source_engine_paths|platform
  78.                 }
  79.         }
  80. }