Repairing a corrupt savegame or worldmap: Difference between revisions

From Vintage Story Wiki
no edit summary
(Added Navbox)
Tags: Mobile edit Mobile web edit
No edit summary
Line 6: Line 6:
2. Make yourself a bit familiar with the [https://sqlite.org/cli.html sqlite client tools]<br>
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.<br>
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.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.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()===
===If you get an exception in Entity.FromBytes()===
Confirmedusers
115

edits