Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION V > Civ5 - Macintosh

Notices

Reply
 
Thread Tools
Old Dec 22, 2010, 05:55 AM   #1
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Retain Advanced Setup - Game to Game?

Is there any way to not have to modify the Advanced Setup each and every time?

The other "normal" settings are retained, as one tries to find a non-horrible starting location...
jsurpless is offline   Reply With Quote
Old Dec 22, 2010, 07:01 AM   #2
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
Have a look at the Game and User settings in ~/Documents/Aspyr/Sid Meier's Civilization 5/config.ini


I haven't tried it, but maybe you can edit these to change some of the defaults.
AlanH is offline   Reply With Quote
Old Feb 10, 2011, 03:40 PM   #3
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
I found this posting on the General forum but am having trouble getting it to work...

Remembering Advanced Settings

Any thoughts?
jsurpless is offline   Reply With Quote
Old Feb 10, 2011, 05:55 PM   #4
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
I've tried the config.ini approach, and it doesn't seem to have any effect for me. However, the following worked:

Open the following file in a text editor - TextEdit, BBEdit, TextWrangler ...:

~/Library/Application Support/Steam/SteamApps/common/sid meier's civilization v/assets/Gameplay/XML/GameInfo/CIV5GameOptions.xml

It contains 17 GAMEOPTION_XXX tags. One for each of the 14 Advanced Setup checkboxes, and three more*.

Find the GAMEOPTION tag that you want to set enable. For example GAMEOPTION_NO_BARBARIANS, and add a <Default> line:

Code:
        <Row>
            <Type>GAMEOPTION_NO_BARBARIANS</Type>
            <Description>TXT_KEY_GAME_OPTION_NO_BARBARIANS</Description>
            <Help>TXT_KEY_GAME_OPTION_NO_BARBARIANS_HELP</Help>
            <Default>1</Default>
        </Row>
Restart Civ5. When you go into Set Up Game, that Advanced Setup option should now be set.

*It's interesting that there are three more options in that file than are shown in the Advanced Setup screen: ALWAYS_WAR, NO_CHANGING_WAR_PEACE, and LOCK_MODS
AlanH is offline   Reply With Quote
Old Feb 11, 2011, 07:14 PM   #5
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Great, that did the trick for the options...

Now, is there any way to get it to remember which Civ and such I last selected (similar to not using advanced setup)?

To aid in re-generating a map, a la Civ 4?
jsurpless is offline   Reply With Quote
Old Feb 11, 2011, 07:36 PM   #6
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
I just found the above by following my nose through the links you pointed at. There's another Options XML file, but it only sets up defaults for the main Options screen. I can't see any equivalent XML file for the other game parameters. Do you believe it's possible to have a default civ/leader?
AlanH is offline   Reply With Quote
Old Feb 12, 2011, 09:26 AM   #7
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Quote:
Originally Posted by AlanH View Post
I just found the above by following my nose through the links you pointed at. There's another Options XML file, but it only sets up defaults for the main Options screen. I can't see any equivalent XML file for the other game parameters. Do you believe it's possible to have a default civ/leader?
What I mean is that, if one doesn't use 'Advanced Setup', the game remembers the last configuration...
jsurpless is offline   Reply With Quote
Old Feb 12, 2011, 01:27 PM   #8
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
Well, that means it saves it somewhere. Chances are that's in a .ini file.

I already suggested looking at config.ini. Did you try that? It includes the following entries:

Code:
[UserSettings]

; Last Civilization Played
LastCiv = -1

; Last Game Speed Played
LastSpeed = 2

; Last Map Type Played
LastMapScript = Assets\Maps\Continents.lua

; Last Map Script Was Random
LastMapScriptRandom = 0

; Last Map Size Played
LastMapSize = 3

; Last Map Size Was Random
LastMapSizeRandom = 0

; Last Map Type Was Earth
LastMapWasEarth = 0

; Last Game Difficulty Played
LastDifficulty = 3
Try setting the LastCiv value to something other than -1. The numbers to choose are the indices of the <Civilizations> rows in the file ~/Library/Application Support/Steam/SteamApps/common/sid meier's civilization v/assets/Gameplay/XML/Civilizations/CIV5Civilizations.xml

I changed it to 1, and when I started Civ5 and selected Setup Game, it came up with Arabia selected. Arabia is the second civ in the list in that XML file - #1 if you start counting at zero. I suspect the other values will work the same way.
AlanH is offline   Reply With Quote
Old Jun 26, 2012, 03:51 PM   #9
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Quote:
Originally Posted by AlanH View Post
I've tried the config.ini approach, and it doesn't seem to have any effect for me. However, the following worked:

Open the following file in a text editor - TextEdit, BBEdit, TextWrangler ...:

~/Library/Application Support/Steam/SteamApps/common/sid meier's civilization v/assets/Gameplay/XML/GameInfo/CIV5GameOptions.xml

It contains 17 GAMEOPTION_XXX tags. One for each of the 14 Advanced Setup checkboxes, and three more*.

Find the GAMEOPTION tag that you want to set enable. For example GAMEOPTION_NO_BARBARIANS, and add a <Default> line:

Code:
        <Row>
            <Type>GAMEOPTION_NO_BARBARIANS</Type>
            <Description>TXT_KEY_GAME_OPTION_NO_BARBARIANS</Description>
            <Help>TXT_KEY_GAME_OPTION_NO_BARBARIANS_HELP</Help>
            <Default>1</Default>
        </Row>
Restart Civ5. When you go into Set Up Game, that Advanced Setup option should now be set.

*It's interesting that there are three more options in that file than are shown in the Advanced Setup screen: ALWAYS_WAR, NO_CHANGING_WAR_PEACE, and LOCK_MODS

Any thoughts on how to do this for Gods & Kings? This doesn't appear to work any more...
jsurpless is offline   Reply With Quote
Old Jun 26, 2012, 04:09 PM   #10
AspyrRyan
Warlord
 
AspyrRyan's Avatar
 
Join Date: Jan 2011
Location: Austin, TX
Posts: 252
Hmm, I thought this was working auto-magically. It's certainly not full resetting like the PC does for me. Are there particular settings that aren't saving for you?
__________________
I'm not tech support, but I know people who are at http://support.aspyr.com/
AspyrRyan is offline   Reply With Quote
Old Jun 26, 2012, 04:45 PM   #11
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
Don't forget that the assets are now embedded in the application bundle, so any editing of game options will need to be done inside that bundle/package.

The new save format for Civ5 under the latest patch uses text keys instead of index numbers to identify various things like the civs that are in play. That may have affected the way these settings work, as well.
AlanH is offline   Reply With Quote
Old Jun 26, 2012, 05:43 PM   #12
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Quote:
Originally Posted by AspyrRyan View Post
Hmm, I thought this was working auto-magically. It's certainly not full resetting like the PC does for me. Are there particular settings that aren't saving for you?
Save Promotions, Policies, Start Bias
jsurpless is offline   Reply With Quote
Old Jun 26, 2012, 05:44 PM   #13
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Quote:
Originally Posted by AlanH View Post
Don't forget that the assets are now embedded in the application bundle, so any editing of game options will need to be done inside that bundle/package.

The new save format for Civ5 under the latest patch uses text keys instead of index numbers to identify various things like the civs that are in play. That may have affected the way these settings work, as well.
In the app bundle? My Civ 5 is only 45K?
jsurpless is offline   Reply With Quote
Old Jun 26, 2012, 06:02 PM   #14
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
Where did you find that 45K file? Perhaps it's just an alias?
AlanH is offline   Reply With Quote
Old Jul 08, 2012, 05:11 PM   #15
jsurpless
Chieftain
 
Join Date: Jul 2006
Posts: 85
Quote:
Originally Posted by AlanH View Post
Where did you find that 45K file? Perhaps it's just an alias?
This is just the application 'Civilization V' that Steam puts on the desktop
jsurpless is offline   Reply With Quote
Old Jul 08, 2012, 05:38 PM   #16
AlanH
Mac addict, php monkey

 
AlanH's Avatar
 
Join Date: Jan 2003
Location: England
Posts: 25,243
Images: 1
That isn't the real application, it's a shortcut to the actual application. The application is at /Users/[your_user_name]/Library/Application Support/Steam/SteamApps/common/sid meier's civilization v/Civilization V.app, and it weighs in at 6.4 GBytes on my system.
AlanH is offline   Reply With Quote
Old Jul 09, 2012, 02:21 AM   #17
KWagle
Chieftain
 
Join Date: Jul 2007
Posts: 26
Quote:
Originally Posted by AlanH View Post
Don't forget that the assets are now embedded in the application bundle, so any editing of game options will need to be done inside that bundle/package.
I'm poking around inside the bundle, and can't find any likely candidate file. :-(
KWagle is offline   Reply With Quote
Old Sep 09, 2012, 10:11 AM   #18
Starfire
Chieftain
 
Join Date: Mar 2002
Posts: 6
For God and Kings, use
<Default>True</Default> or
<Default>False</Default>
Starfire is offline   Reply With Quote
Old Sep 09, 2012, 10:15 AM   #19
Starfire
Chieftain
 
Join Date: Mar 2002
Posts: 6
C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\Gameplay\XML\GameInfo

GameOptions.xml

Some options, like "Always War", are hidden via <Visible>0</Visible>. Just change this to <Visible>1</Visible> and you can set that options like the others.
Starfire is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION V > Civ5 - Macintosh > Retain Advanced Setup - Game to Game?

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Advertisement

All times are GMT -6. The time now is 04:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR