JereKuusela-Save_Recovery icon

Save Recovery

Recovers some corrupted saves. Uninstall after use.

Last updated a month ago
Total downloads 401
Total rating 0 
Categories Server-side
Dependency string JereKuusela-Save_Recovery-1.2.0
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2105 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2105

README

Save Recovery

Recovers some corrupted saves. Uninstall after use.

Install on the server (modding guide).

Features

  • Prevents the save corruption when converting old worlds to the new save format.
  • Fixes dungeons on already corrupted saves.
  • Possibly fixes overfilled crafting structures on already corrupted saves.

Save conversion

The Valheim update that optimized the save files reduces the amount of data that a single object can have. This has lead to some saves becoming corrupted.

The corruption happens when the save file is converted to the new much smaller new format. On the next load, the game tries to read the corrupted data and crashes.

When converting an old save, this mod automatically removes data from objects which could corrupt the save.

Mistlands dungeons

Some dungeons can generate with over 126 rooms. Since each room saves two values, 127 rooms overflows the 255 value limit.

This mod can read the corrupted room data and convert it to the new format (introduced in the Hildir update).

Overfilled crafting stations

Some mods allow increasing the amount of items that can be queued inside crafting stations. 256 or more items in the queue overflows the 255 value limit.

After corruption, this can only be fixed if the crafting station was full.

This mod removes extra items past the 255 limit and prints removed items to the console.

Before using this mod, it is important to fix the configuration so that the structures can't get more than 255 items. Otherwise the save will get corrupted again.

Modded creatures

Each spawn entry is stored on the zone object. Installing too many creature mods or otherwise adding more spawn or raid entries can corrupt the save if the 255 value limit is reached.

This typically happens when testing different mods so reseting the zone objects usually fixes the issue. However if the issue persists, you may have to reduce the amount of spawns.

This can't be fixed after corruption.

Credits

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.2

    • Fixed for the new update.
    • Changed dungeon recovery to not remove any rooms.
  • v1.1

    • Adds a fix for overfilled crafting structures.
  • v1.0

    • Initial release.

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2023-8-22 1.2.0 76 Version 1.2.0 Install
2023-7-9 1.1.0 184 Version 1.1.0 Install
2023-6-24 1.0.1 84 Version 1.0.1 Install
2023-6-24 1.0.0 57 Version 1.0.0 Install