[GS] [1.0.0.317] Despite I have GS, RF main menu starts

Joined
Jan 30, 2016
Messages
850
Location
Hungary, Earth, M.W. Galaxy
Hello my friends!

Since the latest patch whenever I start the game, the RF menu comes up instead of the GS one. I have GS enabled in the additional content section, and I've tried launching the game different ways (launcher, direct).

Albeit the game works fine (although I'm getting errors in Database.log:
Spoiler errors :

Code:
[1357727.117] [ColorManager] ERROR: UNIQUE constraint failed: PlayerColors.Type
[1357727.117] [ColorManager]: While executing - 'insert into PlayerColors('Type', 'Usage', 'PrimaryColor', 'SecondaryColor') values (?, ?, ?, ?);'
[1357727.117] [ColorManager]: In XMLSerializer while inserting row into table insert into PlayerColors('Type', 'Usage', 'PrimaryColor', 'SecondaryColor') with  values (CIVILIZATION_ANTIOCH, Minor, COLOR_PLAYER_CITY_STATE_PRIMARY, COLOR_PLAYER_CITY_STATE_TRADE_SECONDARY, ).
[1357727.117] [ColorManager]: In XMLSerializer while updating table PlayerColors from file ../../../DLC/Expansion1/Data/Expansion1_PlayerColors.xml.

), this is very annoying (I really like GS main menu).

Any ideas?
 
Funny thing is that I use neither of those... but You gave me a clue.

It must be that "Free Walls for City-States" causing this (which I am more than willing to abandon since latest patch added walls at higher difficulty levels anyway)

I will try, thanks a lot Infixo! :)
 
Actually, there could be an an explanation for that.
If you use Free Walls, and it loads before RF or GS (and it will if it doesn’t have any LoadOrder assigned), then it might cause problems with loading the expansion.
But the error should be different, why is there PlayerColors at all, weird.
 
It wasn't Free Walls, but I disabled all mods and GS menu popped up, so it's definitely a mod issue. I will go one by one tomorrow and try to pinpoint which mod causes this, then I will let You know! Thanks a lot my friend :)
 
The problem is related to core game files and the way how the game determines the eload order of the mods.
There are 2 files that set the color for CIVILIZATION_ANTIOCH: Expansion1_PlayerColors.xml and Expansion2_PlayerColors.xml.

In Expansion1_PlayerColors.xml there is:
<Row>
<Type>CIVILIZATION_ANTIOCH</Type>
<Usage>Minor</Usage>
<PrimaryColor>COLOR_PLAYER_CITY_STATE_PRIMARY</PrimaryColor>
<SecondaryColor>COLOR_PLAYER_CITY_STATE_TRADE_SECONDARY</SecondaryColor>
</Row>

And in Expansion2_PlayerColors.xml:
<Replace>
<Type>CIVILIZATION_ANTIOCH</Type>
<Usage>Minor</Usage>
<PrimaryColor>COLOR_PLAYER_CITY_STATE_PRIMARY</PrimaryColor>
<SecondaryColor>COLOR_PLAYER_CITY_STATE_TRADE_SECONDARY</SecondaryColor>
</Replace>

The expansions are desinged in a way that Xp2 files load AFTER Xp1. And this is ok: Xp1 creates a row with <Row>, and Xp2 either creates or replaces the row with <Replace>.

However, in your case Xp2 file is loaded BEFORE Xp1 causing that error because <Row> from Xp1 cannot create a duplicate row due to a Primary Key constraint.

Line 111: [1588232.256] UpdateColors - Loading Data/Aztec_Montezuma_Colors.xml
Line 130: [1588232.267] UpdateColors - Loading Data/Indonesia_Khmer_Colors.xml
Line 148: [1588232.299] UpdateColors - Loading Data/Poland_Jadwiga_Colors.xml
Line 162: [1588232.304] UpdateColors - Loading Data/Nubia_Colors.xml
Line 163: [1588232.304] UpdateColors - Loading Data/Nubia_PlayerColors.xml
Line 198: [1588232.318] UpdateColors - Loading Data/Macedonia_Persia_Colors.xml
Line 199: [1588232.318] UpdateColors - Loading Data/Macedonia_Persia_PlayerColors.xml
Line 214: [1588232.323] UpdateColors - Loading Data/Australia_Colors.xml
Line 233: [1588232.369] UpdateColors - Loading Data/Expansion2_PlayerColors.xml
Line 250: [1588232.372] UpdateColors - Loading Data/VikingsScenario_Colors.xml
Line 251: [1588232.372] UpdateColors - Loading Data/VikingsScenario_PlayerColors.xml
Line 263: [1588232.387] UpdateColors - Loading Data/Expansion1_PlayerColors.xml

I have no idea (yet) why this happens.
 
These files don't have LoadOrder assigned, so they can load in different order, depending on how you activate mods, I suppose.

Try to change in the file Expansion1_PlayerColors.xml <Row> into <Replace> (and </Row> into </Replace>, ofc) in the below section (end of the file):

<Row>
<Type>CIVILIZATION_ANTIOCH</Type>
<Usage>Minor</Usage>
<PrimaryColor>COLOR_PLAYER_CITY_STATE_PRIMARY</PrimaryColor>
<SecondaryColor>COLOR_PLAYER_CITY_STATE_TRADE_SECONDARY</SecondaryColor>
</Row>
<Row>
<Type>CIVILIZATION_BABYLON</Type>
<Usage>Minor</Usage>
<PrimaryColor>COLOR_PLAYER_CITY_STATE_PRIMARY</PrimaryColor>
<SecondaryColor>COLOR_PLAYER_CITY_STATE_SCIENCE_SECONDARY</SecondaryColor>
</Row>
 
So, you are running plenty of mods. And as I understand, if you removed from enabled mods Real Balanced Pantheons (and only this one) - the rest loaded correctly and the game started?
That is correct. GS menu popped up, no errors in database log.
What are Empire Divided mods? Google can't find them.
They are mods of my own I'm about to release (after testing and fixing bugs). They don't have loadorder, and they were the first I tried to turn off.
The problem is related to core game files and the way how the game determines the eload order of the mods.
...
I see, good to know. Thanks for the background info.
These files don't have LoadOrder assigned, so they can load in different order, depending on how you activate mods, I suppose.
...
Thanks, I will try out that then. It's just weird why would it be your mod that cause this. I guess it can be any mod by chance?!

Thanks for your help :)
 
This happened to me when I enabled UC-Fresh Water Works Mod. But it just seems to affect the Main Screen and not revert it back to R&F.

Edit: Maybe it is an interaction with Better Aqueducts Mod. They are compatible according to JNR on Steam, but the load order might be an issue when both are enabled.
 
This happened to me when I enabled UC-Fresh Water Works Mod. But it just seems to affect the Main Screen and not revert it back to R&F.

Edit: Maybe it is an interaction with Better Aqueducts Mod. They are compatible according to JNR on Steam, but the load order might be an issue when both are enabled.
Thank you for your reply my friend.

I use neither of those, it seems to me that some mods randomly alter loadorder of the expansions?! Dunno what's going on :D
 
Okay.. i was just about to report similar issues with this too. But since everything seems to point here...

This flaw started to occur recently in various conditions.

1) Wanted to try a new Zur13's "Popup Blocker" and the R&F menu replaced GS. Disabled the mod -- it came back.
2) Compiled an entirely new Test-Mod (CHMZ) of mine with a same "100" load-order as its similar "Colorized History Moments". R&F swapped GS -- again!

Sooooo -- there's definitely a LoadOrder flaw involved but i'll have to lean against a recent ModBuddy "update" as the likely cause of these events. Anything freshly compiled after April 5th.. seems to reproduce this Menu swap behavior.

Thus -- it has to be Firaxis fault. And not our installed Mods or their implicit LoadOrder(s) failing to adapt to XP1&2 requirements.
 
Okay.. i was just about to report similar issues with this too. But since everything seems to point here...

This flaw started to occur recently in various conditions.

1) Wanted to try a new Zur13's "Popup Blocker" and the R&F menu replaced GS. Disabled the mod -- it came back.
2) Compiled an entirely new Test-Mod (CHMZ) of mine with a same "100" load-order as its similar "Colorized History Moments". R&F swapped GS -- again!

Sooooo -- there's definitely a LoadOrder flaw involved but i'll have to lean against a recent ModBuddy "update" as the likely cause of these events. Anything freshly compiled after April 5th.. seems to reproduce this Menu swap behavior.

Thus -- it has to be Firaxis fault. And not our installed Mods or their implicit LoadOrder(s) failing to adapt to XP1&2 requirements.
I've come to similiar conclusions, thank you for your feedback my friend!
 
Back
Top Bottom