~/paste/14477
~/paste/14477
~/paste/14477

  1. "GameInfo"
  2. {
  3.         // Thanks to Hardtimes and d10sfan on steamcommunity.com for solving the issue with this file. Modified by Ethan to launch Ian Boswell's mod Heizchase Nailway
  4.                
  5.         game                                            "Hetzchase Nailway"
  6.         title                                           "Hetzchase Nailway"
  7.         type                                            singleplayer_only
  8.        
  9.         nodifficulty                                    1
  10.         hasportals                                      1
  11.         nocrosshair                                     1
  12.         nomodels                                        1
  13.        
  14.         developer                                       "Ian"
  15.         developer_url                                   "http://www.motion9studios.com/ian/"
  16.         manual                                          "https://www.youtube.com/playlist?list=PL181CCA278F2482C4"
  17.         icon                                            "resource/Nailway"
  18.        
  19.         FileSystem
  20.         {
  21.                 SteamAppId                              400
  22.                
  23.                 SearchPaths
  24.                 {
  25.                         game+mod                        |gameinfo_path|.
  26.                         platform                        |gameinfo_path|.
  27.  
  28.                         // We search VPK files before ordinary folders, because most files will be found in
  29.                         // VPK and we can avoid making thousands of file system calls to attempt to open files
  30.                         // in folders where they don't exist.  (Searching a VPK is much faster than making an operating
  31.                         // system call.)
  32.                         game_lv                         portal/portal_lv.vpk
  33.                         game+mod                        portal/portal_english.vpk
  34.                         game+mod                        portal/portal_pak.vpk
  35.                         game                            |all_source_engine_paths|hl2/hl2_textures.vpk
  36.                         game                            |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  37.                         game                            |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  38.                         game                            |all_source_engine_paths|hl2/hl2_misc.vpk
  39.                         platform                        |all_source_engine_paths|platform/platform_misc.vpk
  40.  
  41.                         // Now search loose files.  We'll set the directory containing the gameinfo.txt file
  42.                         // as the first "mod" search path (after any user customizations).  This is also the one
  43.                         // that's used when writing to the "mod" path.
  44.                         mod+mod_write+default_write_path        |gameinfo_path|.
  45.  
  46.                         // Add the mod directory as a game search path.  This is also where where writes
  47.                         // to the "game" path go.
  48.                         game+game_write                 |gameinfo_path|.
  49.  
  50.                         // Where the game's binaries are
  51.                         gamebin                         portal/bin
  52.  
  53.                         // Last, mount in shared Portal loose files
  54.                         game                            |all_source_engine_paths|portal
  55.  
  56.                         // Last, mount in shared HL2 loose files
  57.                         game                            |all_source_engine_paths|hl2
  58.                         platform                        |all_source_engine_paths|platform
  59.  
  60.                 }
  61.         }
  62. }
Language: text
Posted by Ethan at 16 Jul 2014, 07:19:55 UTC