Сохранения

Материал из Stardew Valley Wiki
Перейти к навигации Перейти к поиску
Robin building.png
“Предстоит ещё много работы...”
— Робин

Неполный перевод

Эта статья или её часть до сих пор не переведены на русский язык. Вы можете оказать помощь в переводе путем ее редактирования.
Последний раз редактировалось Alpha в 2019-02-19 13:18:11.

For information about how the game saves progress on mobile devices, see Mobile Saves.

Прогресс в игре сохраняется, когда заканчивается игровой день, т.е. когда фермер или фермерша ложатся спать, засыпают от усталости или в 02:00. Если выйти из игры до окончания дня, потеряется весь прогресс, полученный в течение этого дня.

Формат сохранения

На компьютере или мобильном устройстве сохранения хранятся в виде XML-файлов. Они хранятся отдельно от файлов игры, так что вы не потеряете прогресс при переустановке или обновлении игры. На компьютере файлы также могут использоваться разными копиями игры (напр., если вы купили игру и в Steam, и в GOG). У каждого сохранения есть папка с названием типа JonSnow_123456789, в которой лежат 2 основных файла: JonSnow_123456789 и SaveGameInfo. Для загрузки сохранения нужны оба этих файла.

Как найти файлы сохранения

Примечание: если вы используете режим мультиплеера, файлы сохранения лежат только в компьютере главного игрока.

Windows

  1. Нажмите Windows + R, чтобы открыть утилиту «Выполнить».
  2. Вставьте в поле ввода эту строку:
    %appdata%\StardewValley\Saves
  3. Кликните 'OK', чтобы открыть нужную папку.

Linux

  1. From Files, click Go » Enter Location.
  2. Enter this exact text:
    ~/.config/StardewValley/Saves
  3. Submit to open the folder.

Mac

  1. From Finder, click Go » Go to Folder.
  2. Enter this exact text:
    ~/.config/StardewValley/Saves
  3. Submit to open the folder.

Mobile (iOS)

  1. Open iTunes on your computer.
  2. Attach your iOS device via USB.
  3. 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.
  4. Click 'File Sharing' in the menu on the left.
  5. Click Stardew Valley in the 'apps' list that appears.
  6. 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

  1. Find your save files.
  2. Zip the entire folder that looks like JonSnow_123456789.
  3. Share or back up that zip file.

iOS to PC

  1. Find the saves in iTunes.
  2. Choose the save folder in iTunes and click the 'save' button.
  3. That will save a folder containing two files (both required for the save to work).
  4. Copy the whole folder to your computer's save location.

PC to iOS

  1. If you use mods, remove any custom content before transferring to mobile.
  2. Find the save folder on your computer.
  3. Find the iOS saves in iTunes.
  4. Copy the entire save folder (the one that looks like JonSnow_123456789) into the 'Stardew Valley Documents' panel in iTunes.
    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.
  5. 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.)

  1. Find your save files.
    • If the files are still there, here are some common fixes (try one at a time):
      1. If some of the files have _STARDEWVALLEYTMP in the name, remove that from their name and reload the game.
      2. 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 YourName_0123456789.
      3. Try undoing the last save.
    • If the files are missing but you have SMAPI installed, here's how to recover a backup:
      1. Find your game folder.
      2. Go to Mods/SaveBackup/backups (or save-backups in SMAPI 2.8).
      3. Unzip the latest backup which has your save, and copy the save folder back into Saves.
  2. If the above fixes didn't 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.

  1. Find your save files.
    You should see two files with an _old suffix in the name; if not, ask for help instead!
  2. Back up your save folder just in case.
  3. Delete SaveGameInfo and the file that looks like YourName_123456789.
  4. Remove the _old suffix from SaveGameInfo_old and the file that looks like YourName_123456789_old.

Advanced

Edit a save

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.

  1. Install Sublime Text for Linux, Mac, or Windows. (If you already have another text editor which supports XML formatting, feel free to use that instead.)
  2. Install the Package Control extension for Sublime Text.
  3. Use the Package Control extension to install the Indent XML plugin (see documentation).
  4. Open your save file (the file that looks like Name_0123456789) in Sublime Text.
  5. Click Selection > Format > Indent XML.
  6. Make any changes you want and save. (See a guide for common changes.)

Duplicate a save

You can duplicate a save for testing purposes, or to explore different options without starting over.

  1. Find your save files.
  2. Create the new save folder:
    1. Duplicate the target save folder.
    2. 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.
    3. Open the new folder for the next steps.
  3. Prepare the new files:
    1. Delete any file whose name ends with _old or .back.*.
    2. Rename the file that looks like Name_0123456789 to match your new folder name.
  4. Edit the save metadata:
    1. Open the SaveGameInfo file in a text editor like Notepad.
    2. Look for <name> on the first line. Your farmer's name should be right after that. Change it to your new name.
    3. Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
  5. Edit the save file:
    1. Open the file that looks like Name_0123456789 in a text editor like Notepad.
    2. Look for <name> on the first line. Your farmer's name should be right after that. Change it to your new name.
    3. Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
    4. 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.