Legacy:Game Ini File

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 04:44, 18 May 2006 by Tarquin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Game Ini File or Game configuration file is an INI file with the same name as the executable file of the particular unreal engine game. For instance, UnrealTournament.ini or UT2003.ini.

This file:

Headings

[URL]

[FirstRun]

The FirstRun entry tells you which version of the game you're currently running, in other words, are you on the latest patch?

[Engine.Engine]

[Core.System]

[Engine.GameEngine]

[WinDrv.WindowsClient]

[SDLDrv.SDLClient]

[Engine.Player]

[ALAudio.ALAudioSubsystem]

[IpDrv.TcpNetDriver]

[IpDrv.HTTPDownload]

[Engine.DemoRecDriver]

[Engine.GameReplicationInfo]

[IpServer.UdpServerQuery]

[IpDrv.UdpBeacon]

[D3DDrv.D3DRenderDevice]

[OpenGLDrv.OpenGLRenderDevice]

[Engine.NullRenderDevice]

[Editor.EditorEngine]

"EditPackages" lines list packages to load with UnrealEd.

Tarquin: Are all of these necessary? When working with textures or static meshes, there's an awful lot of guff already loaded that detracts from the resources currently in use in your map. Can any be removed safely?

[UWeb.WebServer]

[Engine.Console]

[Engine.AccessControl]

[Engine.GameInfo]

[Engine.AmbientSound]

[Engine.LevelInfo]

[xInterface.Tab_MultiplayerHostMain]

[xInterface.Tab_InstantActionMain]

[xInterface.Tab_InstantActionBaseRules]

[xInterface.Tab_IADeathMatch]

[xInterface.Tab_IATeamDeathMatch]

[xInterface.Tab_IACaptureTheFlag]

[xInterface.Tab_IABombingRun]

[xInterface.Tab_IADoubleDomination]

[xInterface.Tab_InstantActionMutators]

[xInterface.Tab_MultiplayerHostServerSettings]

[xInterface.ExtendedConsole]

[XInterface.GUIController]

Enable Interactive GUI Design Mode here (see GUIController)

[XGame.xDeathMatch]

[XGame.xTeamGame]

[XGame.xCTFGame]

[XGame.xDoubleDom]

[XGame.xBombingRun]

[IpDrv.MasterServerLink]

[XInterface.MapListDeathMatch]

[XInterface.MapListTeamDeathMatch]

[XInterface.MapListCaptureTheFlag]

[XInterface.MapListDoubleDomination]

[XInterface.MapListBombingRun]

[xInterface.IRC_System]

[xInterface.IRC_Page]

[XInterface.ServerBrowser]

[Xinterface.Tab_AudioSettings]

[BonusPack.xLastManStandingGame]

[Skaarjpack.Invasion]

[UnrealGame.DMMutator]

[UnrealEd.UnrealEdEngine]

Game Specific Information

Discussion

Chip: If it's not already in the works, I think an explanation of the many <game>.ini sections and what info they contain/how they function would be very helpful, particularly for those new to writing their own <mymod>.ini files. Syntax notes would also be useful. Examples like that for [Core.System] on the Releasing a Mod page are very instructive.

HSDanClark: The section headings are going to be different for each game (and the content gets changed/updated with each patch), but it would be a great idea to post the current-build version of the UT2003.ini with explanations. I'll set to work on it tonight if nobody beats me to it.

Tarquin: well there are the headings from mine if that's any help. Aren't any headigns at all common to all engine versions?

HSDanClark: The major ones, like [Core.System] or [Engine.Engine] are common to all versions (as far as I know), but others such as [XGame.xBombingRun] or [XGame.DoubleDom] are specific to UT2003 or higher.

Chip: I think documentation of UT2003.ini should be enough to provide a basis for figuring out many headings/sections not explicitly described on this page. The [Package.Class] heading syntax is consistent, right? If there's similar consistency in the section entries, that'll be a good clue for reading other .ini's.

OlympusMons: Maybe this should be the base page for unreal engine game ini's and all other game specific ini's can be on there respective pages. I'll see what I can do about adding some details and maybe a UT2004.ini page.


Category:Legacy To Do – add more to this page & change links to UnrealTournament.Ini to link here if suitable