Advertisement
Guest User

Untitled

a guest
May 24th, 2013
772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "return"
  4. title ""
  5. title2 ""
  6. icon "resource\icon_return"
  7.  
  8. type singleplayer_only
  9.  
  10. FileSystem
  11. {
  12. SteamAppId 420 // GCF for Episode 2
  13. ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
  14.  
  15. SearchPaths
  16. {
  17. // First, mount all user customizations. This will search for VPKs and subfolders
  18. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  19. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  20. // folder.
  21. //
  22. // Note that this folder is scanned only when the game is booted.
  23. game+mod |gameinfo_path|.
  24. platform |gameinfo_path|.
  25.  
  26. // We search VPK files before ordinary folders, because most files will be found in
  27. // VPK and we can avoid making thousands of file system calls to attempt to open files
  28. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  29. // system call.)
  30. game_lv hl2/hl2_lv.vpk
  31. game+mod ep2/ep2_english.vpk
  32. game+mod ep2/ep2_pak.vpk
  33. game |all_source_engine_paths|episodic/ep1_english.vpk
  34. game |all_source_engine_paths|episodic/ep1_pak.vpk
  35. game |all_source_engine_paths|hl2/hl2_english.vpk
  36. game |all_source_engine_paths|hl2/hl2_pak.vpk
  37. game |all_source_engine_paths|hl2/hl2_textures.vpk
  38. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  39. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  40. game |all_source_engine_paths|hl2/hl2_misc.vpk
  41. platform |all_source_engine_paths|platform/platform_misc.vpk
  42.  
  43. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  44. // as the first "mod" search path (after any user customizations). This is also the one
  45. // that's used when writing to the "mod" path.
  46. mod+mod_write+default_write_path |gameinfo_path|.
  47.  
  48. // Add the HL2 directory as a game search path. This is also where where writes
  49. // to the "game" path go.
  50. game+game_write |gameinfo_path|.
  51.  
  52. // Where the game's binaries are
  53. gamebin episodic/bin
  54.  
  55. // Last, mount in shared HL2 loose files
  56. game |all_source_engine_paths|episodic
  57. game |all_source_engine_paths|hl2
  58. platform |all_source_engine_paths|platform
  59. }
  60. }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement