~/paste/14639
~/paste/14639
~/paste/14639

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