Advertisement
Guest User

Untitled

a guest
Jul 21st, 2013
889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "Portality"
  4. title "Portality"
  5. type singleplayer_only
  6. nodifficulty 1
  7. hasportals 1
  8.  
  9. FileSystem
  10. {
  11. SteamAppId 400
  12.  
  13. SearchPaths
  14. {
  15. game+mod |gameinfo_path|.
  16. platform |gameinfo_path|.
  17.  
  18. // We search VPK files before ordinary folders, because most files will be found in
  19. // VPK and we can avoid making thousands of file system calls to attempt to open files
  20. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  21. // system call.)
  22. game_lv portal/portal_lv.vpk
  23. game+mod portal/portal_english.vpk
  24. game+mod portal/portal_pak.vpk
  25. game |all_source_engine_paths|hl2/hl2_textures.vpk
  26. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  27. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  28. game |all_source_engine_paths|hl2/hl2_misc.vpk
  29. platform |all_source_engine_paths|platform/platform_misc.vpk
  30.  
  31. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  32. // as the first "mod" search path (after any user customizations). This is also the one
  33. // that's used when writing to the "mod" path.
  34. mod+mod_write+default_write_path |gameinfo_path|.
  35.  
  36. // Add the mod directory as a game search path. This is also where where writes
  37. // to the "game" path go.
  38. game+game_write |gameinfo_path|.
  39.  
  40. // Where the game's binaries are
  41. gamebin portal/bin
  42.  
  43. // Last, mount in shared Portal loose files
  44. game |all_source_engine_paths|portal
  45.  
  46. // Last, mount in shared HL2 loose files
  47. game |all_source_engine_paths|hl2
  48. platform |all_source_engine_paths|platform
  49.  
  50. }
  51. }
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement