Server - DefaultGame.ini versus AAGame.ini

As near as I can figure the DefaultGame.ini contains all of the possible sections and properties used to configure a server, commented and set to their default values. When the server is booted it reads the AAGame.ini and any configuration properties that it needs and doesn't find set in the AAGame.ini it takes from the DefaultGame.ini. If the server can't find an AAGame.ini it will create one from the DefaultGame.ini. There are several .ini files that work this way that are associated with an aapg server:
  • AAGame.ini, DefaultGame.ini
  • AAInput.ini, DefaultInput.ini
  • AAEngine.ini, DefaultEngine.ini
  • AASteamUGCManager.ini, DefaultSteamUGCManager.ini
  • etc.

Like most .ini files brackets define a section and a section contains name=value pairs.
[Some-Section-Name]
; a comment - text is ignored to the end of this line.
name1=value1
name2="value2"

[Some-Other-Section-Name]
name=value3


The syntax used for entries in the DefaultGame.ini is slightly different from that of the AAGame.ini ... property names preceded by a plus sign (+) will be added to the AAGame properties. For example in the map rotation configured below the maps listed in the DefaultGame.ini preceded with a plus (+) are added to the map rotation list created by the entries in the AAGame.ini.

AAGame.ini
[AAGame.AADataStore_OnlineGameSearch]
MapRotationList="flo_ArenaMayhemDM$76561198010796370_th"
MapRotationList="flo_ArenaMayhem$76561198010796370_th"
MapRotationList="FLO_Bridge_EX"
MapRotationList="flo_Battletoads$76561197971730988_th"
MapRotationList="FLO_dusk$76561198031959356_vip"
MapRotationList="flo_HellsHallwayII$76561198010796370_FLO"
MapRotationList="flo_IRISHIdontcare$76561198015779520_cu"
MapRotationList="FLO_Irish What$76561198288742066_th"
MapRotationList=FLO_InsurgentCamp_AC
MapRotationList=flo_SniperBase$76561198052291053_ex
MapRotationList="FLO_Sandstorm_TH"
DefaultGame.ini
;This list determines which maps the server will rotate through
[AAGame.AADataStore_OnlineGameSearch]
+MapRotationList="BDX_Breach_EX"
+MapRotationList="BDX_Crossfire_C4"
+MapRotationList="BDX_Lockdown_EX"
+MapRotationList="BDX_Springstreet_VIP"
+MapRotationList="BDX_Siege_EX"
+MapRotationList="BDX_InnerHospital_EX"
+MapRotationList="BDX_Watchdog_C4"
+MapRotationList="BDX_Intercept_EX"
+MapRotationList="BDX_Raptus_EX"
+MapRotationList="BDX_Furious_TH"
+MapRotationList="BDX_Shadowstep_EX"
+MapRotationList="BDX_Springstreet_EX"
+MapRotationList="FLO_InsurgentCamp_AC"
+MapRotationList="FLO_Sandstorm_TH"
+MapRotationList="FLO_InnerHospital_EX"
+MapRotationList="FLO_StoneRuins_C4"
+MapRotationList="FLO_Intercept_VIP"
+MapRotationList="FLO_Checkout_EX"
+MapRotationList="FLO_Homestead_C4"
+MapRotationList="FLO_InnerHospital_VIP"
+MapRotationList="FLO_InsurgentCamp_AC"
+MapRotationList="FLO_Sandstorm_TH"
+MapRotationList="FLO_Downtown_EX"
+MapRotationList="FLO_CabinFever_TH"
+MapRotationList="FLO_Homestead_VIP"
+MapRotationList="FLO_Intercept_EX"
+MapRotationList="FLO_Watchdog_C4"
+MapRotationList="FLO_Slums_VIP"
+MapRotationList="FLO_RockyRoad_EX"
+MapRotationList="FLO_Overload_VIP"
+MapRotationList="FLO_Raptus_EX"
+MapRotationList="FLO_Coldfront_C4"
+MapRotationList="FLO_Redline_VIP"
+MapRotationList="FLO_Rusneyev_EX"

Is there an official source for information like this?

Comments

  • Keebler750Keebler750 Posts: 3,605Beta Tester
    DefaultGame.ini is "supposed" to create the other user files when certain actions are taken. (that's how that ' + ' sign works...) Unfortunately there have been some bugs and people started editing the above file. That is NOT the way it should be but a lot of people say "hey if it works who cares?"

    So... it's now a case of 'whatever works, do it.'
    ______

    This has been a test of the emergency flame-fest system. Please do not adjust your set.
  • {IRISH}Maximus{IRISH}Maximus Posts: 46Player
    So as a best practice we should edit AAGame.ini, and leave DefaultGame.ini alone?
  • Bear_82Bear_82 Posts: 363Moderator
    So as a best practice we should edit AAGame.ini, and leave DefaultGame.ini alone?

    yes
    The right of the people to keep and arm bears shall not be infringed.
  • -SD-DELTON-ACI--SD-DELTON-ACI- Posts: 1,433Player
    If your provider is End of Reality it only works with DefaultGame.ini if you use AAGame.ini it will not save.
  • DAMAGER.borgDAMAGER.borg Posts: 16Player
    What about the same ini files that are in the folder that was created when you saved your server settings?
    This is my Signature :o
Sign In or Register to comment.