mrhar1th

GameInfo.txt for Blue Portals mod

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