Changes

Jump to navigation Jump to search
expand save error into generic recover-broken-save section
Line 64: Line 64:  
# On Mac, you can also [https://brew.sh install Homebrew] and run <code>brew install mono mono-libgdiplus</code> in the Terminal app.
 
# On Mac, you can also [https://brew.sh install Homebrew] and run <code>brew install mono mono-libgdiplus</code> in the Terminal app.
   −
===FileNotFoundException: Could not find file '...\SaveGameInfo'===
+
==Fix other issues==
Common fixes:
+
===Save disappeared or doesn't load===
* That error usually happens when the game was interrupted during save. To fix it, open the affected [[Saves|save folder]] and remove <code>_STARDEWVALLEYTMP</code> from the filenames. If this happens often, your antivirus may have a "real-time protection" feature that's locking the temporary save files. Add an exception to your antivirus for the saves folder to prevent that (look up your antivirus name with <code>add folder exception</code> to find instructions).
+
Here's how to recover your save in most cases. (Note the save issues are almost always caused by the game itself, not mods.)
* Don't keep backup folders in the saves folder. Either move those into a different folder, or delete them.
+
 
 +
# Find your [[Saves|save files]].
 +
#* If the files are still there, here are some common fixes (one at a time):
 +
#*# If some of the files have <code>_STARDEWVALLEYTMP</code> in the name, remove that and reload the game.
 +
#*# If you recently renamed or created the folder (e.g. to restore a backup), make sure the folder name '''exactly''' matches the file that looks like <tt>YourName_0123456789</tt>.
 +
#*# Try [[Saves#Undo the last save|undoing the last save]].
 +
#* If the files are missing but you have SMAPI installed, here's how to recover a backup:
 +
#*# Find your [[Modding:Game folder|game folder]].
 +
#*# Go to <tt>Mods/SaveBackup/backups</tt>.
 +
#*# Unzip the latest backup which has your save, and copy the save folder back into <tt>Saves</tt>.
 +
# If the above fixes didn't help, [[#ask for help|ask for help]]; we might be able to recover the save for you.
 +
 
 +
Note: don't keep backup folders in the saves folder, since the game will try to load them. Either move those into a different folder, or delete them.
   −
==Fix other issues==
   
===SMAPI files disappear or your antivirus complains===
 
===SMAPI files disappear or your antivirus complains===
 
Your antivirus might remove or complain about some SMAPI files. This is based on ''heuristic detection'' — SMAPI rewrites mods so they work on your computer, and rewriting files is something malware also does, so your antivirus got suspicious. Antiviruses learn to allow SMAPI after enough users download it, but this resets for each release. SMAPI doesn't have a trojan — you can check by [https://github.com/Pathoschild/SMAPI reading the code], [https://www.jetbrains.com/decompiler/ decompiling the download], or [https://www.virustotal.com/ uploading it to VirusTotal].
 
Your antivirus might remove or complain about some SMAPI files. This is based on ''heuristic detection'' — SMAPI rewrites mods so they work on your computer, and rewriting files is something malware also does, so your antivirus got suspicious. Antiviruses learn to allow SMAPI after enough users download it, but this resets for each release. SMAPI doesn't have a trojan — you can check by [https://github.com/Pathoschild/SMAPI reading the code], [https://www.jetbrains.com/decompiler/ decompiling the download], or [https://www.virustotal.com/ uploading it to VirusTotal].
translators
8,437

edits

Navigation menu