Advertisement
Guest User

gameinfo.txt--Portal Pro mod

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