Advertisement
Guest User

Untitled

a guest
May 12th, 2013
14,720
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "Portal: Prelude"
  4. title "Portal: Prelude"
  5. type singleplayer_only
  6.  
  7. nodifficulty 1
  8. hasportals 1
  9. nocrosshair 1
  10. nomodels 1
  11.  
  12. developer "Nicolas 'NykO18' Grevet"
  13. developer_url "http://www.portalprelude.com"
  14. manual "http://www.portalprelude.com/forum"
  15. icon "resource/prelude"
  16.  
  17. FileSystem
  18. {
  19. SteamAppId 400
  20.  
  21. SearchPaths
  22. {
  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 portal/portal_lv.vpk
  31. game+mod portal/portal_english.vpk
  32. game+mod portal/portal_pak.vpk
  33. game |all_source_engine_paths|hl2/hl2_textures.vpk
  34. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  35. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  36. game |all_source_engine_paths|hl2/hl2_misc.vpk
  37. platform |all_source_engine_paths|platform/platform_misc.vpk
  38.  
  39. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  40. // as the first "mod" search path (after any user customizations). This is also the one
  41. // that's used when writing to the "mod" path.
  42. mod+mod_write+default_write_path |gameinfo_path|.
  43.  
  44. // Add the mod directory as a game search path. This is also where where writes
  45. // to the "game" path go.
  46. game+game_write |gameinfo_path|.
  47.  
  48. // Where the game's binaries are
  49. gamebin portal/bin
  50.  
  51. // Last, mount in shared Portal loose files
  52. game |all_source_engine_paths|portal
  53.  
  54. // Last, mount in shared HL2 loose files
  55. game |all_source_engine_paths|hl2
  56. platform |all_source_engine_paths|platform
  57.  
  58. }
  59. }
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement