Gameinfo.gi: Difference between revisions
Jump to navigation
Jump to search

Note:Booleans are represented as 0 or 1.
Note:If a string contains spaces or tabs you have to wrap it in "quote marks".
Note:Last retrieved Oct 2, 2023.
Tag: Undo |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{ModernTodo|Add more information and KeyValues.}} | {{ModernTodo|Add more information and KeyValues.}} | ||
{{stub}} | {{stub}} | ||
== Gameinfo.gi == | |||
{{Code|preset=2|GameInfo.gi}} is a [[KeyValues]] config file that describes a Source 2 games/mod. It is slightly different compared to the [[Gameinfo.txt|Source 1 counterpart (gameinfo.txt)]]. For example, {{code|preset=2|GameInfo.gi}} can contain a Source 2 equivalent of an "{{code|preset=2|[[autoexec.cfg]]}}", which is defined in the "[[#convarref|ConVars]]" KeyValue. {{Clarify|I don't know if this is technically correct, just what I am seeing from the file provided below. Please, someone who knows what they are talking about, correct this! | {{Code|preset=2|GameInfo.gi}} is a [[KeyValues]] config file that describes a Source 2 games/mod. It is slightly different compared to the [[Gameinfo.txt|Source 1 counterpart (gameinfo.txt)]]. For example, {{code|preset=2|GameInfo.gi}} can contain a Source 2 equivalent of an "{{code|preset=2|[[autoexec.cfg]]}}", which is defined in the "[[#convarref|ConVars]]" KeyValue. {{Clarify|I don't know if this is technically correct, just what I am seeing from the file provided below. Please, someone who knows what they are talking about, correct this! | ||
Line 9: | Line 11: | ||
{{Note|If a string contains spaces or tabs you have to wrap it in "quote marks".}} | {{Note|If a string contains spaces or tabs you have to wrap it in "quote marks".}} | ||
=={{cs2|4}} Example== | ==={{cs2|4}} Example=== | ||
A GameInfo.gi from {{cs2|4}}. | A GameInfo.gi from {{cs2|4}}. | ||
Line 240: | Line 242: | ||
</nowiki>}} | </nowiki>}} | ||
== See Also == | === gameinfo_branchspecific.gi === | ||
{{todo}} | |||
=== See Also === | |||
* [[:Category:Gameinfo.gi]] | * [[:Category:Gameinfo.gi]] |
Revision as of 06:27, 26 December 2023


Gameinfo.gi
GameInfo.gi is a KeyValues config file that describes a Source 2 games/mod. It is slightly different compared to the Source 1 counterpart (gameinfo.txt). For example, GameInfo.gi can contain a Source 2 equivalent of an "autoexec.cfg", which is defined in the "ConVars" KeyValue.
Clarify: I don't know if this is technically correct, just what I am seeing from the file provided below. Please, someone who knows what they are talking about, correct this!
-Equalizer5118, an idiot who cant spel (talk) 23:17, 25 December 2023 (PST)


Counter-Strike 2 Example
A GameInfo.gi from Counter-Strike 2.

gameinfo_branchspecific.gi
[Todo]