Advertisement
Guest User

Untitled

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