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".
SirYodaJedi (talk | contribs) mNo edit summary |
(→{{cs2|4}} Example: - Updated to the latest version of CS2.) |
||
Line 25: | Line 25: | ||
game "Counter-Strike 2" | game "Counter-Strike 2" | ||
title "Counter-Strike 2" | title "Counter-Strike 2" | ||
title_pw "E58F8DE68190E7B2BEE88BB1EFBC9AE585A8E79083E694BBE58ABF" | |||
LayeredOnMod csgo_imported // Inherits the gameinfo.gi data from csgo_imported (which itself inherits from csgo_core) | LayeredOnMod csgo_imported // Inherits the gameinfo.gi data from csgo_imported (which itself inherits from csgo_core) | ||
Line 42: | Line 43: | ||
Mod csgo_imported | Mod csgo_imported | ||
Mod csgo_core | Mod csgo_core | ||
AddonRoot csgo_addons | AddonRoot csgo_addons | ||
Line 57: | Line 57: | ||
{ | { | ||
"DepotBuildDateTimeInTitleBar" "1" | "DepotBuildDateTimeInTitleBar" "1" | ||
"InitFilterTextEarly" "1" | |||
"CNPW" "CD535060BE7CF1821AFF685103743B65BF52" | |||
} | |||
pulse | |||
{ | |||
"pulse_enabled" "1" | |||
} | } | ||
Line 69: | Line 76: | ||
} | } | ||
"sv_minrate" "98304" | "sv_minrate" "98304" | ||
"sv_maxunlag" "0.200" | |||
" | |||
// GOTV controls | // GOTV controls | ||
Line 110: | Line 106: | ||
// Disable warning about oscillating panorama classes | // Disable warning about oscillating panorama classes | ||
" | "panorama_classes_oscillation_warning" "0" | ||
// Spew warning when adding/removing classes to/from the top of the hierarchy | // Spew warning when adding/removing classes to/from the top of the hierarchy | ||
" | "panorama_classes_perf_warning_threshold_ms" "0.75" | ||
// Panorama - enable render target cache | // Panorama - enable render target cache | ||
" | "panorama_disable_render_target_cache" "0" | ||
// Panorama - enable minidumps on JS exceptions | // Panorama - enable minidumps on JS exceptions | ||
Line 135: | Line 131: | ||
"input_button_code_is_scan_code" "1" | "input_button_code_is_scan_code" "1" | ||
//Disable Cubemap Brightening | // Disable Cubemap Brightening | ||
"lb_cubemap_normalization_max" "1" | "lb_cubemap_normalization_max" "1" | ||
Line 156: | Line 152: | ||
// Steam Audio project specific convars | // Steam Audio project specific convars | ||
" | "snd_musicvolume" | ||
" | { | ||
" | "version" "2" | ||
} | |||
"snd_steamaudio_enable_custom_hrtf" "0" | |||
"snd_steamaudio_enable_perspective_correction" "1" | |||
"snd_steamaudio_perspective_correction_factor" "1.0" | |||
"snd_steamaudio_normalize_default_hrtf_volume" "1" | |||
"snd_steamaudio_default_hrtf_volume_gain" "0.0" | |||
"snd_steamaudio_max_hrtf_normalization_gain_db" "6.0" | |||
"snd_steamaudio_enable_pathing" "1" | |||
"snd_steamaudio_source_pathing_debug" "0" | |||
// Need much tighter sound clock sync | |||
"snd_delay_sound_ms_max" "40" | |||
//don't let people miss with speaker config settings. | |||
"speaker_config" | |||
{ | |||
"min" "-1" | |||
"default" "-1" | |||
"max" "-1" | |||
} | |||
"cl_disconnect_voice_fade" "-1.0" | |||
"cl_disconnect_soundevent" "StopSoundEvents.StopAllExceptMusic" | |||
// Physics specific customization | |||
"phys_use_position_based_toi_test" "1" | |||
} | } | ||
Line 168: | Line 190: | ||
// "DeprecatedBehaviorVersionsAllowed" "0" | // "DeprecatedBehaviorVersionsAllowed" "0" | ||
//} | //} | ||
GMS | |||
{ | |||
"Advertise" "1" | |||
} | |||
GameInstructor | GameInstructor | ||
Line 187: | Line 214: | ||
retail_filter3 "patches/" | retail_filter3 "patches/" | ||
retail_filter4 "stickers/" | retail_filter4 "stickers/" | ||
retail_filter5 "weapons/" | |||
retail_filter6 "materials/models/inventory_items/" | |||
} | } | ||
Line 193: | Line 222: | ||
"VpkDirectories" | "VpkDirectories" | ||
{ | { | ||
" | "exclude" "maps/content_examples" | ||
" | "include" "maps" | ||
" | "include" "cfg/maps" | ||
" | "include" "materials" | ||
" | "include" "models" | ||
" | "include" "panorama/images/overheadmaps" | ||
" | "include" "scripts/vscripts" | ||
"include" "sounds" | |||
"include" "soundevents" | |||
"include" "lighting/postprocessing" | |||
"include" "postprocess" | |||
"include" "addoninfo.txt" | |||
} | } | ||
} | } | ||
} | } | ||
</nowiki>}} | </nowiki>}} |
Revision as of 05:14, 3 October 2023


For the
GoldSrc equivalent, see liblist.gam.

For the
Source 1 equivalent, see gameinfo.txt.

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).


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