Serp
King
- Joined
- Apr 1, 2015
- Messages
- 666
Hi 
I created the modpack shown in my signature with the MPMPM-Tool (http://forums.civfanatics.com/showthread.php?t=533238).
This tool reads out the databse of the game while it is running, and copy paste most <Gamedata></Gamedata> things to one single xml file, to create a DLC like modpack.
If you don't know how it looks like, download my modpack (or any other you find in the MPMPM thread) and take a look at the modpack/override/Civ5Units.xml file.
The downside of such a modpack is, that civilization takes quite long to start (from doubleclick icon to first menu).
I was told that this is because the game loads the database meanwhile. It adds all the database entries from the original game and after that it adds the DLCs. The modpack is deleting nearly everything in the database and adds everything again, like it was with mods active.
So in short: With a modpack there is alot of unneeded work done. which results in a *10 of the normal loading time.
To reduce the loading time, my thought was, that I could empty all original xml files, that include <Gamedata>anything</Gamedata>, so just <Gamedata></Gamedata> is left.
I already did this succesfully with notepad++ and made sure only these <Gamedata> things are deleted, that are in the modpack (so nothing is missing, like Map_Folder entries).
But unfortunately the game crashes now before I reach the menu.
The database.log shows:
I don't know which file this execution "INSERT INTO ArtDefine_StrategicView(S..." does, I searched all sql files, this line is in none of them.
Does anybody know how database creation works?
Where to place my modpack xml file, to prevent crashing? Everything the game needs should be there now.

I created the modpack shown in my signature with the MPMPM-Tool (http://forums.civfanatics.com/showthread.php?t=533238).
This tool reads out the databse of the game while it is running, and copy paste most <Gamedata></Gamedata> things to one single xml file, to create a DLC like modpack.
If you don't know how it looks like, download my modpack (or any other you find in the MPMPM thread) and take a look at the modpack/override/Civ5Units.xml file.
The downside of such a modpack is, that civilization takes quite long to start (from doubleclick icon to first menu).
I was told that this is because the game loads the database meanwhile. It adds all the database entries from the original game and after that it adds the DLCs. The modpack is deleting nearly everything in the database and adds everything again, like it was with mods active.
So in short: With a modpack there is alot of unneeded work done. which results in a *10 of the normal loading time.
To reduce the loading time, my thought was, that I could empty all original xml files, that include <Gamedata>anything</Gamedata>, so just <Gamedata></Gamedata> is left.
I already did this succesfully with notepad++ and made sure only these <Gamedata> things are deleted, that are in the modpack (so nothing is missing, like Map_Folder entries).
But unfortunately the game crashes now before I reach the menu.
The database.log shows:
Code:
[74886.562] columns StrategicViewType, TileType are not unique
[74886.562] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
Does anybody know how database creation works?
Where to place my modpack xml file, to prevent crashing? Everything the game needs should be there now.