Unofficial schema for Civ 6 .modinfo files. Created by PlotinusRedux. Version 0.2 1/5/2016
Signed integer determining the load order of files within the component. Higher numbers load earlier.
Signed integer determining component load order globally across mods. Lower numbers load earlier.
Signed integer determining component load order globally across mods. Lower numbers load earlier.
UI Context, like "InGame"
Signed integer determining component load order globally across mods. Lower numbers load earlier.
Items loaded when game first starts
Updates to the main game database (DebugGameplay.sqlite). FileTypes: xml, sql
Adds audio files. FileTypes: ini, bnk, txt, xml
Logitech ARX for displaying game info on a mobile device. FileTypes: html, etc.?
.dep file that tells which new .artdef files to load. The .artdef files must have the same name as base artdefs, and aren't included in the .modinfo file at all, just the mod's directory. FileTypes: dep
New UI files. For each XXX.xml, an XXX.lua is implied FileTypes: xml
In-game localized text. FileTypes: xml
Scripts that run in the main Lua context at the start of the game and on reloads. FileTypes: lua
Overrides of files under the main Assets folder. FileTypes: xml, lua, *?
XML files to add icons to the game. FileTypes: xml
Objects loaded on game set up
Updates to Configuration database (DebugConfiguration.sqlite). Some people are putting Component elements under Items here--they don't get read into the database. FileTypes: xml, sql
Custom map. FileTypes: Civ6Map
Localized text for game setup screens. FileTypes: xml
Not sure, but presumably updates to the world builder tables. FileTypes: xml, sql?
XML files to add icons to the game that are needed for the game setup screens. FileTypes: xml
.dep file that tells which new .artdef files to load that are needed for the game setup screens. The .artdef files must have the same name as base artdefs, and aren't included in the .modinfo file at all, just the mod's directory. FileTypes: dep
Optional translations for text in .modinfo itself (mod/Properties and mod/Settings/Map/Properties)