Did anyone ever figure out how to fix the glitchy music? Or did we all just decide to give up?
Work and home life have been hectic of late and I haven't made the time to work much on this mod.
I did have a little time to look at what JFD is now doing in his latest version, and I just don't see any way the soundtrack stuff would conflict. This ultimately might be a memory allocation issue with the CiV engine or something, but there's really nothing we could do about that without using less diversity in either or both of these mods.
I can think of a couple things someone could try, but I'm not very hopeful. I'll see if I can get around to it at some point, but anyone should be able to try them out:
First, ensure you see this issue with no other mods besides E.D. and CulDiv loaded.
We both make edits to some of the same tables (the art defines and the Civilizations table). He has entries for general art defines and missionary diversity in his tables, but they aren't being used. The only art defines he's playing with are his embarked diversity, but my embarked diversity is disabled. The only thing that we both change is a few of the building artstyles, but even so... because I have a reference to his mod, he makes his changes when CulDiv loads, then when E.D. loads, it makes my changes. None of this should affect the SoundtrackTag. You could try disabling the architecture and embarkation changes in the JFD_CulDiv_UserSettings.sql file, i.e.:
Code:
INSERT INTO JFD_GlobalUserSettings
(Type, Value)
VALUES ('JFD_CULDIV_ARCHITECTURE_CHANGES', 0), --Cities retain their artstyle upon capture.
('JFD_CULDIV_ARCHITECTURE_CHANGES_BRAZIL', 0), --Brazil City Artstyle changes from South American to Graeco-Roman.
('JFD_CULDIV_ARCHITECTURE_CHANGES_HUNS', 0), --Huns City Artstyle changes from Asian to European.
('JFD_CULDIV_ARCHITECTURE_CHANGES_INDIA', 0), --India City Artstyle changes from Asian to Mid-East.
('JFD_CULDIV_ARCHITECTURE_CHANGES_OTTOMANS', 0), --Ottoman City Artstyle changes from Mid-East to Graeco-Roman.
('JFD_CULDIV_ARCHITECTURE_CHANGES_PORTUGAL_SPAIN', 0), --Portugal/Spain City Artstyle changes from European to Graeco-Roman.
('JFD_CULDIV_ARCHITECTURE_CHANGES_ZULU', 0), --Zulu City Artstyle changes from Mid-East to South American.
('JFD_CULDIV_EMBARKATION_CHANGES', 0), --Some Cultures have unique Embarkation graphics.
('JFD_CULDIV_SOUNDTRACK_ADDON', 1); --Disable this if you're not using the Soundtrack Addon - this will ensure vanilla tracks are preserved.
This one is clutching at straws, but Ethnic Diversity and the CulDiv Soundtrack modmod both have a reference to the CulDiv Core mod, so it should load before either of them. Even if E.D. is activated between CulDiv Core and the Soundtrack modmod, I can't see how that would cause a conflict, but CiV's Reference behavior can be a little wonky sometimes (though AFAIK that should only really affect the VFS files, which isn't pertinent here). Anyway, you could try adding a reference to the Soundtrack mod to the References section of the Ethnic Diversity .modinfo file to ensure that E.D. doesn't get between the two, i.e.:
Code:
<Mod id="cae0781c-556f-4c97-8fba-4d6eb612533f" minversion="0" maxversion="999" title="Cultural Diversity Soundtrack" />
If all else fails, to try to get to the bottom of this I'd compare the database with a program like SQLiteStudio:
1. Put CiV into windowed mode instead of fullscreen. I use DX9 for windowed and DX11 for fullscreen, since they use different config files it keeps the video settings separate.
2. Enable just CulDiv and start a new game, then switch to SQLiteStudio. With the game in the background, load %userprofile%\Documents\My Games\Sid Meier's Civilization 5\cache\Civ5DebugDatabase.db. Export the Civilizations table and the Audio_Sounds and Audio_2DSounds tables.
3. Repeat #2, but start a new game after loading both mods at the same time.
4. Open the exported tables in a diff program and compare them. There will be differences in the 3 ArtStyle columns of the Civilizations table which shouldn't be the cause of this issue, but the SoundtrackTag column should be the same in both, and the Audio tables should be identical.
5. If they are as described, then I'm stumped for a solution.