Shadows of Doubt
Install with App

Details

Latest version
1.0.1
Last Updated
First Uploaded
Downloads
5
Likes
0
Size
38KB
Dependants

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.

The mod fixes this in two places:

  • When you save: if the game is about to store a city name that has no city file, the mod stores the name of the city you are actually playing in. New saves load without any help.
  • When you load an old save: if the game cannot find the city, the mod looks in your Cities folder for the city editor city whose name is part of the stored name. If there is none, it takes the city editor city that was saved last before the save was made.

The mod only steps in when the city name is wrong, so normal saves are never touched. Nothing is written to your existing 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.
  • For an old save, the fallback picks the city editor city saved last before the save. If you generated or edited another city editor city in between, rename the city file to the name in the error message 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.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.