Duplicate storage between SQL/XML?

Zeronix

Chieftain
Joined
Jan 21, 2018
Messages
12
So I'm new to modding and I realized that the game stores data in two ways: an SQL called DebugGameplay.sql and in XML files in the Assets/Gameplay folder. E.g. global parameters are stored both in an SQL table called GlobalParameters and in a GlobalParameters.xml file.

How do these two interact? Which one does the game use, and which one should I modify if I want to make a mod?
 
The base game info from the xml files are loaded in memory and copied in the sqlite debug DB.

In mods we can use xml or sql syntax to update this data.
 
Back
Top Bottom