Repairing a corrupt savegame or worldmap: Difference between revisions

From Vintage Story Wiki
(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...")
 
No edit summary
Line 1: Line 1:
***If you get any kind of SQLiteException***
===If you get any kind of SQLiteException===


1. Download [https://www.sqlite.org/download.html sqlite]<br>
1. Download [https://www.sqlite.org/download.html sqlite]<br>
Line 6: Line 6:
3. Run the command <code>sqlite3 broken.vcdbs ".recover" | sqlite3 repaired.vcbds</code>, replace "broken.vcdbs" with your actual savegame name. This will try to fix any corrupted chunks.
3. Run the command <code>sqlite3 broken.vcdbs ".recover" | sqlite3 repaired.vcbds</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()***
===If you get an exception in Entity.FromBytes()===


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.

Revision as of 20:23, 9 June 2021

If you get any kind of SQLiteException

1. Download sqlite
2. Make yourself a bit familiar with the [sqlite client https://sqlite.org/cli.html]
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.vcbds, replace "broken.vcdbs" with your actual savegame name. This will try to fix any corrupted chunks.

If you get an exception in Entity.FromBytes()

Run the savegame in repair mode, fly to where the game crashes, then save again and start normally.