Expand description
Tool operations: optimizer, map packing, startpos and CEO building, translations, MyMods, animation ids, glTF export and plugin scripts.
StructsΒ§
- MyMod
Options - Editor support to set up in a new MyMod folder.
- Pending
Startpos π - A startpos build started, waiting for the game to build it.
ConstantsΒ§
- EXTRACTED_
TABLES_ πSUFFIX - Suffix of the file name of the tables extracted from a startpos, after the campaign key.
- STARTPOS_
LAST_ πCAMPAIGN_ SETTING - Pack setting with the campaign the last startpos of a pack was built for.
- STARTPOS_
TABLES_ πFOLDER_ PREFIX - Start of the paths of the
start_pos_*tables in a pack. - THREE_
KINGDOMS_ πSUB_ STARTPOS - Sub-startpos each Three Kingdoms campaign has.
- VANILLA_
FIXES_ πNAME - Filename prefix for community-maintained vanilla loc fix TSVs in the
Total War Translation Hub repo (e.g.
vanilla_fixes_es.tsv). Each one carries fixes for vanilla loc bugs in a specific language; the suffix is the language code.
FunctionsΒ§
- container_
path_ πfrom_ disk_ path - Rebuilds the in-pack container path of a file extracted under
base_folder. - optimizer_
options_ with - Returns optimizer options with some of them changed, by name.
- plugin_
script_ πinterpreter - Returns the interpreter command for a plugin script, based on its extension.
- plugin_
scripts - Returns the paths of the plugin scripts in the configβs scripts folder.
- sorted π
- Returns the items of a collection, sorted.
- write_
lua_ πeditor_ configs - Writes the editor configs for Lua scripting in a MyMod folder.