Net Missing Recoverer 0.0.1

If you liked this item, please rate it up on Steam Workshop page.

Author: Klyte45

Last revision: 18 Nov, 2022 at 20:45 UTC (1)

File size: 815.1 KB

On Steam Workshop

Description:

Use this mod to recover save games that normally won’t load because there are networks missing. As example: when you remove Network Extensions 2 from your active mod list and you try to load a savegame that used it. Also applies when someone else removes a custom network from Workshop.

NEW: At v0.0.1, now there’s an option to make any missing network with no replacement in file to replace it to a Basic Road. It will allow to recover saves immediately, but will require attention after loading a city since networks that weren’t originally a road kind now are. I recommend RON mod to fix them.

The steps

1) Ensure the Loading Screen Mod – LSM is installed and enabled, also its feature of report.
2) Ensure this mod is installed and enabled also
3) Load the corrupted savegame. It will break. When the load ends (with the bugged city loaded), close the game
4) Go to LSM’s report folder, and open the latest report from recently loaded savegame
5) Check the section of missing nets prefabs inside the required prefabs section (see image)
==> Sometimes the asset is available. Just subscribe it and the problem is gone. If not then continue with next steps for each occurence
6) Get the Steam Workshop ID from the asset URL (see image)
7) Go to replacement xml file, there’s a shortcut button in this mod options screen)
8) Open it in an editor, like Notepad++
9) Search by the Workshop ID you got from the URL. May have more than one occurence!
10) For each occurrence, switch the <Value /> Tag by a valid prefab value as <Value>[Prefab Internal Name]</Value>

After doing it for all entries, if done correctly, the savegame must be able to be full loaded. Save it with a different name and you don’t need to use this mod anymore for loading it!

NOTICE

In step 10, try replacing the missing asset by other that are similar, or you will need to upgrade all the occurrences to make the city work properly. May some transport lines break if you used an asset that is not available anymore and is switched, like the train stations.

Network Extensions 2 and MOM

There are entries to all Network Extensions 2 and MOM already filled with a proper vanilla replacement. The XML generated will provide values for them that can be edited later, if you want to replace by custom networks from Workshop. But remember: Workshop assets can be removed at any moment! And this may cancel this mod feature once there’s no second check!

Note that MOM stations will vanish since this mod doesn’t affect the buildings networks. (at least not in current version)

How I get the names from the assets to use in <Value> tag?

Well, I don’t have a short answer for this yet. By now, I advice to use the already filled values from the default MOM & NeXT2 entries, or use the CRPer[unera.se] to read an asset CRP file and get it name. For it, join the header’s field Workshop ID + "." + Name + "_Data".
An improved answer for this question must be done soon.

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.