Änderungen

9.950 Bytes hinzugefügt ,  15:54, 11. Mär. 2019
keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:  
{{Übersetzen}}
 
{{Übersetzen}}
[[EN:Saves]]
+
:''For information about how the game saves progress on mobile devices, see [[Mobile Saves]].''
 +
The game saves progress when the [[Day Cycle|in-game day]] ends, ''i.e.'', when the farmer goes to bed, collapses from exhaustion, or collapses at 2am. All progress during a day is lost if the player quits the game without ending the day.
 +
 
 +
==Save format==
 +
The saves are stored as XML files on your computer or mobile device. They're stored separately from your game, so you can safely reinstall or update the game without losing them. On PC, they're shared between different copies of the game (e.g. if you buy it from both GOG and Steam).
 +
 
 +
Each save has a folder like <tt>JonSnow_123456789</tt>, with two main files inside it: <tt>JonSnow_123456789</tt> and <tt>SaveGameInfo</tt>. Both files are needed to load the save.
 +
 
 +
==Find your save files==
 +
Note: in multiplayer, the save is only on the main player's computer.
 +
 
 +
===Windows===
 +
# Press {{key|Windows}} + {{key|R}} to show a 'run' dialogue box.
 +
# Paste this exact text: <pre>%appdata%\StardewValley\Saves</pre>
 +
# Click 'OK' to open the folder.
 +
 
 +
===Linux===
 +
# From ''Files'', click ''Go » Enter Location''.
 +
# Enter this exact text: <pre>~/.config/StardewValley/Saves</pre>
 +
# Submit to open the folder.
 +
 
 +
===Mac===
 +
# From ''Finder'', click ''Go » Go to Folder''.
 +
# Enter this exact text: <pre>~/.config/StardewValley/Saves</pre>
 +
# Submit to open the folder.
 +
 
 +
===Mobile (iOS)<span id="find-ios-saves"></span>===
 +
# Open iTunes on your computer.
 +
# Attach your iOS device via USB.
 +
# When iTunes opens, click on the device icon in the top toolbar (If the icon doesn't appear, try disconnecting and reconnecting the device USB cable). The device's page should appear.
 +
# Click 'File Sharing' in the menu on the left.
 +
# Click Stardew Valley in the 'apps' list that appears.
 +
# The 'Stardew Valley Documents' panel shows which save files are already on your iOS device. (They appear as folders, but you can't navigate into the folders directly.)
 +
 
 +
==Transfer a save==
 +
===Back up or transfer between two PCs===
 +
# [[#Find your save files|Find your save files]].
 +
# Zip the entire folder that looks like <tt>JonSnow_123456789</tt>.
 +
# Share or back up that zip file.
 +
 
 +
===iOS to PC===
 +
# [[#find-ios-saves|Find the saves in iTunes]].
 +
# Choose the save folder in iTunes and click the 'save' button.
 +
# That will save a folder containing two files (both required for the save to work).
 +
# Copy the whole folder to [[#Find your save files|your computer's save location]].
 +
 
 +
===PC to iOS===
 +
:# If you use mods, remove any custom content before transferring to mobile.
 +
:# [[#Find your save files|Find the save folder on your computer]].
 +
:# [[#find-ios-saves|Find the iOS saves in iTunes]].
 +
:# Copy the entire save folder (the one that looks like <tt>JonSnow_123456789</tt>) into the 'Stardew Valley Documents' panel in iTunes.<br />''Note: there's one folder for each save. You need to drag each of these folders into iTunes, so that the individual save folders are all in the 'root' of the 'Stardew Valley Documents' panel. You can't drag the folder containing all your save games into iTunes.''
 +
:# Click the 'sync' button in iTunes to synchronize your iOS device with your computer. The save should now appear in the game's Load Game menu on your device.
 +
 
 +
==Troubleshooting==
 +
===Save disappeared or doesn't load===
 +
Here's how to recover your save in most cases. (Note that save issues are almost always caused by the game itself, not mods.)
 +
 
 +
# [[#Find your save files|Find your save files]].
 +
#* If the files are still there, here are some common fixes (try one at a time):
 +
#*# If some of the files have <code>_STARDEWVALLEYSAVETMP</code> in the name, remove that from their name 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 [[#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:Player Guide/Getting Started#Find your game folder|game folder]].
 +
#*# Open the <tt>save-backups</tt> subfolder.
 +
#*# 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, [[Modding:Player Guide/Troubleshooting#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.
 +
 
 +
===Undo the last save===
 +
If something went wrong, you can undo the last save.
 +
 
 +
For a save from Linux/Mac/Windows:
 +
 
 +
:# [[#Find your save files|Find your save files]].<br /><small>You should see two files with an <tt>_old</tt> suffix in the name; if not, ask for help instead!</small>
 +
:# Back up your save folder just in case.
 +
:# Delete <tt>SaveGameInfo</tt> and the file that looks like <tt>YourName_123456789</tt>.
 +
:# Remove the <tt>_old</tt> suffix from <tt>SaveGameInfo_old</tt> and the file that looks like <tt>YourName_123456789_old</tt>.
 +
 
 +
For a save from iOS:
 +
 
 +
:# [[#Find your save files|Find your save files]].<br /><small>You should see a file with an <tt>_SVBAK</tt> suffix in the name; if not, ask for help instead!</small>
 +
:# Back up your save folder just in case.
 +
:# Delete the files that look like <tt>YourName_123456789</tt> and <tt>YourName_123456789_SVEMERG</tt>.
 +
:# Remove the <tt>_SVBAK</tt> suffix from the file that looks like <tt>YourName_123456789_SVBAK</tt>.
 +
 
 +
==Advanced==
 +
===Edit a save===
 +
[[File:Editing a save in Sublime Text.png|thumb|A save file open in Sublime Text with formatted XML.]]
 +
You can edit your save to fix some common issues or change your choices. '''This can permanently break your save; don't forget to [[#Back up or transfer between two PCs|create a backup first]].''' You should also avoid automatic save editor tools, since they often break the save.
 +
 
 +
# Install [https://www.sublimetext.com/ Sublime Text] for Linux, Mac, or Windows. (If you already have another text editor which supports XML formatting, feel free to use that instead.)
 +
# Install the [https://packagecontrol.io/installation Package Control extension for Sublime Text].
 +
# Use the Package Control extension to install the Indent XML plugin ([https://packagecontrol.io/docs/usage see documentation]).
 +
# Open [[#Find your save files|your save file]] (the file that looks like <tt>Name_0123456789</tt>) in Sublime Text.
 +
# Click Selection > Format > Indent XML.
 +
# Make any changes you want and save. (See [http://community.playstarbound.com/threads/save-file-editing-guide-for-solving-some-common-issues.110762/ a guide for common changes].)
 +
 
 +
===Duplicate a save===
 +
You can duplicate a save for testing purposes, or to explore different options without starting over.
 +
 
 +
# [[#Find your save files|Find your save files]].
 +
# Create the new save folder:
 +
## Duplicate the target save folder.
 +
## Rename the new folder:
 +
##* change the name so you can recognise it in-game;
 +
##* change the number at the end to any number that's not used by another save.
 +
## Open the new folder for the next steps.
 +
# Prepare the new files:
 +
## Delete any file whose name ends with <tt>_old</tt> or <tt>.back.*</tt>.
 +
## Rename the file that looks like <tt>Name_0123456789</tt> to match your new folder name.
 +
# Edit the save metadata:
 +
## Open the <tt>SaveGameInfo</tt> file in a text editor like Notepad.
 +
## Look for <code>&lt;name&gt;</code> on the first line. Your farmer's name should be right after that. Change it to your new name.
 +
## Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
 +
# Edit the save file:
 +
## Open the file that looks like <tt>Name_0123456789</tt> in a text editor like Notepad.
 +
## Look for <code>&lt;name&gt;</code> on the first line. Your farmer's name should be right after that. Change it to your new name.
 +
## Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
 +
## Search for the old save ID (the number from the filename). Change it to your new number.
 +
 
 +
That's it! Launch the game and check the load menu; you'll see both saves now.
 +
 
 +
===Change farm type===
 +
You can change [[Farm Maps|farm type]] by editing your save file:
 +
 
 +
<ol>
 +
<li>[[#Edit a save|Open your save file for editing]].</li>
 +
<li>Search for <tt>&lt;whichFarm&gt;</tt>. The number after that open tag is the farm type.</li>
 +
<li>Change the number to the one you want:
 +
{| class="wikitable"
 +
|-
 +
! code
 +
! farm type
 +
|-
 +
| 0
 +
| standard farm
 +
|-
 +
| 1
 +
| riverland farm
 +
|-
 +
| 2
 +
| forest farm
 +
|-
 +
| 3
 +
| hilltop farm
 +
|-
 +
| 4
 +
| wilderness farm
 +
|}
 +
</li>
 +
</ol>
 +
 
 +
That will change the farm map, but everything placed on the farm will stay where it is. You may have things in an invalid position, like trees in a lake. Here are some ways to fix that:
 +
 
 +
<ul>
 +
<li>Take note of what's out of bounds, then switch back to the old farm type and move them.</li>
 +
<li>If you [[Modding:Player Guide/Getting Started|use SMAPI]], install the [https://www.nexusmods.com/stardewvalley/mods/2329 Passable Objects] or [https://www.nexusmods.com/stardewvalley/mods/2820 BJS No Clip] mod to reach things that are out of bounds, so you can remove or move them.</li>
 +
<li>If you [[Modding:Player Guide/Getting Started|use SMAPI]], enter one of these commands in the SMAPI console:
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! effect
 +
|-
 +
| <code>world_clear farm debris</code>
 +
| remove stones, branches, weeds, and dead crops.
 +
|-
 +
| <code>world_clear farm trees</code>
 +
| remove non-fruit trees.
 +
|-
 +
| <code>world_clear farm fruit-trees</code>
 +
| remove fruit trees.
 +
|-
 +
| <code>world_clear farm grass</code>
 +
| remove tall grass.
 +
|-
 +
| <code>world_clear farm everything</code>
 +
| remove ''everything'', including placed objects.
 +
|}</li>
 +
</ul>
 +
 
 +
[[Category:Gameplay]]
 +
 
 +
[[en:Saves]]
 +
[[es:Partidas guardadas]]
 +
[[ja:セーブデータ]]
 +
[[pt:Jogos salvos]]
 +
[[ru:Сохранения]]
 +
[[zh:存档]]
105.831

Bearbeitungen