Gameinfo.txt/Counter-Strike Global Offensive: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "From: {{csgo|4}} {{codeblock|src=gameinfo.txt|lang=txt|<nowiki> "GameInfo" { game "Counter-Strike: Global Offensive" title "COUNTER-STRIKE'" title2 "GO" type multiplayer_o...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
From: {{csgo|4}}
From: {{csgo|4}}
{{codeblock|src=gameinfo.txt|lang=txt|<nowiki>
 
"GameInfo"
==Gameinfo.txt==
{{codeblock|src=gameinfo.txt|lang=txt|<nowiki>"GameInfo"
{
{
game "Counter-Strike: Global Offensive"
game "Counter-Strike: Global Offensive"
Line 55: Line 56:




From: {{csgo|4}}
==Gameinfo_srgb.txt==
{{codeblock|src=gameinfo_srgb.txt|lang=txt|<nowiki>
{{codeblock|src=gameinfo_srgb.txt|lang=txt|<nowiki>"GameInfo"
"GameInfo"
{
{
// NOTE: This file is only used by the srgb_colorspace.pl script to generate the list of
// NOTE: This file is only used by the srgb_colorspace.pl script to generate the list of
Line 72: Line 72:
}
}
</nowiki>}}
</nowiki>}}
[[Category:Counter-Strike Global Offensive]]
[[Category:Counter-Strike: Global Offensive]]
[[Category:Gameinfo]]
 
[[Category:Counter-Strike Global Offensive]]
[[Category:Gameinfo]]
[[Category:Gameinfo]]

Latest revision as of 06:55, 16 August 2023

From: Counter-Strike: Global Offensive Counter-Strike: Global Offensive

Gameinfo.txt

gameinfo.txt
txt
"GameInfo" { game "Counter-Strike: Global Offensive" title "COUNTER-STRIKE'" title2 "GO" type multiplayer_only nomodels 1 nohimodel 1 nocrosshair 0 bots 1 hidden_maps { "test_speakers" 1 "test_hardware" 1 } nodegraph 0 SupportsXbox360 1 SupportsDX8 0 GameData "csgo.fgd" FileSystem { SteamAppId 730 // This will mount all the GCFs we need (240=CS:S, 220=HL2). ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. // // The code that loads this file automatically does a few things here: // // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end. // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it. // 3. For the first "Game" search path, it adds a search path called "MOD". // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH". // // // Search paths are relative to the base directory, which is where hl2.exe is found. // // |gameinfo_path| points at the directory where gameinfo.txt is. // We always want to mount that directory relative to gameinfo.txt, so // people can mount stuff in c:\mymod, and the main game resources are in // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2. // SearchPaths { Game |gameinfo_path|. Game csgo } } }


Gameinfo_srgb.txt

gameinfo_srgb.txt
txt
"GameInfo" { // NOTE: This file is only used by the srgb_colorspace.pl script to generate the list of // textures that the 360's makegamedata uses to choose a .pwl.vtf over a .vtf FileSystem { SearchPaths { Game l4dld Game left4dead2 } } }