[GS] How to identify conflicting mods?

Puer

Warlord
Joined
Jan 4, 2005
Messages
279
Location
Estonia
How to identify conflicting mods?
One option is to start the game, make few turns, check the logs (database and modding.log)?
The faster option is to provide a list of mods here and hopefully, someone already knows.
The third option is to do research, google mods one by one etc.

What do you recommend?
 
Mods are usually "conflicting" if they (a) overwrite the same UI file or (b) remove data from DB.
(a) Just check if they contain the files with the same name (.lua or .xml)
(b) Database.log or CTD.

There is also (c) they try to add the sama data (very rare case, but possible) then
(c) Database.log - unique constraint failed
 
If you want to see a compatible mod list, go to steam look up Cosmic Fox, see my collection, I only play with mods and all are working for me. I am compiling a nice listing here: https://steamcommunity.com/sharedfiles/filedetails/?id=1658148583
I hope this helps you out a bit, Dido mod is a new one I am testing out, other then this they all work together. ;)
 
Thanks, Infixo for the useful info.

If there are same name files, which ones will be loaded? Is it related to the mod load order?
For example, if I want to prioritize BetterReportScreen and not CUI ReportScreen.lua:

ReportScreen.lua Mods\BetterReportScreen 205 KB 2019-02-23 08:43:45
ReportScreen.lua Mods\CUI\UI\Base 82.9 KB 2019-02-25 20:14:01

I have issues with some UIs (ReportScreen, Civilopedia).
How to resolve this. Is the only solution to remove conflict mod or can I remove only conflict files (ReportScreen*.* xml and lua). Mod file content merge seems too complex :)


Enlightened Fox, thanks for the link.

I'm using the following mods:
  • CUI (seems that there is a conflict with the following mods: BetterReportScreen, Better Civilopedia. Also, there are duplicated files with Sukritact's Simple UI Adjustments & MoreLenses, but seems that everything is working as expected)
  • BetterReportScreen
  • Better Civilopedia

  • MoreLenses
  • Sukritact's Simple UI Adjustments (conflict with Real Great People?)
  • Real Great People

  • Real Great Musicians
  • Slower Tech by Era
  • Detailed Worlds

Spoiler Duplicated lua & xml files :

------------------------------------------------------------------------------------------------------------------------------------------------------
ReportScreen.lua BetterReportScreen 205 KB 2019-02-23 08:43:45
ReportScreen.lua CUI\UI\Base 82.9 KB 2019-02-25 20:14:01
------------------------------------------------------------------------------------------------------------------------------------------------------
ReportScreen.xml BetterReportScreen 105 KB 2019-02-23 08:43:45
ReportScreen.xml BetterReportScreen\RiseFall 104 KB 2019-02-23 08:43:46
ReportScreen.xml CUI\UI\Base 46.1 KB 2019-02-25 20:14:01
ReportScreen.xml CUI\UI\Expansion1 46.9 KB 2019-02-25 20:14:06
ReportScreen.xml CUI\UI\Expansion2 46.9 KB 2019-02-25 20:14:09
------------------------------------------------------------------------------------------------------------------------------------------------------
CityPanel.lua CUI\UI\Base 55.0 KB 2019-02-25 20:13:57
CityPanel.lua Sukritact's Simple UI Adjustments\UI\Common 53.0 KB 2019-02-14 07:28:22
------------------------------------------------------------------------------------------------------------------------------------------------------
DiplomacyDealView.lua CUI\UI\Base 108 KB 2019-02-25 20:13:58
DiplomacyDealView.lua CUI\UI\Expansion2 109 KB 2019-02-25 20:14:08
------------------------------------------------------------------------------------------------------------------------------------------------------
MinimapPanel.lua CUI\UI\Base 44.6 KB 2019-02-25 20:14:01
MinimapPanel.lua MoreLenses\Base\Assets\UI 60.3 KB 2019-02-24 05:25:26
------------------------------------------------------------------------------------------------------------------------------------------------------
StatusMessagePanel.lua CUI\UI\Base 6.49 KB 2019-02-25 20:14:02
StatusMessagePanel.lua Sukritact's Simple UI Adjustments\UI\Common 6.17 KB 2019-02-14 07:28:22
------------------------------------------------------------------------------------------------------------------------------------------------------
TopPanel.lua CUI\UI\Base 25.2 KB 2019-02-25 20:14:03
TopPanel.lua CUI\UI\Expansion2 24.4 KB 2019-02-25 20:14:09
------------------------------------------------------------------------------------------------------------------------------------------------------
CityPanel.xml CUI\UI\Base 18.0 KB 2019-02-25 20:13:57
CityPanel.xml Sukritact's Simple UI Adjustments\UI\Common 16.8 KB 2018-03-12 21:15:35
------------------------------------------------------------------------------------------------------------------------------------------------------
CityStates.xml CUI\UI\Base 25.7 KB 2019-02-25 20:13:57
CityStates.xml CUI\UI\Expansion1 26.1 KB 2019-02-25 20:14:05
------------------------------------------------------------------------------------------------------------------------------------------------------
DiplomacyDealView.xml CUI\UI\Base 23.4 KB 2019-02-25 20:13:58
DiplomacyDealView.xml CUI\UI\Expansion2 23.4 KB 2019-02-25 20:14:08
------------------------------------------------------------------------------------------------------------------------------------------------------
EspionageChooser.xml CUI\UI\Base 16.1 KB 2019-02-25 20:13:58
EspionageChooser.xml CUI\UI\Expansion2 16.7 KB 2019-02-25 20:14:08
------------------------------------------------------------------------------------------------------------------------------------------------------
MinimapPanel.xml CUI\UI\Base 12.9 KB 2019-02-25 20:14:01
MinimapPanel.xml CUI\UI\Expansion1 13.2 KB 2019-02-25 20:14:06
MinimapPanel.xml CUI\UI\Expansion2 13.3 KB 2019-02-25 20:14:09
MinimapPanel.xml MoreLenses\Base\Assets\UI 11.4 KB 2019-02-17 06:45:43
MinimapPanel.xml MoreLenses\DLC\Expansion1\UI\Replacements 11.8 KB 2019-02-17 06:45:29
MinimapPanel.xml MoreLenses\DLC\Expansion2\UI\Replacements 11.8 KB 2019-02-17 06:52:48
------------------------------------------------------------------------------------------------------------------------------------------------------
TopPanel.xml CUI\UI\Base 8.25 KB 2019-02-25 20:14:03
TopPanel.xml CUI\UI\Expansion2 8.43 KB 2019-02-25 20:14:09
------------------------------------------------------------------------------------------------------------------------------------------------------
WorldTracker.xml CUI\UI\Base 10.2 KB 2019-02-25 20:14:05
WorldTracker.xml CUI\UI\Expansion2 10.2 KB 2019-02-25 20:14:10
------------------------------------------------------------------------------------------------------------------------------------------------------
EspionageChooser_Expansion1.lua CUI\UI\Expansion1 1.07 KB 2019-02-25 20:14:06
EspionageChooser_Expansion1.lua CUI\UI\Expansion2 1.31 KB 2019-02-25 20:14:08
------------------------------------------------------------------------------------------------------------------------------------------------------
WorldTracker_Expansion1.lua CUI\UI\Expansion1 2.36 KB 2019-02-25 20:14:07
WorldTracker_Expansion1.lua CUI\UI\Expansion2 2.36 KB 2019-02-25 20:14:10
------------------------------------------------------------------------------------------------------------------------------------------------------
GreatPeoplePopup.lua Real Great People\UI 58.5 KB 2019-02-25 12:07:29
GreatPeoplePopup.lua Sukritact's Simple UI Adjustments\UI\Common 48.8 KB 2019-02-14 07:28:22
------------------------------------------------------------------------------------------------------------------------------------------------------
GreatPeoplePopup.xml Real Great People\UI 16.8 KB 2019-02-18 15:02:02
GreatPeoplePopup.xml Sukritact's Simple UI Adjustments\UI\Common 13.6 KB 2019-02-14 07:28:22
 
Last edited:
Removing a conflict files seems working.
E.g. trade-related files from CUI folder, will provide Better Trade Screen functionality and same times keeps rest of CUI functionality (otherwise, Better Trade Screen did not work).
 
Sorry, I haven't seen your post from Wed.
Yes, LoadOrder is what matters.
Also, have made a small fix for Better Report Screen just for it to load after CUI, so a) you don't need to change anything b) you can see how I did that - LoadOrder in BRS is 100-102 and LoadOrder in CUI is 10-20.
Better Civilopedia is ok. All my UI mods work with CUI because I use CUI too :)
 
I see, thanks for the know-how about duplicated files and LoadOrder!
Will re-download BRS once you have updated https://forums.civfanatics.com/resources/better-report-screen-ui.26722/updates

I don't fully get the LoadOrder logic. My current versions shows:

Search "LoadOrder" (20 hits in 2 files)
C:\Users\user\OneDrive\Dokumendid\My Games\Sid Meier's Civilization VI\Mods\cui\CUI.modinfo (8 hits)
Line 56: <LoadOrder>20</LoadOrder>
Line 56: <LoadOrder>20</LoadOrder>
Line 69: <LoadOrder>10</LoadOrder>
Line 69: <LoadOrder>10</LoadOrder>
Line 121: <LoadOrder>11</LoadOrder>
Line 121: <LoadOrder>11</LoadOrder>
Line 135: <LoadOrder>12</LoadOrder>
Line 135: <LoadOrder>12</LoadOrder>
C:\Users\user\OneDrive\Dokumendid\My Games\Sid Meier's Civilization VI\Mods\BetterReportScreen\BetterReportScreen.modinfo (12 hits)
Line 41: <LoadOrder>100</LoadOrder>
Line 41: <LoadOrder>100</LoadOrder>
Line 66: <LoadOrder>100</LoadOrder>
Line 66: <LoadOrder>100</LoadOrder>
Line 74: <LoadOrder>101</LoadOrder>
Line 74: <LoadOrder>101</LoadOrder>
Line 82: <LoadOrder>101</LoadOrder>
Line 82: <LoadOrder>101</LoadOrder>
Line 90: <LoadOrder>102</LoadOrder>
Line 90: <LoadOrder>102</LoadOrder>
Line 98: <LoadOrder>102</LoadOrder>
Line 98: <LoadOrder>102</LoadOrder>

What did you change? I see that previous version already had LoadOrder in BRS is 100-102. Confused :S


Also, if there is not LoadOrder xml tag in .modinfo (e.g. Better Trade Screen.modinfo), will be those files ignored always, when there are duplicated files?
 
Last edited:
When no LoadOrder is given, the action is assigned a default LoadOrder value of '0'. When multiple mods have the same load order number for various actions, then the rules of mod enabling order begin to apply.

Higher LoadOrder values are executed later. Negative values are also allowed and will execute before any positive values (0 is considered a positive value for these purposes).

The rules of mod action-type also always apply. For example, all UpdateDatabase actions within the InGameActions are performed before any InGameActions lua AddGameplayScript or AddUIContext (or whatever it is called) is executed. So just because an action has a LoadOrder value of 1000000000 this does not mean it will load after another action that has a LoadOrder value of 1 if the two Actions are of different type. You cannot therefore as an example use a crazy-high LoadOrder value to force an SQL file to load after UI files or GameplayScripts load.

Long and short of the answer as to which file will be used: Based on LoadOrder rules and the other loading rules that are used as the game loads all enabled mods the game will use the lua User Interface file loaded last from all mods that may be attempting to load an equivalently-named file.
 
Last edited:
Back
Top Bottom