1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Duplicate storage between SQL/XML?

Discussion in 'Mod Creation Help' started by Zeronix, Jan 29, 2018.

  1. Zeronix

    Zeronix Chieftain

    Jan 21, 2018
    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?
  2. Gedemon

    Gedemon Modder Moderator

    Oct 4, 2004
    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.

Share This Page