An update is a list of rules. Each rule is one named, numbered change to the save, made because a newer game version reads the save differently from the version that wrote it. ck3update rules lists them all, in the order they run, with the game versions each applies to. This page explains each one. The rules ship as a pack of patch.toml files inside the package; Writing a patch explains the format.
migrate takes --rules:
--rules all runs every default rule (all but the new-map rules R14 to R17), less any turned off with ck3update disable. This is also what runs when --rules is not given.--rules R1,title-names runs only the rules named, by id or by name, in any order. They always run in the order ck3update rules lists.--rules all,R15,R14,R16 combines the two: every default rule, plus the ones named. This is how the opt-in rules for the new-map regions are added.--rules all,-R21, or --rules -R21 alone, runs every default rule but R21. Turning rules off has the details, and how to turn a rule off for every later run.to_1_21 and repair_1_21: --rules -R50 leaves out the new duchies, and ck3update disable R51 turns R51 off. status shows such a rule as “left out by –rules”. migrate and check never run these packs, so there they accept the id and change nothing. Naming one without the -, as in --rules all,R51, runs it even when disable turned it off, as naming any other rule does. R47 and R49 share the name missing-innovations; by that name you get R49, so use R47 by its id.--rules "" is refused.ck3update check <save> says, for each rule, whether a save still needs it, without changing anything.
Choosing R14, R15 or R16 brings R17 along by itself: those three plan what to copy, and R17 writes it.
Some rules use what an earlier rule did. A selection that includes such a rule without the rules it needs is refused before the save is even read, and the message names what is missing, for example:
ERROR: rule prerequisites missing: R14 needs R8 (add them, or use --rules all,R14,R15,R16 for the full migration with the transplant)
| Rule | Needs |
|---|---|
| R9 | R8, R10 |
| R10 | R8 |
| R12 | R8, R9 |
| R14 | R8 |
| R15 | R14, R16 |
| R16 | R8, R14 |
all includes every prerequisite of the default rules, so --rules all and --rules all,R15,R14,R16 are never refused for this reason.
A rule that cannot run (no reference save given, no game folder found, a prerequisite that did nothing) does nothing and says why in the rule’s line of output and in the report. When no selected rule changes anything, for example because the save is already updated, nothing is written and the tool says so; --force does not change that. Updating an updated save is therefore safe.
The “Since” column is the game version whose loader made the rule necessary. Where the exact version is not known it is a range: 1.8.1<v<=1.20.1.2 means 1.8.1 wrote the save this way and 1.20.1.2 no longer accepts it.
These remove what 1.20 rejects when it loads an older save, or move data to where 1.20 reads it. All but R6 and R22 need nothing but the save.
| Rule | Name | Since | What it changes |
|---|---|---|---|
| R1 | opinions-converging | 1.8.1<v<=1.20.1.2 | deletes the converging={} blocks inside temporary opinions |
| R2 | relation-flags | 1.8.1<v<=1.20.1.2 | re-encodes the flags of scripted relationships to the 1-byte width 1.20 expects; a value that does not fit is left unchanged and listed in the report |
| R3 | title-names | 1.8.1<v<=1.20.1.2 | moves each title’s name, adjective, prefix and article into the block where 1.20 reads them (title_name_data) |
| R4 | game-rule-blanks | 1.8.1<v<=1.20.1.2 | deletes empty "" entries from the game-rule settings lists |
| R5 | empty-keys | 1.8.1<v<=1.20.1.2 | deletes entries with an empty key (written as =-5000.1.1) |
| R21 | dead-liege-cycles | 1.8.1<v<=1.20.1.2 | drops the recorded liege of dead characters whose liege chain loops (two rulers recorded as each other’s liege); a ruler who died independent, recorded as their own liege, is left as the game writes them |
| R20 | unrun-war-coordinators | 1.8.1<v<=1.20.1.2 | removes AI war coordinators that were never run (no stance, a supply limit of 0), the war plans that name them, and their entries in the characters’ AI strategies; the game builds fresh ones. Left in, the AI can split an army forever to fit a supply limit of 0 |
| R22 | impassable-provinces | 1.18.0 (map rework; exact major unverified) | clears what stands on provinces the current map makes impassable: the holding becomes the empty one a new game has, its soldiers and any siege go, armies step back to where they came from, and council tasks aim at a province of their ruler’s own. Needs the game folder |
| R6 | dead-titles-report | 1.18.0 (map rework; exact major unverified) | changes nothing; reports titles the current game no longer defines. Needs the game folder (--game-dir, or found automatically) |
| R11 | empty-modifiers | 1.8.1<v<=1.20.1.2 | deletes modifiers with an empty name (modifier="", "" in modifier lists, type="") |
| R23 | nickname-text | 1.8.1<v<=1.20.1.2 | writes the nickname’s text (nickname_text) after every nickname that lacks it, the way 1.20 stores a nickname: its key and its rendered text. Without it, nicknames show as raw keys or garbled in game |
| R19 | dna-layout | 1.8.1<v<=1.20.1.2 | rewrites every face (dna=) from the gene layout it was written in to the layout you will load with (the game’s genes plus the portrait mods dlc_load.json enables, or --portrait-mods), gene by gene and template by template by name, and sets portraits_version to the target’s. A character the transplant added is read in the reference save’s layout. Runs after R17; --no-dna turns it off. See Faces |
| R25 | successor-keys | 1.8.1<v<=1.20.1.2 | renames perks, regiment types and artifact modifiers the current game no longer defines to the ones that took their place: the Scholar perk becomes Erudite, Teutonic Knights become Order Serjeants, and an artifact’s scheme-power bonus becomes the same bonus to scheme phase duration, and the Hawk of Quarysh modifiers take their corrected spelling, Quraysh. Chu-ko-nu regiments become Shenbigong (the same innovation unlocks them now), the Bombard innovation becomes Gunpowder, the medium hide look becomes the large one (the same wall slot), and an artifact bonus at a step the game dropped becomes the kept steps of the same bonus that add up to it exactly (−7% building cost becomes −4% and −3%), or the nearest kept step when no exact sum exists. A county’s “Rice Fields” becomes “Agricultural Innovation”, which the same Iberian event gives with the same effect since 1.18. A county’s hold-court “Tax Relief” becomes the current game’s own “Tax Relief”, which is stronger (the event that gave the old one is gone). Without it, 1.20 silently deletes them when the save loads. Each successor was matched on what the thing is (a perk’s place in its tree, a regiment’s kind and strength), and a key is renamed only when the game and the save’s mods no longer define it and do define its successor; anything else is left and reported. Each row names the game version that dropped the old key (1.9, 1.13, 1.18, 1.19 or 1.20). The names the game will drop when it loads the save, with no successor, are all listed in the lint report update writes beside the save (<save>.lint.json). Needs the game folder |
| R26 | spread-marker | 1.8.1<v<=1.20.1.2 | keeps the innovation each culture is learning from another. An older save names it in exposure_marker, with exposure_type saying how it spreads; 1.20 calls it spread_marker and has no type. Without it, 1.20 drops the marker on load and the culture forgets which innovation it was picking up; the progress itself is kept either way |
| R27 | house-feuds | 1.8.1<v<=1.20.1.2 | carries each house feud the old save ran as a story into the current game’s house relations, at the feud level and deep in it, so the two houses stay at odds until they reconcile in play. The current game no longer runs the old feud story, and without this the feud is forgotten |
| R28 | marriage-bed | 1.8.1<v<=1.20.1.2 | keeps a marriage childless when the old save said the character was rejected from the marriage bed. The current game no longer has that character bonus. It marks a childless marriage as a hidden relation between the two spouses instead, and its own events check that relation where they used to check the bonus. Each living character who had it gets that relation with each living spouse, and the old bonus is removed. A character with no living spouse loses only the old bonus |
| R29 | scheme-thaw | 1.8.1<v<=1.20.1.2 | lets the plots the old save was running carry on. First it writes each plot the way the current game converts an old one when it loads it: the old success fields (owner_influence, chance, ready) go, the target is wrapped in its new block, and the plot gets the current game’s starting values. A plot with no owner, target or type is marked invalidated, as the game marks it. This matches the game’s own load-and-save output on all 1,334 plots of the founding campaign, so the game no longer logs an error for each one. The old game wrote a field into every scheme that the current game reads as “frozen for good”, so without this no carried scheme ever moves. A carried scheme also never went through the current game’s start-up. So a scheme whose type has a secrecy gets the formula’s starting value, 20, where the old game wrote −1, and a type without one gets 100, the value the current game holds for its own schemes of that kind (the current game logs an error for a scheme with no secrecy yet, and recomputes it at the scheme’s next update). A type whose start-up adds agent positions gets the same positions the game gives a scheme started from script, and the plot’s old agents (characters who had joined it) take them, strongest first; agents beyond those positions, or in a plot with none, leave it. Both come from the game’s and the mods’ scheme definitions. Needs the game folder for those two; without it, schemes are only thawed |
| R30 | asset-renames | 1.8.1<v<=1.20.1.2 | points the save’s file references at the names the current game ships them under. A save stores some looks as file names: an artifact’s picture and 3D model, a coat of arms’ emblem. The current game renamed some of those files, so without this an artifact like Excalibur shows no picture and an armour artifact no model. Each rename is confirmed in the game’s own definitions, and a reference is renamed only when the old file is gone and the new one is shipped by the game or a listed mod. Needs the game folder |
| R31 | contract-repair | 1.8.1<v<=1.20.1.2 | writes the missing vassal contract of a ruler whose title answers to a liege but who has no contract, so he pays no taxes and raises no levies. The current game never writes such a ruler; a save edit can leave one behind. The contract goes to the holder of his liege title, with the contract kind his government uses. status names each such ruler. To keep them as they are (a save edit you made on purpose), give --rules all,-R31, or run ck3update disable R31 once. Tributaries, which have a contract and no liege title by design, are left alone |
| R32 | head-determination | 1.8.1<v<=1.20.1.2 | gives each culture carried from an older save its head determination, herd or domain. 1.20 gives every culture one and a 1.8 save has none; the game does not fill it in on load. Every culture in the game’s own 1.20 saves carries exactly the value its definition in common/culture/cultures declares, so a carried culture takes the value its template declares, the game’s files first and then your mods. A culture made in play has no template and stays without one; lint names it. Needs the game folder |
| R49 | missing-innovations | 1.8.1<v<=1.20.1.2 | (needs a 1.20 reference save) the same repair as R47, for a save going to 1.20. A fresh 1.20 game lists all 108 innovations on every culture, and a culture can only research what it lists. A 1.8 save lists only 1.8’s innovations. The game fills most of the rest on its first load, but never Pole Vault or Legacy of Persia’s fritware and mural sextant: djdarcy’s 1.20 re-save of the founding campaign lacked them on 228 to 229 of its 284 cultures, and the game’s own step-by-step route leaves the same gap. This adds every missing innovation before that load. It spreads only an innovation the reference lists on every culture, so an innovation meant for some cultures only is never spread. An added innovation starts discovered only where the fresh game’s version of the same culture starts with it and the culture has reached its era. On the founding campaign: 21 innovations over 229 cultures, 10 entries discovered (where the game’s own fill would leave them undiscovered). --rules -R49 leaves it out |
| R33 | wonders | 1.20<=v<1.21 | (the to_1_21 pack) writes each built wonder, great work and duchy-capital building as the 1.21 district the game uses for it. The game’s own conversion to 1.21 drops them all. The save stays stamped 1.20, and your first load in 1.21 converts the rest and keeps these. Checked by loading the result in 1.21: 133 of 134 kept. A wonder with no district in 1.21 is named and left out. Needs the game folder |
| R35 | wonders-from-witness | 1.21<=v<1.22 | (the repair_1_21 pack) for a save you already loaded in 1.21 and saved: writes back the wonders the game’s conversion dropped, read from your last save from before 1.21, given with --witness. The witness must have the same in-game date, or nothing is written: a save played on since would lose that play. Checked by loading the result in 1.21: all 134 kept. Needs the game folder |
| R36 | roads-after-conversion | 1.21<=v<1.22 | (the repair_1_21 pack) for the same save, with --witness: brings in a 1.21 reference save’s roads, which the game’s conversion did not make. Needs a 1.21 reference save |
| R37 | baronies-from-witness | 1.21<=v<1.22 | (the repair_1_21 pack) for the same save, with --witness: 1.21 moved some baronies to another county, and the game’s conversion gave each one to its new county’s holder. This gives each back to its holder in your last save from before 1.21, as a vassal of the new county’s holder, with their government. A holder who kept other land gets the barony back into the land they have. Checked in 1.21 on the v17 campaign: 75 of 83 kept (60 of 63 landless holders, 15 of 20 who kept other land); the game gave the other 8 to someone else. A barony 1.21 removed is reported. --rules -R37 leaves it out, for a player who prefers the game’s own assignment. Needs the game folder |
| R38 | title-types | 1.21<=v<1.22 | (the repair_1_21 pack) for a save the game converted to 1.21; needs a 1.21 reference save, not --witness. The game’s conversion writes an empty type on some titles and fails to read it back on every load: noble families, landless adventurers, cardinals, ecclesiastical titles, older mercenary companies. This fills each empty type from what decides it in a fresh 1.21 game: the title’s key pattern, or its holder’s government. It never changes a type that is set, and a title no rule decides stays empty and is reported. Checked in 1.21 on the v17 campaign: 1,974 of 2,016 typed, all kept, and the error log lost exactly 1,974 lines |
| R39 | empty-cooldowns | 1.21<=v<1.22 | (the repair_1_21 pack; runs with R38) old saves can carry cooldowns for decisions the game later replaced with activities (going on pilgrimage, hunts, feasts, playdates; neither 1.20 nor 1.21 defines them). 1.20 kept them by name and ignored them. When converting, 1.21 blanks their names and logs an error for each on every load. These are dropped, since such a cooldown does nothing. Named cooldowns stay, including those of mods not loaded at the time. Checked in 1.21 on the v17 campaign: 2,187 dropped, and the error log lost exactly 2,187 lines |
| R41 | districts | 1.20<=v<1.21 | (the to_1_21 pack) before your first load in 1.21: writes the save’s regular buildings as 1.21 regular districts, by the same table and the same rules as R42, judged by 1.21’s county capitals (the 1.21 map moved some) and the two slots every holding gets on conversion. The game’s conversion keeps them. On the route from an old save fed a 1.21 reference, a province copied from the reference gets the reference’s own districts back, through the same rules (the copy had them stripped to fit the 1.20 save). Checked in 1.21: 1,764 districts written and all kept on the v17 campaign; from its 1.8.1 save, 3,551 (1,857 of them in copied provinces), all kept |
| R48 | duchy-capitals | 1.20<=v<1.21 | (the to_1_21 pack) before your first load in 1.21, after R41: writes the save’s duchy-capital buildings (march, jousting lists, blacksmiths, royal forest and the others 1.21 kept) into 1.21 duchy-capital districts, by the same rules as R45. The save is read as it is, in its 1.20 form. On the v17 campaign: 7 written, and the two tax assessors named, since no 1.21 duchy-capital district lists them. Not yet checked by a load in 1.21. Needs the game folder |
| R50 | new-duchies | 1.20<=v<1.21 | (the to_1_21 pack; needs a 1.21 reference save) runs first, before your first load in 1.21. The game’s conversion never creates a duchy your save lacks, so the duchies 1.21 split out of older ones (Artois, Liège, Passau, Upper Lombardy and others) are missing, their counties stay in the old duchies, and they have no market. This adds each such duchy that has counties in your save, unheld as in a new game, and moves those counties into it; the game then builds its market at the conversion. The counties 1.21 adds are left to the game’s conversion, which creates them at your first load (80 on the founding campaign). It does not always put them in the duchy a new 1.21 game has, and it can give a vassal’s seat to such a county with no liege, so the vassal leaves your realm. The repair pass gives back the baronies the conversion took (R37), and its land check names what is still outside your realm. Going to 1.20 this tool creates the counties a save lacks itself (R14 to R17); doing the same before the 1.21 load is planned. On the founding campaign: 11 duchies, 23 counties moved. A county a new 1.21 game puts in a different duchy your save already has moves into that duchy too. The report marks each one that goes into a duchy held outside your realm. It also creates the counties 1.21 carved out of counties that still exist, where your campaign’s people hold land in them. Each goes to whoever holds its capital barony, or, if nobody holds the capital, to the holder of the county the land came from. Its liege is the nearest ruler above a count in his old chain. Every other baron in it keeps his barony. Each starts from the development, control, culture and faith of the county it came from. Without this the game creates these counties empty at its load, at development 0, and takes their baronies for one holder. On the founding campaign it creates 50. A county 1.21 removes and splits hands its record to each successor your save did not have. Each one takes the removed county’s development, control, culture, faith and fertility, and its timed modifiers with their expiry dates. A modifier from a councillor’s task goes only to the county that now holds the old capital barony. If that barony is gone, the modifier is dropped and the report names it. On the founding campaign 4 counties split into 8. Asked as the duchies question; --auto duchies=l or all=newgame leaves them. --rules -R50 leaves it out |
| R44 | holding-tiers-from-witness | 1.21<=v<1.22 | (the repair_1_21 pack) for a save you already loaded in 1.21, with --witness: the game’s conversion puts every holding’s main building back to tier 1. This restores the tier your last 1.20 save had, where 1.21 defines it, and never lowers one. It runs only when the witness has the save’s own date, so play after the conversion is never overwritten. Checked in 1.21 on the v17 campaign: 274 restored (164 tribes, 56 cities, 51 temples, 3 castles), all kept |
| R42 | districts-from-witness | 1.21<=v<1.22 | (the repair_1_21 pack) for the same save, with --witness, after R44: the game’s conversion leaves every regular district empty. This writes your last 1.20 save’s buildings into them, through a table of what each old building became (ck3_save_migrator/game_data/successors/vanilla_1.21.0/from_vanilla_1.20.1.2.toml), and only where the game’s own rules allow it: the district is enabled there (walls only in a county capital), its prerequisite district is present, each building’s tier fits the district’s level, and the county has the trade good a building needs. Buildings whose 1.21 successor is not decided yet, or that the rules refuse, are named in the report with the reason. Checked in 1.21 on the v17 campaign: 1,764 districts with 1,985 buildings, all kept, none breaking a rule |
| R47 | missing-innovations | 1.21<=v<1.22 | (the repair_1_21 pack; needs a 1.21 reference save) in a fresh 1.21 game every culture lists every innovation, and a culture can only research what it lists. The game’s conversion did not add the innovations new in 1.21 (prospecting, coppicing, heavy plow, monasticism and others), so no converted culture could ever research them. This adds each missing one to each culture. An added innovation starts discovered only where the fresh game’s version of the same culture starts with it and the culture has reached its era. Otherwise it starts undiscovered. On the v17 campaign: 27 innovations missing (two of them Legacy of Persia’s, with a prefixed key, missed before 0.6.48), 6,302 entries added over 284 cultures, 67 of them discovered. Checked by playing two years in 1.21: cultures research them. --rules -R47 leaves it out |
| R45 | duchy-capitals-from-witness | 1.21<=v<1.22 | (the repair_1_21 pack) for a save you already loaded in 1.21, with --witness, after R44: the game’s conversion dropped every duchy-capital building (march, jousting lists, blacksmiths, royal forest and the others). This writes each one from your last 1.20 save into a 1.21 duchy-capital district. It writes only where the game would allow that district: the barony is the duchy’s capital barony, and the county’s holder holds the duchy. Under a republic the game asks something else, so such a province is named rather than written. Each building must also be legal there by its own rules. A holding that already has a duchy-capital district is left alone. On the v17 campaign: 7 written, and the two tax assessors named. Needs the game folder |
| R46 | resource-districts-from-witness | 1.21<=v<1.22 | (the repair_1_21 pack) for the same save, with --witness, after R45: 1.20’s quarries, logging camps, orchards and elephant pens became 1.21 resource districts (stone, forestry, fruit, ivory), which the game’s conversion did not write. A province has one resource slot. This writes the district where the county has the trade good and the slot is empty, at your old tier but at most tier 2 (higher tiers need innovations no converted culture has). If the slot already holds the same district, it is raised to your tier. If it holds another district, you choose (the resources question, see --auto in updating a save). The default keeps the game’s district and adds the small building of your old kind inside it. Replacing it is offered only when the game’s district holds nothing but its own building. On the v17 campaign with the default: 426 written, 21 raised, 161 small buildings added, none replaced. Needs the game folder |
| R40 | province-size | 1.21<=v<1.22 | (the repair_1_21 pack; needs a 1.21 reference save) 1.21 replaced the county’s development with a size on each province, set from history and checked by buildings. When converting, the game puts every province at the smallest size. This raises each province to the size a fresh 1.21 game gives it on the same date (Rome, Constantinople and other historical cities) and never lowers one. Checked in 1.21 on the v17 campaign: 547 raised, all kept |
| R51 | cultures-without-a-head | 1.21<=v<1.22 | (the repair_1_21 pack; needs a reference save) the game writes a person’s culture in the save only when it differs from their house head’s, and reads it back from that head. Earlier versions of this tool brought people from the reference into a house of yours that had no head. The game then had no culture for them, and logged a culture error for each of them every month. This writes each such person’s culture, read from the same person in a reference save. Give --source-reference with the 1.20 reference your earlier update used, and every one is found; the 1.21 reference alone finds most. A person no reference places is left as they are and named. On the founding campaign: 82 people, about 3,000 errors a game year. With --source-reference, it also fixes people brought in the same way who joined a house whose head has another culture. They logged no error, but took that head’s culture. A person whose head is the same person in both saves is left alone, since that head may have changed culture in play. On the founding campaign: 11 |
| R52 | null-county-cultures | 1.21<=v<1.22 | (the repair_1_21 pack; needs a 1.21 reference save) a game update can add counties to a campaign already running. The game may leave some of them without a culture, and every script that reads it then fails. This gives such a county the culture a fresh 1.21 game gives it. If your save has no culture of that kind, the county is left as it is and named. On the founding campaign: two counties, Sobrarbe and Huesca, now Basque |
| R53 | prosperity-rename | 1.20<=v<1.21 | (the to_1_21 pack) runs before your first load in 1.21. 1.21 renamed the four Development innovations to Prosperity, with the same effects. The game’s conversion drops the old names, so every culture would lose its progress in them, and any fascination with one. This renames each culture’s entries before the game converts the save, so the progress and the fascination carry over. A culture that already lists the Prosperity innovation keeps it as it is. On the founding campaign, the first is done in 190 cultures and part-way in 67, the second done in 11 and part-way in 109, and 21 cultures keep their fascination. A 1.21 save is left as it is |
| R54 | dead-titles-1-21 | 1.20<=v<1.21 | (the to_1_21 pack) runs first, before your first load in 1.21. 1.21 removed, split, renamed or moved some titles your 1.20 save holds. The game’s conversion deletes every title it does not define, so their holders lose them, and some vassals lose their liege. This settles each one the way R15 does for 1.20, using a names-only copy of 1.20’s map that ships with the tool. A title with one clear successor is renamed, and its holder keeps it. A split title’s successors go to its holder, through R50, unless the campaign already gives one to someone else. So does a title 1.21 moved to another tier under the same name: the noble-house duchies became counties, and their holders keep them. On the founding campaign it settles all 186, and four noble-house holders keep their titles. A save the dead-title rule already settled in the same update is left alone |
| R55 | lost-land | 1.21<=v<1.22 | (the repair_1_21 pack; needs --witness) runs last in the pack. It lists the land your realm held in your last 1.20 save that someone outside your realm holds after every other repair. It then asks the lost_land question. Accommodating, the default, gives you a pressed claim on each one’s county. Strict only reports it. --auto lost_land=strict answers in advance. Without a witness it says that nothing was checked. On the founding campaign: one barony (Aqmescit) before the repairs, none after them, because R37 gives it back |
| R34 | roads | 1.20<=v<1.21 | (the to_1_21 pack) brings in the roads of a 1.21 reference save. The game’s own conversion makes no roads for an old save, while a new 1.21 game has about 4,200. Checked by loading the result in 1.21: all kept. Needs a 1.21 reference save |
| R7 | version-bump | n/a | sets the save’s version fields to the target version; runs last |
1.20 replaced the old faith layout with separate databases of faiths and rites, and every character and county now points at a rite. These rules rebuild religion from a save written by 1.20 (--reference). Without a reference they do nothing and say so.
| Rule | Name | Since | What it changes |
|---|---|---|---|
| R8 | religion-transplant | 1.20.0 (By God Alone: faiths/rites databases) | replaces the save’s religion with the reference’s religions, faiths, rites, holy sites and religious organizations, with titles and cultures translated by name to the save’s own numbering |
| R10 | custom-faith | 1.20.0 | carries the save’s own custom faiths (for example the Way of Scarcity) as a faith or as a rite, with their doctrines, fervor, religious head, holy sites, founder (when that character is still in the save) and dated history, wherever 1.20 has a place for each. Two things 1.8 never had are worked out: the faith’s type, taken from the faith it was created from (1.20 keeps the god’s names there, so text that names the god is not left blank), and one to three eminent holy sites, chosen from its own holy sites. A doctrine group 1.20 added and a faith must fill (pilgrimage, coronation, monasticism and others) is filled with the doctrine of the faith it was created from, else its religion’s default; the game would otherwise read the empty group as its first option. Groups its religion does not define stay empty, as on the game’s own faiths, and the report names each group filled and where the doctrine came from |
| R9 | faith-to-rite | 1.20.0 (characters and counties point at a rite) | replaces each character’s and county’s old faith with the matching 1.20 rite, and updates script variables that refer to a faith or religion |
| R12 | faithless-rite | 1.20.0 (rite on every character) | gives characters with no recorded faith their house head’s rite, falling back to the dynasty head, then the employer, then the player; each fallback is reported |
Catholicism and Orthodoxy stay independent faiths, each with its religious head carried over. When two old faiths would give the same new faith different heads, the first is kept and the other is reported.
A custom faith can be carried in two shapes, chosen with --custom-faith-as: as a faith of its own (faith), or as a rite of the faith its template now belongs to (rite). The default, both, writes two outputs, <name>__wos-faith.migrated.ck3 and <name>__wos-rite.migrated.ck3; a save without a custom faith gets a single output under the plain name.
1.20’s map rework added thousands of provinces and titles that an older save has never heard of, and removed or moved some it had. These rules bring the new regions in from a 1.20 save at the campaign’s date. They are not part of all; add them with --rules all,R15,R14,R16. New-map regions explains them in full.
| Rule | Name | Since | What it changes |
|---|---|---|---|
| R15 | dead-titles | 1.13 to 1.20 (titles the map rework removed or moved) | renames the save’s titles that 1.20 removed or moved to their 1.20 successors where the match is clean, and removes the rest (split, wasteland, dropped); every case is reported. Needs the current game folder, and the old map: --old-game-dir, or for a 1.8 save the built-in 1.8.2 map (names only) |
| R14 | new-titles | 1.13 to 1.20 (map rework: East Asia, Tibet, …) | plans the titles and provinces the save does not have, from the reference save. A duchy the current game added takes the campaign’s counties a new game puts in it, so it is not an empty title (54 counties into 27 duchies on the founding campaign, 9 of which had none). A county whose new-game duchy the campaign already has moves into that duchy too (6 on the founding campaign). The report marks each one that goes into a duchy held outside your realm. Asked once as the duchies question; --auto duchies=l or all=newgame leaves them all |
| R16 | people | 1.13 to 1.20 (the new regions’ rulers, courts and families) | plans the holders of the planned titles, their courts and close family, from the reference save |
| R17 | transplant-write | 1.20 | writes everything R14 to R16 planned, with numbers translated, links to things not brought along dropped, and new titles joined to the campaign’s existing ones. A person brought along who has a claim on one of your campaign’s titles is also added to that title’s list of claimants, so the claim is written on both sides, as the game writes it. A new ruler whose capital, or most of whose counties, the new map carved from land your realm held joins your realm, as the vassal of whoever ruled that land. Elsewhere a new ruler keeps the place the current game gives him, under the campaign’s ruler where the current game puts him under a title the campaign holds. You never gain a vassal on land your realm did not hold. A landless seat that is its holder’s own office goes to the ruler of the land it stands on. Holy orders, mercenaries and adventurers are never placed under anyone, as the game’s own rules say. A noble family is placed only under a ruler whose government keeps noble families; elsewhere the game would vacate its title, as it does by itself. Where the campaign would give a ruler a kind of liege the current game never pairs him with, he stays with his current-game liege if that liege still rules. Each copied ruler’s title liege and vassal contract are kept in step; tributaries, contract-only by design, are left as they are. The report lists each ruler placed this way, with the reason |
The rules run in this order, which is the order ck3update rules lists: R1, R2, R3, R4, R5, R21, R20, R22, R6, R11, R8, R10, R9, R12, R23, R15, R14, R16, R17, R19, R25, R26, R27, R28, R29, R30, R31, R32, R49, R7, then the to_1_21 pack’s R50, R53, R33, R34, R41 and R48 for a save going to 1.21. R49 runs after the transplant, so the cultures it brought in, which already list everything, are left as they are. R11 runs before R8 because it reads the old religion layout; R10, R9 and R12 run after R8 because they read what it built; the new-map rules run after religion; the faces (R19) after them, so the people the transplant added are in the output, and before any pack of yours; the version bump runs last.
A character’s face is its dna="..." string: one 4-byte place per gene, in the order the game’s common/genes files define (the gene layout: file-name order across the gene folders, then declaration order in each file; a mod’s file of the same name replaces the game’s whole, and special genes are not stored). A new game version or a different set of portrait mods changes the layout, and the game makes up a new face for a string in another layout (“Unexpected DNA string length”).
R19 reads each face in the layout it was written in: the save’s own, or the reference save’s for a character the transplant added. The save’s own layout is built without any old files from you:
--old-game-dir replaces them with the game folder you give.--old-portrait-mods replaces the save’s listed mods with the builds you give (the save’s own, when you have them).A built-in table holds names only (gene names, template names, index numbers), none of a mod’s own work; scripts/gene_table.py writes one from a build. A template index the source gene does not define is counted apart. When at least 0.1% of the template indexes read are such, status says the source layout is probably not the save’s. A handful below that is reported without that warning: it is usually one mod build’s extra template. It writes it in the target layout: the installed game’s genes plus the gene-shipping mods the launcher enables (dlc_load.json, in load order), or --portrait-mods <id-or-folder>,... (--portrait-mods "" for vanilla).
portraits_version is set to the target’s: the reference save’s own, else the built-in table by the game’s version line (1.20: 5).--face-changes NAME,... (on update, status, migrate and check) names changes beyond the rules above. Since 0.4.8 all of them are on by default. Give a list to choose some, or none for the rules above alone. The choice is kept in the update’s record:
renames: a gene a portrait mod renamed between builds is carried under its new name, instead of being dropped while the new gene is set to the middle. The known rename: Ethnicities & Portraits Expanded’s head-roundness gene, today in its head-shape gene.merges: a gene a portrait mod folded into another is carried as that gene’s new template. It applies only where the face’s own value of that gene draws nothing, so nothing the face has is replaced. The known merge: Ethnicities & Portraits Expanded’s second eye-fold gene, today a template of its eye-fold gene.fallback: a template the target gene lacks goes to the closest-named template instead of 0. It never goes to a template that draws nothing (no_...) unless the lost one was one too. With no close name, it leaves 0 unless 0 draws nothing.known-genes: genes a later build of a portrait mod appended to every face, read from a small table shipped with the tool, so the old build is not needed. The table holds names only (gene names, template names, index numbers), none of the mod’s own work. It applies to a face exactly that many places longer than the save’s layout. Other faces are read as before. The known table: Ethnicities & Portraits Expanded’s three late-2022 genes after its 1.6.0 build (the lower-lid size and eye shape genes, which today’s build still draws, and a hair-aging gene it no longer has).none keeps the rules above as they are (0.4.0’s faces).The report lists, per plan, the genes renamed, merged and dropped, and each template moved by fallback. The plan’s notes count the dropped genes after these changes, with the build each came from; they suggest the playset or --portrait-mods only when a portrait mod you have installed, but not in the playset, defines one of them.
status shows the layouts in its FACES block, and the report lists every character under its outcome.