Unable to Select Civ on Setup Screen/Config Text Key Issues

clapyourhands

Prince
Joined
Jul 16, 2017
Messages
422
I was working on the base tutorial template provided when you download ModBuddy. This initially worked in that the civ showed up on the menu, but selecting it would give the start game bug. I then moved over my data into sql files rather than xml; this removed the civ from the menu. However, my civ can still be selected by the random civ choice and is playable if selected by this (I can guarantee this by creating a custom game and creating 19 vanilla civ AIs with no duplicate leaders, so that I always play as my own custom civ). The configurational text keys are not loaded if my civ loads like this, however, though the ones updated in-game are.

The logs don't show anything out of the ordinary. I have been using them to work out bugs, specifically the Modding, LUA, and Database logs, but there are no errors I can see in them as of now; I personally think it's because there's an issue in the text configuration file itself, which wouldn't be seen as an error. But I can't find anything wrong with the file itself. Furthermore, when I copied the text file of a known working civ mod into my own and superficially changed the tags to match my own text keys, the text still did not load, suggesting that the issue lies in how the file is loaded rather than a syntax error. Can someone help me figure out what's wrong? Attached are the log files and a copy of my mod, though it still largely looks like the tutorial files at this point.

Spoiler LUA log (second half only) :

JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
AdvancedSetup: Refreshing Game parameters
AdvancedSetup: Refreshing Parameters - Game
AdvancedSetup: Parameter - GameCalendar : CALENDAR_STANDARD
AdvancedSetup: Parameter - TurnLimit : TURNLIMIT_GAMESPEED
AdvancedSetup: Parameter - NoDupeLeaders : true
AdvancedSetup: Parameter - AlliesShareVisibility : true
AdvancedSetup: Parameter - NoBarbarians : false
AdvancedSetup: Parameter - NoTeams : false
AdvancedSetup: Parameter - NoGoodyHuts : false
AdvancedSetup: Parameter - GameRandomSeed : -1514859856
AdvancedSetup: Parameter - MapRandomSeed : -1514859855
AdvancedSetup: Parameter - Ruleset : RULESET_STANDARD
AdvancedSetup: Parameter - GameDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Parameter - GameStartEra : ERA_ANCIENT
AdvancedSetup: Parameter - GameSpeeds : GAMESPEED_STANDARD
AdvancedSetup: Parameter - CityStateCount : 0
AdvancedSetup: Parameter - Map : Continents.lua
AdvancedSetup: Parameter - MapSize : MAPSIZE_HUGE
AdvancedSetup: Parameter - Resources : 2
AdvancedSetup: Parameter - WorldAge : 2
AdvancedSetup: Parameter - StartPosition : 2
AdvancedSetup: Parameter - Temperature : 2
AdvancedSetup: Parameter - Rainfall : 3
AdvancedSetup: Parameter - SeaLevel : 2
AdvancedSetup: Parameter - VICTORY_CULTURE : true
AdvancedSetup: Parameter - VICTORY_CONQUEST : true
AdvancedSetup: Parameter - VICTORY_RELIGIOUS : true
AdvancedSetup: Parameter - VICTORY_TECHNOLOGY : true
AdvancedSetup: Parameter - VICTORY_SCORE : true
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Player parameters
AdvancedSetup: Refresh Player Parameters
AdvancedSetup: Refreshing Parameters - 0
AdvancedSetup: Parameter - PlayerLeader : RANDOM
AdvancedSetup: Parameter - PlayerTeam : 0
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 1
AdvancedSetup: Parameter - PlayerLeader : LEADER_CATHERINE_DE_MEDICI
AdvancedSetup: Parameter - PlayerTeam : 1
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 2
AdvancedSetup: Parameter - PlayerLeader : LEADER_CLEOPATRA
AdvancedSetup: Parameter - PlayerTeam : 2
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 3
AdvancedSetup: Parameter - PlayerLeader : LEADER_BARBAROSSA
AdvancedSetup: Parameter - PlayerTeam : 3
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 4
AdvancedSetup: Parameter - PlayerLeader : LEADER_GANDHI
AdvancedSetup: Parameter - PlayerTeam : 4
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 5
AdvancedSetup: Parameter - PlayerLeader : LEADER_GILGAMESH
AdvancedSetup: Parameter - PlayerTeam : 5
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 6
AdvancedSetup: Parameter - PlayerLeader : LEADER_GORGO
AdvancedSetup: Parameter - PlayerTeam : 6
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 7
AdvancedSetup: Parameter - PlayerLeader : LEADER_HARDRADA
AdvancedSetup: Parameter - PlayerTeam : 7
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 8
AdvancedSetup: Parameter - PlayerLeader : LEADER_HOJO
AdvancedSetup: Parameter - PlayerTeam : 8
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 9
AdvancedSetup: Parameter - PlayerLeader : LEADER_MVEMBA
AdvancedSetup: Parameter - PlayerTeam : 9
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 10
AdvancedSetup: Parameter - PlayerLeader : LEADER_PEDRO
AdvancedSetup: Parameter - PlayerTeam : 10
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 11
AdvancedSetup: Parameter - PlayerLeader : LEADER_PERICLES
AdvancedSetup: Parameter - PlayerTeam : 11
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 12
AdvancedSetup: Parameter - PlayerLeader : LEADER_PETER_GREAT
AdvancedSetup: Parameter - PlayerTeam : 12
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 13
AdvancedSetup: Parameter - PlayerLeader : LEADER_PHILIP_II
AdvancedSetup: Parameter - PlayerTeam : 13
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 14
AdvancedSetup: Parameter - PlayerLeader : LEADER_QIN
AdvancedSetup: Parameter - PlayerTeam : 14
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 15
AdvancedSetup: Parameter - PlayerLeader : LEADER_SALADIN
AdvancedSetup: Parameter - PlayerTeam : 15
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 16
AdvancedSetup: Parameter - PlayerLeader : LEADER_T_ROOSEVELT
AdvancedSetup: Parameter - PlayerTeam : 16
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 17
AdvancedSetup: Parameter - PlayerLeader : LEADER_TOMYRIS
AdvancedSetup: Parameter - PlayerTeam : 17
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 18
AdvancedSetup: Parameter - PlayerLeader : LEADER_TRAJAN
AdvancedSetup: Parameter - PlayerTeam : 18
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: Refreshing Parameters - 19
AdvancedSetup: Parameter - PlayerLeader : LEADER_VICTORIA
AdvancedSetup: Parameter - PlayerTeam : 19
AdvancedSetup: Parameter - PlayerDifficulty : DIFFICULTY_PRINCE
AdvancedSetup: Nothing to change.
AdvancedSetup: Checking static configuration updates
AdvancedSetup: End Refresh Player Parameters
AdvancedSetup: Finished Refreshing
AdvancedSetup: Hiding Game Setup
AdvancedSetup: Releasing Player Parameters
LoadScreen: true
LoadScreen: false
GenerateRandomMap: Map Seed = -1514859855
Map Script: Generating Continents Map
Map Script: Generating Plot Types
Map Script: Existing Ratio 19.621212121212
Map Script: New Mountains 20
Map Script: Mountaint Set 20
Map Script: Generating Terrain Types
Map Script: -
Map Script: - Desert Percentage: 25
Map Script: --- Latitude Readout ---
Map Script: - All Grass End Latitude: 0.1
Map Script: - Desert Start Latitude: 0.2
Map Script: - Desert End Latitude: 0.5
Map Script: - Tundra Start Latitude: 0.65
Map Script: - Snow Start Latitude: 0.8
Map Script: - - - - - - - - - - - - - -
Map Script: Expanding coasts
Map Script: After Adding Hills: 1352
Map Script: Map Generation - Adding Rivers
Map Script: Map Generation - Adding Lakes
Map Script: 19 lakes added
Map Script: Adding Features
Map Script: Number of Forests: 522
Map Script: Number of Jungles: 229
Map Script: Number of Marshes: 115
Map Script: Number of Oasis: 9
Map Script: Adding cliffs
Map Script: In NaturalWonderGenerator.Create()
Map Script: Placing 7 Natural Wonders
Map Script: Feature Type: 6, Valid Hexes: 0
Map Script: Feature Type: 7, Valid Hexes: 3
Map Script: Feature Type: 8, Valid Hexes: 125
Map Script: Feature Type: 9, Valid Hexes: 16
Map Script: Feature Type: 10, Valid Hexes: 9
Map Script: Feature Type: 11, Valid Hexes: 0
Map Script: Feature Type: 12, Valid Hexes: 7
Map Script: Feature Type: 13, Valid Hexes: 41
Map Script: Feature Type: 14, Valid Hexes: 10
Map Script: Feature Type: 15, Valid Hexes: 75
Map Script: Feature Type: 16, Valid Hexes: 230
Map Script: Feature Type: 17, Valid Hexes: 25
Map Script: Num wonders with valid location: 10
Map Script: Selected Wonder = 11, Random Score = 90
Map Script: Set Wonder with Feature ID of 17 at location (27, 49)
Map Script: Selected Wonder = 8, Random Score = 84
Map Script: Set Wonder with Feature ID of 14 at location (97, 24)
Map Script: Selected Wonder = 1, Random Score = 62
Map Script: Set Wonder with Feature ID of 7 at location (52, 18)
Map Script: Selected Wonder = 3, Random Score = 61
Map Script: Set Wonder with Feature ID of 9 at location (58, 50)
Map Script: Selected Wonder = 10, Random Score = 54
Map Script: Set Wonder with Feature ID of 16 at location (18, 16)
Map Script: Selected Wonder = 6, Random Score = 53
Map Script: Set Wonder with Feature ID of 12 at location (40, 34)
Map Script: Selected Wonder = 2, Random Score = 20
Map Script: Set Wonder with Feature ID of 8 at location (90, 54)
Map Script: In ResourceGenerator.Create()
Map Script: Placing resources
Map Script: Creating start plot database.
Map Script: -------------------------------
Map Script: Map Generation - Adding Goodies
Map Script: -------------------------------
TutorialUIRoot: Loading bank of items for tutorial scenario: 'BASE'
LoadScreen: OnLoadGameViewStateDone


Spoiler Modding Log :

[698689.635] Status: Initializing Modding Framework.
[698689.635] Status: C:/Users/aaron/Documents/My Games/Sid Meier's Civilization VI/Mods.sqlite
[698689.635] Status: Connected to modding database!
[698689.636] Status: Ensuring Foreign Key support is enabled and set to initially deferred.
[698689.636] Status: Checking database version...
[698689.636] Status: Modding database is up-to-date!
[698689.636] Status: Loading Stored Procedures...
[698689.639] Status: Checking required procedures exist...
[698689.639] Status: Initializing database queries...
[698689.639] Status: Initializing Services...
[698689.639] Status: Component Discovery Service initialized.
[698689.640] Status: File Service initialized.
[698689.640] Status: Localization Service initialized.
[698689.799] Status: Mod Association Service initialized
[698689.799] Status: Mod Discovery Service initialized.
[698689.800] Status: Mod Loader Service initialized.
[698689.800] Status: Mod Selection Service missing. Skipping.
[698689.800] Status: Ownership Service initialized.
[698689.800] Status: Properties Service initialized.
[698689.801] Status: Subscription Service - Detected 34 subscriptions
[698689.801] Status: Subscription Service - Subscription 1168842816 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.801] Status: Subscription Service - Subscription 901823980 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.802] Status: Subscription Service - Subscription 1127339491 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.802] Status: Subscription Service - Subscription 940039922 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.802] Status: Subscription Service - Subscription 939986443 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.802] Status: Subscription Service - Subscription 931093180 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.803] Status: Subscription Service - Subscription 928311902 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.803] Status: Subscription Service - Subscription 917555008 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.803] Status: Subscription Service - Subscription 896727424 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.803] Status: Subscription Service - Subscription 884825964 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.804] Status: Subscription Service - Subscription 874300557 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.804] Status: Subscription Service - Subscription 1109800600 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.804] Status: Subscription Service - Subscription 1104519306 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.804] Status: Subscription Service - Subscription 1100806294 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.804] Status: Subscription Service - Subscription 1099904605 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.805] Status: Subscription Service - Subscription 1095535696 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.805] Status: Subscription Service - Subscription 1095210033 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.805] Status: Subscription Service - Subscription 1092747757 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.805] Status: Subscription Service - Subscription 970304017 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.806] Status: Subscription Service - Subscription 942791762 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.806] Status: Subscription Service - Subscription 941168991 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.806] Status: Subscription Service - Subscription 931934961 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.806] Status: Subscription Service - Subscription 916317138 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.807] Status: Subscription Service - Subscription 903509740 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.807] Status: Subscription Service - Subscription 902820985 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.807] Status: Subscription Service - Subscription 899945248 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.807] Status: Subscription Service - Subscription 899320635 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.808] Status: Subscription Service - Subscription 899279001 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.808] Status: Subscription Service - Subscription 898098597 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.808] Status: Subscription Service - Subscription 897889482 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.808] Status: Subscription Service - Subscription 893754701 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.808] Status: Subscription Service - Subscription 891467445 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.809] Status: Subscription Service - Subscription 890669320 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.809] Status: Subscription Service - Subscription 877092444 - Installed? 1, Downloading? 0, DownloadPending? 0
[698689.809] Status: Subscription Service initialized.
[698689.809] Status: User Data Service missing. Skipping.
[698689.809] Status: Services initialized!
[698689.809] Status: Modding Framework is initialized.
[698689.809] Status: Initializing Modding Framework took - 174ms.
[698689.815] Status: Verifying enabled mods can coexist.
[698689.815] Status: Discovering new mods...
[698690.138] Status: Mod timestamps do not match. Will reload the mod.
[698691.055] Status: Loading Mod - C:/Users/aaron/Documents/My Games/Sid Meier's Civilization VI/Mods/Tongva/Tongva.modinfo
[698691.056] Status: Empty properties are not supported. Skipping.
[698691.061] Status: Loaded a mod!
[698692.134] Status: Finished Discovery.
[698692.134] Status: Discovery Summary:
[698692.134] Status: Deleted 1 mods.
[698692.134] Status: Discovered 1 mods.
[698692.134] Status: New/Reloaded Mods:
[698692.849] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698692.882] Status: Discovering Mods took - 3067ms.
[698692.890] Status: Verifying enabled mods can coexist.
[698692.916] Status: Verifying enabled mods can coexist.
[698692.926] Status: Verifying enabled mods can coexist.
[698692.956] Status: Bootstrapping game content
[698692.956] Status: Loading Vanilla DLL.
[698693.022] Status: Building gameplay database.
[698694.365] Status: Updating gameplay database with embedded GameCore data.
[698694.365] Status: Updated gameplay database with GameCore data.
[698694.397] Status: Initializing Vanilla DLL.
[698694.561] Status: Instantiate GameCore UI Manager.
[698694.561] Status: Saving a debug version of the gameplay database.
[698695.047] Status: Successfully bootstrapped game content.
[698695.050] Status: Mods - Loading ArtDefs/FallbackLeaders.artdef
[698695.051] Status: Mods - Loading Config.sql
[698695.051] Status: Mods - Loading ConfigText.sql
[698695.052] Status: Mods - Loading Example - New Civilization and Leader.dep
[698695.052] Status: Mods - Loading GameDefines.sql
[698695.053] Status: Mods - Loading Localisation.sql
[698695.053] Status: Mods - Loading NewLeader_ConfigText.xml
[698695.053] Status: Mods - Loading NewLeader_Icons.xml
[698695.054] Status: Mods - Loading NewLeader_Ki.xml
[698695.055] Status: Mods - Loading NewLeader_Text.xml
[698695.056] Status: Mods - Loading NewLeader_Tongva.xml
[698695.056] Status: Mods - Loading NewLeader_Toypurina.xml
[698695.058] Status: Mods - Loading Platforms/MacOS/BLPs/LeaderFallbacks.blp
[698695.060] Status: Mods - Loading Platforms/MacOS/BLPs/UILeaders.blp
[698695.061] Status: Mods - Loading Platforms/Windows/BLPs/LeaderFallbacks.blp
[698695.063] Status: Mods - Loading Platforms/Windows/BLPs/UILeaders.blp
[698695.064] Status: Mods - Loading Tongva_Data.sql
[698695.654] Status: SteamCallback - SteamUGCQueryCompleted_t - 1
[698695.656] Status: Configuring game content
[698695.656] Status: Current Configuration:
[698695.656] Status: No active mods.
[698695.657] Status: Target Configuration:
[698695.657] Status: Mods:
[698695.657] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698695.658] Status: Game configuration needs to change to match target config.
[698695.658] Status: Performing pre-configure processing.
[698695.658] Status: Rebuilding configuration database.
[698695.658] Status: Localization database unchanged, no rollback needed.
[698695.658] Status: Configuration database unchanged, no rollback needed.
[698695.658] Status: Applying settings.
[698695.658] Status: Modding Framework - Apply Settings
[698695.658] Status: Creating database save point.
[698695.659] Status: ModdingUpdateConfigurationDatabase - Loading Config.sql
[698695.683] Status: Successfully released save point.
[698695.684] Status: UpdateIcons - Loading NewLeader_Icons.xml
[698695.685] Status: UISettingHandler - Loading Example - New Civilization and Leader.dep
[698695.686] Status: Creating database save point.
[698695.686] Status: LocalizedText - Loading Localisation.sql
[698695.711] Status: Successfully released save point.
[698695.711] Status: Modding Framework - Finished Apply Settings
[698696.561] Status: Successfully reconfigured game.
[698720.212] Status: Configuring game content
[698720.212] Status: Current Configuration:
[698720.212] Status: Mods:
[698720.213] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698720.213] Status: Target Configuration:
[698720.213] Status: Mods:
[698720.214] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698720.215] Status: Game configuration matches target configuration.
[698720.215] Status: Successfully reconfigured game.
[698724.384] Status: Configuring game content
[698724.384] Status: Current Configuration:
[698724.384] Status: Mods:
[698724.385] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698724.385] Status: Target Configuration:
[698724.385] Status: Mods:
[698724.385] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698724.386] Status: Game configuration matches target configuration.
[698724.387] Status: Successfully reconfigured game.
[698730.191] Status: Configuring game content
[698730.191] Status: Current Configuration:
[698730.191] Status: Mods:
[698730.192] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698730.192] Status: Target Configuration:
[698730.192] Status: Mods:
[698730.193] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698730.195] Status: Game configuration matches target configuration.
[698730.195] Status: Successfully reconfigured game.
[698737.922] Status: Configuring game content
[698737.922] Status: Current Configuration:
[698737.922] Status: Mods:
[698737.923] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698737.923] Status: Target Configuration:
[698737.923] Status: Mods:
[698737.923] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698737.926] Status: Game configuration matches target configuration.
[698737.926] Status: Successfully reconfigured game.
[698738.537] Status: Configuring game content
[698738.537] Status: Current Configuration:
[698738.537] Status: Mods:
[698738.538] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698738.539] Status: Target Configuration:
[698738.539] Status: Mods:
[698738.540] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698738.542] Status: Game configuration matches target configuration.
[698738.542] Status: Successfully reconfigured game.
[698738.542] Status: Updating game content
[698738.542] Status: Configuring game content
[698738.542] Status: Current Configuration:
[698738.542] Status: Mods:
[698738.543] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698738.543] Status: Target Configuration:
[698738.543] Status: Mods:
[698738.544] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698738.546] Status: Game configuration matches target configuration.
[698738.546] Status: Successfully reconfigured game.
[698738.546] Status: Current Configuration:
[698738.546] Status: No active mods.
[698738.553] Status: Target Configuration:
[698738.554] Status: Mods:
[698738.554] Status: d34fc301-b0b2-4ef4-88de-68e4810b5938
[698738.555] Status: * Gameplay
[698738.555] Status: * Text
[698738.556] Status: * Icons
[698738.556] Status: * Art
[698738.560] Status: Game content needs to change to match target config.
[698738.560] Status: Performing pre configure processing.
[698738.580] Status: Unloading Gameplay DLL.
[698738.593] Status: Reloading Gameplay DLL.
[698738.657] Status: Reverted Localization database to its original state.
[698738.657] Status: Rebuilding gameplay database.
[698738.657] Status: Gameplay database unchanged, no rollback needed.
[698738.657] Status: Updating gameplay database with embedded GameCore data.
[698738.657] Status: Updated gameplay database with GameCore data.
[698738.657] Status: Applying mod components.
[698738.657] Status: Modding Framework - Applying Components
[698739.226] Status: Applying Component - Gameplay
[698739.227] Status: Creating database save point.
[698739.228] Status: UpdateDatabase - Loading NewLeader_Ki.xml
[698739.231] Status: UpdateDatabase - Loading NewLeader_Tongva.xml
[698739.233] Status: UpdateDatabase - Loading Tongva_Data.sql
[698739.238] Status: Successfully released save point.
[698739.238] Status: Applied component to game.
[698739.238] Status: Applying Component - Text
[698739.239] Status: Creating database save point.
[698739.239] Status: LocalizedText - Loading NewLeader_Text.xml
[698739.241] Status: Successfully released save point.
[698739.241] Status: Applied component to game.
[698739.242] Status: Applying Component - Icons
[698739.242] Status: UpdateIcons - Loading NewLeader_Icons.xml
[698739.244] Status: Applied component to game.
[698739.244] Status: Applying Component - Art
[698739.246] Status: ModArtLoader - Loading Example - New Civilization and Leader.dep
[698739.246] Status: Applied component to game.
[698739.298] Status: Modding Framework - Finished Apply Components
[698739.298] Status: Applied all components of enabled mods.
[698739.399] Status: Localization database has been updated. Caching data.
[698739.721] Status: Initializing Gameplay DLL.
[698739.810] Status: Reloading Tuner states.
[698739.812] Status: Saving a debug version of the gameplay database.
[698740.448] Status: Performing post configure processing.
[698740.810] Status: Successfully reconfigured game.
[698959.478] Status: Modding Framework - Shutting down framework.
[698959.478] Status: Releasing Modding Framework Services...
[698959.478] Status: Services released!
[698959.478] Status: Releasing Modding Framework database queries...
[698959.478] Status: Queries released!


Spoiler Database log :

[698671.297] [Localization]: Validating Foreign Key Constraints...
[698671.299] [Localization]: Passed Validation.
[698671.507] [Configuration]: Validating Foreign Key Constraints...
[698671.509] [Configuration]: Passed Validation.
[698688.554] [FullTextSearch]: Initializing FullTextSearch
[698694.365] [Gameplay]: Validating Foreign Key Constraints...
[698694.397] [Gameplay]: Passed Validation.
[698695.711] [Configuration]: Validating Foreign Key Constraints...
[698695.711] [Configuration]: Passed Validation.
[698719.958] [FullTextSearch]: FTS - Creating Context
[698739.298] [Gameplay]: Validating Foreign Key Constraints...
[698739.327] [Gameplay]: Passed Validation.
[698760.669] [FullTextSearch]: FTS - Creating Context
[698761.405] [FullTextSearch]: FTS - Creating Context
[698763.562] [FullTextSearch]: FTS - Creating Context
[698959.497] [FullTextSearch]: FullTextSearch - Shutting down

 

Attachments

File Config.sql is incorrectly written. The syntax appears to be ok, but the method you are using is no good.

This will have the effect of telling the game to add 'CIVILIZATION_TONGVA' when 'CIVILIZATION_TONGVA' is already added to the Players and PlayerItems items tables. But 'CIVILIZATION_TONGVA' does not yet exist in those tables so the game cannot successfully SELECT .. FROM.
Code:
INSERT INTO Players	
	(CivilizationType,	LeaderType,		LeaderName,			LeaderIcon,			LeaderAbilityName,			LeaderAbilityDescription,			LeaderAbilityIcon,		CivilizationName,		CivilizationIcon,		CivilizationAbilityName,		CivilizationAbilityDescription,			CivilizationAbilityIcon,	Portrait)
SELECT	'CIVILIZATION_TONGVA',	'LEADER_TOYPURINA',	'LOC_LEADER_TOYPURINA_NAME',	'ICON_LEADER_JASPER_KITTY',	'LOC_TRAIT_CIVILIZATION_TONGVA_NAME',	'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',	'ICON_LEADER_JASPER_KITTY',	'LOC_CIVILIZATION_TONGVA_NAME',	'ICON_CIVILIZATION_FELINE',	'LOC_TRAIT_LEADER_TOYPURINA_NAME',	'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',	'ICON_CIVILIZATION_FELINE',	'LEADER_JASPER_KITTY_NEUTRAL'
FROM Players WHERE CivilizationType = 'CIVILIZATION_TONGVA' AND LeaderType = 'LEADER_TOYPURINA';
	
INSERT INTO PlayerItems	
	(CivilizationType,		LeaderType,		Type, Icon, Name, Description, SortIndex)
SELECT	'CIVILIZATION_TONGVA',		'LEADER_TOYPURINA',	'IMPROVEMENT_KI', 'ICON_BUILDING_LITTER_BOX', 'LOC_IMPROVEMENT_KI_NAME', 'LOC_IMPROVEMENT_KI_DESCRIPTION', 10
FROM PlayerItems WHERE CivilizationType = 'CIVILIZATION_TONGVA' AND LeaderType = 'LEADER_TOYPURINA';
You want a simple INSERT INTO without the SELECT .. FROM clause.
Code:
INSERT INTO Players	
	(CivilizationType,	LeaderType,		LeaderName,			LeaderIcon,			LeaderAbilityName,			LeaderAbilityDescription,			LeaderAbilityIcon,		CivilizationName,		CivilizationIcon,		CivilizationAbilityName,		CivilizationAbilityDescription,			CivilizationAbilityIcon,	Portrait)
VALUES	('CIVILIZATION_TONGVA',	'LEADER_TOYPURINA',	'LOC_LEADER_TOYPURINA_NAME',	'ICON_LEADER_JASPER_KITTY',	'LOC_TRAIT_CIVILIZATION_TONGVA_NAME',	'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',	'ICON_LEADER_JASPER_KITTY',	'LOC_CIVILIZATION_TONGVA_NAME',	'ICON_CIVILIZATION_FELINE',	'LOC_TRAIT_LEADER_TOYPURINA_NAME',	'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',	'ICON_CIVILIZATION_FELINE',	'LEADER_JASPER_KITTY_NEUTRAL');

INSERT INTO PlayerItems	
	(CivilizationType,		LeaderType,		Type,			Icon,				Name,				Description,				SortIndex)
VALUES	('CIVILIZATION_TONGVA',		'LEADER_TOYPURINA',	'IMPROVEMENT_KI',	'ICON_BUILDING_LITTER_BOX',	'LOC_IMPROVEMENT_KI_NAME',	'LOC_IMPROVEMENT_KI_DESCRIPTION',	10);

Not sure if you have other errors in the code of the mod. I did not attempt to load the mod in-game.
 
File Config.sql is incorrectly written. The syntax appears to be ok, but the method you are using is no good.

This will have the effect of telling the game to add 'CIVILIZATION_TONGVA' when 'CIVILIZATION_TONGVA' is already added to the Players and PlayerItems items tables. But 'CIVILIZATION_TONGVA' does not yet exist in those tables so the game cannot successfully SELECT .. FROM.
Code:
INSERT INTO Players   
    (CivilizationType,    LeaderType,        LeaderName,            LeaderIcon,            LeaderAbilityName,            LeaderAbilityDescription,            LeaderAbilityIcon,        CivilizationName,        CivilizationIcon,        CivilizationAbilityName,        CivilizationAbilityDescription,            CivilizationAbilityIcon,    Portrait)
SELECT    'CIVILIZATION_TONGVA',    'LEADER_TOYPURINA',    'LOC_LEADER_TOYPURINA_NAME',    'ICON_LEADER_JASPER_KITTY',    'LOC_TRAIT_CIVILIZATION_TONGVA_NAME',    'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',    'ICON_LEADER_JASPER_KITTY',    'LOC_CIVILIZATION_TONGVA_NAME',    'ICON_CIVILIZATION_FELINE',    'LOC_TRAIT_LEADER_TOYPURINA_NAME',    'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',    'ICON_CIVILIZATION_FELINE',    'LEADER_JASPER_KITTY_NEUTRAL'
FROM Players WHERE CivilizationType = 'CIVILIZATION_TONGVA' AND LeaderType = 'LEADER_TOYPURINA';
   
INSERT INTO PlayerItems   
    (CivilizationType,        LeaderType,        Type, Icon, Name, Description, SortIndex)
SELECT    'CIVILIZATION_TONGVA',        'LEADER_TOYPURINA',    'IMPROVEMENT_KI', 'ICON_BUILDING_LITTER_BOX', 'LOC_IMPROVEMENT_KI_NAME', 'LOC_IMPROVEMENT_KI_DESCRIPTION', 10
FROM PlayerItems WHERE CivilizationType = 'CIVILIZATION_TONGVA' AND LeaderType = 'LEADER_TOYPURINA';
You want a simple INSERT INTO without the SELECT .. FROM clause.
Code:
INSERT INTO Players   
    (CivilizationType,    LeaderType,        LeaderName,            LeaderIcon,            LeaderAbilityName,            LeaderAbilityDescription,            LeaderAbilityIcon,        CivilizationName,        CivilizationIcon,        CivilizationAbilityName,        CivilizationAbilityDescription,            CivilizationAbilityIcon,    Portrait)
VALUES    ('CIVILIZATION_TONGVA',    'LEADER_TOYPURINA',    'LOC_LEADER_TOYPURINA_NAME',    'ICON_LEADER_JASPER_KITTY',    'LOC_TRAIT_CIVILIZATION_TONGVA_NAME',    'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',    'ICON_LEADER_JASPER_KITTY',    'LOC_CIVILIZATION_TONGVA_NAME',    'ICON_CIVILIZATION_FELINE',    'LOC_TRAIT_LEADER_TOYPURINA_NAME',    'LOC_TRAIT_CIVILIZATION_TONGVA_DESCRIPTION',    'ICON_CIVILIZATION_FELINE',    'LEADER_JASPER_KITTY_NEUTRAL');

INSERT INTO PlayerItems   
    (CivilizationType,        LeaderType,        Type,            Icon,                Name,                Description,                SortIndex)
VALUES    ('CIVILIZATION_TONGVA',        'LEADER_TOYPURINA',    'IMPROVEMENT_KI',    'ICON_BUILDING_LITTER_BOX',    'LOC_IMPROVEMENT_KI_NAME',    'LOC_IMPROVEMENT_KI_DESCRIPTION',    10);

Not sure if you have other errors in the code of the mod. I did not attempt to load the mod in-game.

That did it. I've never used SQL prior to the mod so I copied the format from another mod file, thinking it would be similar. Thank you so much!
 
Back
Top Bottom