差分

ナビゲーションに移動 検索に移動
7,789 バイト追加 、 2018年11月18日 (日) 03:00
英語版からページ全体をコピーし作成
{{翻訳}}
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 the 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>_STARDEWVALLEYTMP</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]].
#*# Go to <tt>Mods/SaveBackup/backups</tt> (or <tt>save-backups</tt> in SMAPI 2.8).
#*# 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.

# [[#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>.

==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 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.

[[Category:ゲームプレイ]]

[[de:Spielständen]]
[[en:Saves]]
[[es:Partidas guardadas]]
[[pt:Jogos salvos]]
[[ru:Сохранения]]
[[zh:存档]]
227

回編集

案内メニュー