View changes in Localization database

qqqbbb

Prince
Joined
Sep 25, 2010
Messages
530
My mod deletes LocalizedText table. I can see the results when I start a new game , but when I open DebugLocalization database in SQLiteSpy the table looks intouched. Any idea why?
 
LocalizedText is populated in both FrontEndActions and InGameActions phase. FrontEndActions is executed after initialization of the LocalizationDatabase when you boot up the game, while InGameActions is executed each time you are loading a game to play. If you don't define LoadOrder then it appears to be a bit random which things happen and when.

Also, I think all the other tables in LocalizationDatabase are locked after initial bootup initialization. I might be wrong on this, only analyzing this based on what seems to work with <UpdateText /> and what doesn't.
 
Also, you can't actually remove LocalizedText table. The game will crash if you manage to do it :)

The only way you can really delete anything in the LocalizationDatabase is by placing your SQL to:

~/Documents/My Games/Sid Meier's Civilization VI/Text

Or relevant directory on non-Windows machines. For example, to remove all other languages besides English you can do this:

Code:
DELETE From Languages WHERE Locale != 'en_US';

2018-02-25 remove languages.png

As you can see the actual list of languages only contains English. (There is also Finnish language pack applied, don't let that confuse you.)

If you remove ALL languages the game won't crash, but it will silently exit.
 
Back
Top Bottom