Gameinfo.gi/Dota 2
A gameinfo.gi from
Dota 2
"GameInfo"
{
//
// gameinfo.gi is the non-branch-varying content and can be integrated between branches.
// Branch-varying info, such as the game/title and app IDs, is in gameinfo_branchspecific.gi.
//
gamelogo 1
type multiplayer_only
nomodels 1
nohimodel 1
nocrosshair 0
GameData "dota.fgd"
SupportsDX8 0
nodegraph 0
tonemapping 0 // Hide tonemapping ui in tools mode
FileSystem
{
//
// 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 exe directory\..\
//
SearchPaths
{
// These are optional language paths. They must be mounted first, which is why there are first in the list.
// *LANGUAGE* will be replaced with the actual language name. If not running a specific language, these paths will not be mounted
Game_Language dota_*LANGUAGE*
// These are optional low-violence paths. They will only get mounted if you're in a low-violence mode.
Game_LowViolence dota_lv
Game dota
Game core
Mod dota
Write dota
// These are optional language paths. They must be mounted first, which is why there are first in the list.
// *LANGUAGE* will be replaced with the actual language name. If not running a specific language, these paths will not be mounted
AddonRoot_Language dota_*LANGUAGE*_addons
AddonRoot dota_addons
// Note: addon content is included in publiccontent by default.
PublicContent dota_core
PublicContent core
}
AddonsChangeDefaultWritePath 0
}
MaterialSystem2
{
RenderModes
{
"game" "Default"
"game" "DotaDeferred"
"game" "DotaForward"
"game" "Depth"
"tools" "ToolsVis" // Visualization modes for all shaders (lighting only, normal maps only, etc.)
"tools" "ToolsWireframe" // This should use the ToolsVis mode above instead of being its own mode
"tools" "ToolsUtil" // Meant to be used to render tools sceneobjects that are mod-independent, like the origin grid
}
}
Engine2
{
"HasModAppSystems" "1"
"Capable64Bit" "1"
"PanoramaUIClientFromClient" "1" // IPanoramaUIClient is implemented by client.dll
"HasLegacyGameUI" "1" // dota uses some legacy gameui systems
"URLName" "dota2"
"MsaaOverrideType" "0"
"UsesBink" "0"
"MaxNetworkableEntities" "10000"
"MaxNonNetworkableEntities" "10000"
// The shader binary cache on non-Windows can be over 500MB.
// Also currently demo files are loaded entirely into memory for
// 64-bit binaries so they can easily use 100's of MB at load time.
// Go ahead and allow very large allocations, essentially removing this warning.
"AllocWarnMB" "2000"
"ReserveWarnMB" "64"
"DefaultRenderSystem" "-vulkan" [ $LINUX }