FORGOTTEN TOWNS

FORGOTTEN TOWNS / MODDING DOCUMENTATION

Modding wiki ↗

Java API reference (Javadoc)

MOD API 15

Browse the wiki

Current Mod API documentation.

MODDING DOCUMENTATION

Troubleshooting

Start with the smallest failing profile, preserve your released files and test in a disposable world.

Problem First check
Pack not listed mods/pack_id/mod.json, exact folder/ID match, then Refresh
Pack marked invalid Read the launcher log; check manifest keys, relative paths and file existence
Enable reports a dependency Install the dependency; different versions can be validated. Enable includes installed dependencies
Apply fails Open logs/mod-validation/validation.log; the previous saved list is unchanged
Two packs conflict Overlapping writes need an intentional dependency; ordering alone is insufficient
Changes do not appear Choose Apply & reload after editing files or the enabled list; Refresh alone does not rebuild the session
Workshop unavailable Use a Steam build launched from Steam; local mods do not require Steam
Subscription is downloading Wait for Ready to install before copying its snapshot
Workshop copy rejected Check root-level mod.json, supported file types and local ID ownership
Save refuses to load Check missing mod IDs, relative order, new-world restrictions and restoration errors in the log
Recipe is present but cannot run Check worker qualification, access tiles, surfaces, ingredients and discovery gates
New material is not a weapon or food Add an equipment or food profile with the same resource ID
Cover does not appear Check about/preview.png, PNG format and size limits, then Refresh
Custom machine has only ordinary behaviour A copied definition does not add a new engine operation

Validation is necessary, but playtesting still matters

The loader checks explicit top-level fields against its versioned field catalog. Placeable capabilities, storage and workstation-range objects also reject unknown nested keys and wrong JSON types, including malformed containers and noninteger storage/range values. Required capability flags cannot be cleared; optional storage/range components can be cleared with null. Other legacy nested parsers are not uniformly strict; follow the reference rather than assuming a misspelling worked. The families, food, equipment, features, creatures and creatureLoot registries enforce nested names and JSON types as well.

Validation checks references, translations, image geometry and registry construction. It does not prove that art looks right, a worker can reach a station in your layout, a hook is balanced, or a Steam upload succeeded. Verify those behaviours separately.

A useful bug report

Include the game version, pack IDs and exact versions, smallest enabled list that reproduces the problem, validation log, and steps from a new test world. For artwork problems, include all four facings. Keep credentials, private Steam links and unrelated personal files out of the report.

Refer to the complete troubleshooting table and JSON reference for subsystem-specific limits.