Advertisement
Guest User

Bitchin gameinfo

a guest
Jun 19th, 2024
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | Source Code | 0 0
  1. "GameInfo"
  2. {
  3. game "Bitchin"
  4. title "BITCHIN"
  5. type singleplayer_only
  6. supportsvr 1
  7.  
  8. FileSystem
  9. {
  10. SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
  11.  
  12. //
  13. // The code that loads this file automatically does a few things here:
  14. //
  15. // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
  16. // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
  17. // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
  18. // 3. For the first "Game" search path, it adds a search path called "MOD".
  19. // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
  20. //
  21.  
  22. //
  23. // Search paths are relative to the base directory, which is where hl2.exe is found.
  24. //
  25. // |gameinfo_path| points at the directory where gameinfo.txt is.
  26. // We always want to mount that directory relative to gameinfo.txt, so
  27. // people can mount stuff in c:\mymod, and the main game resources are in
  28. // someplace like c:\program files\valve\steam\steamapps\half-life 2.
  29. //
  30. SearchPaths
  31. {
  32. // First, mount all user customizations. This will search for VPKs and subfolders
  33. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  34. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  35. // folder.
  36. //
  37. // Note that this folder is scanned only when the game is booted.
  38.  
  39. // We search VPK files before ordinary folders, because most files will be found in
  40. // VPK and we can avoid making thousands of file system calls to attempt to open files
  41. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  42. // system call.)
  43. mod hl2
  44. game+mod |gameinfo_path|vpk/.
  45. game_lv hl2/hl2_lv.vpk
  46. game+mod hl2/hl2_sound_vo_english.vpk
  47. game+mod hl2/hl2_pak.vpk
  48. game |all_source_engine_paths|hl2/hl2_textures.vpk
  49. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  50. game |all_source_engine_paths|hl2/hl2_misc.vpk
  51. platform |all_source_engine_paths|platform/platform_misc.vpk
  52.  
  53. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  54. // as the first "mod" search path (after any user customizations). This is also the one
  55. // that's used when writing to the "mod" path.
  56. default_write_path+game+game_write |gameinfo_path|.
  57.  
  58. // Add the HL2 directory as a game search path. This is also where where writes
  59. // to the "game" path go.
  60.  
  61.  
  62. // Where the game's binaries are
  63. gamebin |gameinfo_path|bin
  64.  
  65. platform |all_source_engine_paths|platform
  66. }
  67. }
  68. }
  69.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement