Repairing a corrupt savegame or worldmap: Difference between revisions
(Created page with "***If you get any kind of SQLiteException*** 1. Download [https://www.sqlite.org/download.html sqlite]<br> 2. Make yourself a bit familiar with the [sqlite client https://sql...") |
(removed tnt) |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages /> | |||
<translate> | |||
===If you get System.IO.InvalidDataException=== | |||
[[File:RepairMode.png|right]] | |||
Likely a corrupted chunk. Please run the game in repair mode once, which should regenerate the affected chunks. Click on the pencil icon of your world, there you'll find a 'Run in Repair mode' button | |||
===If you get any kind of SQLiteException=== | |||
This means a chunk or other part of your game world has gone corrupt, but you can probably still save most of it. | |||
1. Download [https://www.sqlite.org/download.html sqlite]<br> | 1. Download [https://www.sqlite.org/download.html sqlite]<br> | ||
2. Make yourself a bit familiar with the [ | 2. Make yourself a bit familiar with the [https://sqlite.org/cli.html sqlite client tools]<br> | ||
2. Set up a environment path or paste in your broken savegame right besides the sqlite binaries. | 2. Set up a environment path or paste in your broken savegame right besides the sqlite binaries.<br> | ||
3. Run the command <code>sqlite3 broken.vcdbs ".recover" | sqlite3 repaired. | 3. Run the command <code>sqlite3 broken.vcdbs ".recover" | sqlite3 repaired.vcdbs</code>, replace "broken.vcdbs" with your actual savegame name. This will try to fix any corrupted chunks. | ||
===If you get an exception in Entity.FromBytes()=== | |||
This means one of the world creatures or other types of entities have gone corrupt. This can be repaired from within the game | |||
Run the savegame in repair mode, fly to where the game crashes, then save again and start normally. | Run the savegame in repair mode, fly to where the game crashes, then save again and start normally. | ||
===If you get completely black chunks=== | |||
This means the lighting step of a chunk did not fully complete. You can fix these chunks manually by walking/flying into them and running the command <code>/debug cr</code> | |||
</translate> | |||
{{Game navbox}} | |||
[[Category:Guides]] |
Latest revision as of 20:41, 5 August 2023
If you get System.IO.InvalidDataException
Likely a corrupted chunk. Please run the game in repair mode once, which should regenerate the affected chunks. Click on the pencil icon of your world, there you'll find a 'Run in Repair mode' button
If you get any kind of SQLiteException
This means a chunk or other part of your game world has gone corrupt, but you can probably still save most of it.
1. Download sqlite
2. Make yourself a bit familiar with the sqlite client tools
2. Set up a environment path or paste in your broken savegame right besides the sqlite binaries.
3. Run the command sqlite3 broken.vcdbs ".recover" | sqlite3 repaired.vcdbs
, replace "broken.vcdbs" with your actual savegame name. This will try to fix any corrupted chunks.
If you get an exception in Entity.FromBytes()
This means one of the world creatures or other types of entities have gone corrupt. This can be repaired from within the game
Run the savegame in repair mode, fly to where the game crashes, then save again and start normally.
If you get completely black chunks
This means the lighting step of a chunk did not fully complete. You can fix these chunks manually by walking/flying into them and running the command /debug cr
Wiki Navigation | |
---|---|
Vintage Story | Guides • Frequently Asked Questions • Soundtrack • Versions • Controls |
Game systems | Crafting • Knapping • Clay forming • Smithing • Cooking • Temperature • Hunger • Mining • Temporal stability • Mechanical power • Trading • Farming • Animal husbandry |
World | World generation • Biomes • Weather • Temporal storms |
Items | Tools • Weapons • Armor • Clothing • Bags • Materials • Food |
Blocks | Terrain • Plants • Decorative • Lighting • Functional • Ore |
Entities | Hostile entities • Animals • NPCs • Players |
Miscellaneous | List of client commands • List of server commands • Creative Starter Guide • Bot System • WorldEdit • Cinematic Camera • Adjustable FPS Video Recording • ServerBlockTicking |