Sm3gm-CityEditorSaveFix icon

CityEditorSaveFix

Fixes the "Missing city data" error on saves from city editor cities. The save loads its city again, with no file renaming. Also rescues saves that are already broken.

Last updated an hour ago
Total downloads 1
Total rating 0 
Categories Misc Patch AI City Generation
Dependency string Sm3gm-CityEditorSaveFix-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.755 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.755

README

CityEditorSaveFix

CityEditorSaveFix

A BepInEx (mod loader) plugin for Shadows of Doubt. Your city editor saves load again.

Saves made in a city built with the city editor sometimes stop loading with this error, even though the city is still on your disk:

Missing city data error

CityEditorSaveFix finds the right city and loads it. No more renaming files in AppData by hand.

If CityEditorSaveFix saved your save, please leave a like on its Thunderstore page. It keeps me motivated to make more mods. Donations are welcome too:

Support me on Ko-fi Buy me a coffee

How it works

A save remembers which city file it belongs to. For city editor cities, the game sometimes stores the wrong name, for example the save's own name (Marco PI Soddo 2026-...) instead of the city's (Soddo). The game then cannot find the city file and, because editor cities cannot be rebuilt from a seed, refuses to load.

When that happens, the mod looks in your Cities folder for the city editor city whose name is part of the stored name, and loads that one. It only steps in when the game has already failed to find the city, so normal saves are never touched. Nothing is written to your saves or city files, so you can remove the mod at any time.

Saves that are already broken are rescued too. Just install and load.

Known gaps

  • The city file itself must still exist in AppData\LocalLow\ColePowered Games\Shadows of Doubt\Cities. A deleted city cannot be brought back.
  • If you renamed the city to something completely different in the city editor, the stored name has nothing to match. Rename the city file back to its old name by hand.

Install

Use Thunderstore Mod Manager or r2modman and install as normal. BepInEx is installed automatically.

To install by hand:

  1. Install BepInExPack IL2CPP version 6.0.755.
  2. Put SoDCityEditorSaveFix.dll in BepInEx/plugins/CityEditorSaveFix/ inside your existing BepInEx folder.

There are no settings.

Feedback

Found a bug or have an idea? Post it on the official Shadows of Doubt Discord: https://discord.gg/shadows

Also by sm3gm

All my mods are listed at https://sm3gm.github.io

Support

This mod is free and always will be.

Likes are greatly appreciated and keep me motivated to release more mods, so if you enjoy it, please leave one. You give a like on the mod's Thunderstore page while logged in to Thunderstore. If you installed through a mod manager, open that page in your browser to find the button.

And if you love what I do and want to support future projects, or just want to send a friendly thought, you can do so here:

Support me on Ko-fi Buy me a coffee

Thanks for playing.