Guide
Packs across game versions
From game version 1.0.5, a pack made for a newer game still loads on an older build. The phone app and the PC game read the same packs, and a phone is often a version behind.
Builds before 1.0.5 cannot do this. They were shipped before it existed, and they refuse any field they do not know (including the new targetVersion below). To make a pack for one of them, export it for that version (see Export for an older build).
What mod.json says#
{
"id": "acme.legends",
"name": "Legends Pack",
"version": "1.2.0",
"targetVersion": "1.0.6",
"minGameVersion": "1.0.5"
}| Field | Since | Meaning |
|---|---|---|
targetVersion | 1.0.5 | The game version the pack was made for. The Mod Studio fills it in when it saves. |
minGameVersion | 1.0.5 | The oldest game version the pack is meant to work on. The pack check uses it as its default target. |
fieldVersions | 1.0.5 | Fields the pack uses that are newer than minGameVersion, as "type.path.field": "version". The export writes it; you rarely need to. |
gameVersion | 1.0.0 | A version range the game must satisfy, or the pack does not load at all. Use it only for a hard requirement. |
How a build reads a field it does not know#
Every record is checked against its schema, and a field the schema does not have is normally an error: it switches the whole pack off, so that a typo (capacty for capacity) is caught. The error names the nearest real field ("Did you mean "capacity"?").
A field is instead left out with a warning, and the pack loads, when the build can tell it is newer rather than a typo:
- the pack's
targetVersion(orminGameVersion) is later than the running game: every unknown field in the pack is taken to be newer. The Mods screen says the pack was made for a newer game, and lists each field it left out once per file ("left out of 412 records"); - the pack names the field in
fieldVersionswith a version later than the running game. Other unknown fields are still errors.
A pack whose targetVersion is this game's own version, or which sets none, gets the strict check.
Saves work the same way: a career saved by a newer game, opened in an older one, reads the records it holds and passes over fields it does not know. The records keep those fields, so saving again loses nothing.