The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Legacy:Game Ini File

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

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:

Contents

Headings[edit]

[URL][edit]

[FirstRun][edit]

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][edit]

[Core.System][edit]

[Engine.GameEngine][edit]

[WinDrv.WindowsClient][edit]

[SDLDrv.SDLClient][edit]

[Engine.Player][edit]

[ALAudio.ALAudioSubsystem][edit]

[IpDrv.TcpNetDriver][edit]

[IpDrv.HTTPDownload][edit]

[Engine.DemoRecDriver][edit]

[Engine.GameReplicationInfo][edit]

[IpServer.UdpServerQuery][edit]

[IpDrv.UdpBeacon][edit]

[D3DDrv.D3DRenderDevice][edit]

[OpenGLDrv.OpenGLRenderDevice][edit]

[Engine.NullRenderDevice][edit]

[Editor.EditorEngine][edit]

"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?

StarWeaver: I'm actually going through and taking a look at the contents of the packages in UDE and removing the ones that seem likely. As far as I know, all removing a package will do is remove actors you might need to place from the actor browser, so you may well be able to remove e.g. Onslaught if you don't care about editing ONS all the time. I'm not sure what happens to packages that inherit from other packages, but considering how textures and everything are loaded i'd GUESS that they're loaded as needed.

These are the pacakges that seem to be completly irrelavant to work in the editor, and I'm going to attempt running without them for a while. – I just tested and seemed to be able to load maps OK with these pacakages removed.

(Unfortunatly this dosn't remove much from the texture browser. I really wish there was some kind of list of packages used in the map or something so I could e.g. only see texture packages that I loaded manually at least once ...)

  • GUI2K4
  • UTV2004c
  • UTV2004s
  • UWeb
  • XInterface
  • XAdmin
  • XWebAdmin
  • xVoting

All that are in these packages are classes that import meshes and such, so I'm not sure that they matter in the editor either, but I'm leaving them in for now.

  • XGame_rc
  • XWeapons_rc
  • XPickups_rc
  • SkaarjPack_rc

Here are the ones i'm not sure about at all:

  • StreamlineFX: Appears to be first person versions of muzzle flashes and some blood miscellany. Seems unlikely to be important in the ed.
  • XEffects: So many of these are just one-off emitter effects that are used by coded objects like rocket trails and such, but there's at least one direct derive from Actor (MeshEffect) that might be important?

Also, if you just want to work with your own statics or whatever, I *Think* you can drop everything but core, engine, fire, editor, unrealed, and ipdrv and still load the program.

On another note, does anyone have any idea how CutdownPackages work?

[UWeb.WebServer][edit]

[Engine.Console][edit]

[Engine.AccessControl][edit]

[Engine.GameInfo][edit]

[Engine.AmbientSound][edit]

[Engine.LevelInfo][edit]

[xInterface.Tab_MultiplayerHostMain][edit]

[xInterface.Tab_InstantActionMain][edit]

[xInterface.Tab_InstantActionBaseRules][edit]

[xInterface.Tab_IADeathMatch][edit]

[xInterface.Tab_IATeamDeathMatch][edit]

[xInterface.Tab_IACaptureTheFlag][edit]

[xInterface.Tab_IABombingRun][edit]

[xInterface.Tab_IADoubleDomination][edit]

[xInterface.Tab_InstantActionMutators][edit]

[xInterface.Tab_MultiplayerHostServerSettings][edit]

[xInterface.ExtendedConsole][edit]

[XInterface.GUIController][edit]

Enable Interactive GUI Design Mode here (see GUIController)

[XGame.xDeathMatch][edit]

[XGame.xTeamGame][edit]

[XGame.xCTFGame][edit]

[XGame.xDoubleDom][edit]

[XGame.xBombingRun][edit]

[IpDrv.MasterServerLink][edit]

[XInterface.MapListDeathMatch][edit]

[XInterface.MapListTeamDeathMatch][edit]

[XInterface.MapListCaptureTheFlag][edit]

[XInterface.MapListDoubleDomination][edit]

[XInterface.MapListBombingRun][edit]

[xInterface.IRC_System][edit]

[xInterface.IRC_Page][edit]

[XInterface.ServerBrowser][edit]

[Xinterface.Tab_AudioSettings][edit]

[BonusPack.xLastManStandingGame][edit]

[Skaarjpack.Invasion][edit]

[UnrealGame.DMMutator][edit]

[UnrealEd.UnrealEdEngine][edit]

Game Specific Information[edit]

Discussion[edit]

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.

HanzFreiz: Is there a way(function) to write a data in the ini files? Without have to write a DLL or create a class like:

 class example extends actor 
             config(MyIniFile);
 
var config array<String> MyData;
 
function BeginPlay()
{
       Super.BeginPlay();
 
       SaveConfigs();
}

I need it to create a savegame system.

00zX:DataObject is this what you are looking for? or are you wanting something UE3 related? --00zX 16:48, 11 February 2010 (UTC)


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