“存档”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
→‎编辑存档 add new text
(Remove unknown link)
 
(未显示11个用户的38个中间版本)
第1行: 第1行:
{{翻译}}
+
'''数据是无价的,当你打开本页面及其相关页面准备对存档或者游戏本身进行任何修改操作的时候,请记得备份相应文件。'''
 
:有关移动端游戏的保存机制,参见:[[手机存档]]
 
:有关移动端游戏的保存机制,参见:[[手机存档]]
 当[[ 日周期|游戏中的一天]]结束时会保存当前进度, ''例如'', 主角睡觉、 疲劳而昏倒 、在凌晨2点昏倒。如果玩家在一天还未结束时退出游戏会失去 天的所有进度。
+
 当[[ 游戏内时间|游戏中的一天]]结束时会保存当前进度, 包括 主角睡觉、 精疲力尽直至能量低 -15 、在凌晨2点昏倒。如果玩家在一天还未结束时退出游戏 会失去 游戏当 天的所有进度。
  
 
==存档文件格式==
 
==存档文件格式==
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).
+
游戏存档以没有拓展名的“文件”格式(实际上是XML的文件)存储在你的设备上。存档文件和游戏运行文件是分开储存在不同的文件夹中。你可以安全地重装或卸载游戏,而不用担心存档遭到删除(除了Android 1.5版本以上)。在PC端,不同平台(GOG,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.
+
'''注意:某些mod可能会永久性更改存档文件,当你再次安装游戏并且没有安装相应的mod的时候,会产生存档损坏的严重结果(缺乏了必须的运行文件,即mod丢失)。'''具体详见各个mod开发者在mod发布页或者mod内含的Readme文件中所警告的内容。
 +
 
 +
每个人物的游戏存档都有一个类似<samp>JonSnow_123456789</samp> 的文件夹,文件夹内有两个主要文件:<samp>JonSnow_123456789</samp> <samp>SaveGameInfo</samp> 。这两个文件是游戏加载存档时必须的重要文件。前者是玩家游戏存档的详细内容,而后者是保存的简略信息。当你打开游戏时,在游戏首页点击“加载”按钮时,<samp>SaveGameInfo</samp>会被加载,显示玩家名、农场名称、金钱、游戏时长等信息。在你点击某一个存档之后,形如<samp>JonSnow_123456789</samp>的文件才会被加载,你就可以开始游戏。如果<samp>SaveGameInfo</samp>损坏,可以使用其他玩家存档的这个文件,不影响正常游戏。
  
 
==游戏存档位置==
 
==游戏存档位置==
  存档是在你计算机上的一些XML文件。 存档与游戏放在不同的地方,所以你可以安全地重新安装或更新游戏,而不会丢失存档。存档在不同的游戏版本之间共享(举个例子,分别从GOG和Steam购买的游戏共享同一个存档)。
+
 存档与游戏放在不同的地方,所以你可以安全地重新安装或更新游戏,而不会丢失存档。存档在不同的游戏版本之间共享(举个例子,分别从GOG和Steam购买的游戏共享同一个存档)。
  
 每个存档都放在单独的文件夹,就像这样:<tt> 角色名字_123456789</tt>, 文件夹里有两个主要文件:<tt> 角色名字_123456789</tt> 和 <tt>SaveGameInfo</tt>。这两个文件都是必要的。
+
 每个存档都放在单独的文件夹,就像这样:<samp> 农场名_123456789</samp>, 文件夹里有两个主要文件:<samp> 农场名_123456789</samp> 和 <samp>SaveGameInfo</samp>。这两个文件都是必要的。
  
 
===Windows系统===
 
===Windows系统===
第35行: 第37行:
  
 
===手机 (Android系统)===
 
===手机 (Android系统)===
# Open your device's file explorer app. If your device does not come with a file explorer, you will need one that allows navigation of the internal storage, not just searching for a specific file.
+
# 打开文件管理器。如果你的设备没有文件管理器,你得有一个具有设备存储空间读写权限的软件。
# Select the <tt>StardewValley</tt> folder.
+
# 进入<pre>/storage/emulated/0</pre> (或<pre>/sdcard</pre>,即内部存储)
# Each subfolder inside with a name in the format of <tt>JonSnow_123456789</tt> is a save slot.
+
# 依次<pre> 进入Android/data/com.chucklefish.stardewvalley/files/Saves</pre>
  
===手机 (iOS系统)<span id="find-ios-saves"></span>===
+
===手机 (iOS系统) (针对于简体中文版本的iOS)<span id="find-ios-saves"></span>===
 
'''iOS 13 或者更新的iOS系统版本'''
 
'''iOS 13 或者更新的iOS系统版本'''
# Open the <tt>Files</tt> app.
+
# 打开 <samp> 文件</samp> 应用。
# Tap the <tt>Browse</tt> button on the bottom-right side of the screen.
+
# 点击屏幕上的的<samp> 浏览</samp> 按钮。
# Under the Locations section, tap <tt>On My iPhone/iPad</tt>.
+
# 在位置部分下,点击<samp> 我的iPhone/iPad</samp>.
# Select the <tt>Stardew Valley</tt> folder.
+
# 选择 <samp>Stardew Valley</samp> 文件夹.
# Each subfolder inside with a name in the format of <tt>JonSnow_123456789</tt> is a save slot.
 
  
 
'''iOS 12 或者更早的iOS系统版本:'''<br />
 
'''iOS 12 或者更早的iOS系统版本:'''<br />
Note: On macOS 10.15 this iTunes feature has been moved to the Finder.
+
提示: macOS 10.15 上,此 iTunes 功能已移至Finder(查找器)。
# Open iTunes on your computer.
+
# 打开电脑上的iTunes。
# Attach your iOS device via USB.
+
# 使用数据线将手机连接到电脑上的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.
+
# iTunes 打开时,单击顶部工具栏中的设备图标(如果该图标未出现,请尝试断开并重新连接设备 USB 接口)。 设备的页面应该出现。
# Click 'File Sharing' in the menu on the left.
+
# 单击左侧菜单中的“文件共享”。
# Click Stardew Valley in the 'apps' list that appears.
+
# 在出现的“应用程序”列表中单击 Stardew Valley
# 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.)
+
# “Stardew Valley Documents ”面板显示您的 iOS 设备上已经存在哪些保存文件。 (它们显示为文件夹,但您无法直接导航到文件夹中。)
  
== 备份或分享 你的存档==
+
== 传输 你的存档==
 
===在两台电脑间进行备份或者传递存档===
 
===在两台电脑间进行备份或者传递存档===
# [[#Find your save files|Find your save files]].
+
# 找到你的[[ 存档# 游戏存档位置| 存档文件夹]]
# Zip the entire folder that looks like <tt>JonSnow_123456789</tt>.
+
# 将例如 <samp>JonSnow_123456789</samp> 这样的文件夹整个压缩打包成一个单独的文件。
# Share or back up that zip file.
+
# 分享或者备份存储这个压缩包文件。
 +
注意:
 +
* 上述方法不是唯一解;
 +
* 压缩包文件某种程度上可以保证文件在传递过程中不会出现文件丢失的情况。
  
 
===Android===
 
===Android===
 
:; Android手机传递到电脑
 
:; Android手机传递到电脑
  
::# [https://support.google.com/android/answer/9064445 Connect the device to your PC].
+
::# 通过网络云盘、USB、蓝牙、WiFi、FTP或NSA等任意一种[https://support.google.com/android/answer/9064445 途径] 将你的设备和电脑连接起来。
::# Browse to internal shared storage > <tt>StardewValley</tt>.
+
::# 浏览手机内部存储,找到并发送 <samp>StardewValley</samp> 至电脑。
::# Copy the entire save folder (the one that looks like <tt>JonSnow_123456789</tt>) into [[#Find your save files|your computer's saves folder]].
+
::# 将整个存档文件(<samp>StardewValley</samp> 的子文件中类似 <samp>JonSnow_123456789</samp> 这样的子文件) 复制到[[ 存档# 游戏存档位置| 电脑游戏存档路径]] 中。
  
 
:; 电脑传递到Android手机
 
:; 电脑传递到Android手机
  
::# If you use mods, remove any custom content before transferring to mobile.
+
::# 如果你使用了mod,在传输前你必须把自定义内容(mod、材质包、替换文件等非官方编译的游戏运行文件)全部移除。
::# [[#Find your save files|Find the save folder on your computer]].
+
::# 打开[[ 存档# 游戏存档位置| 电脑端存档路径]]
::# [https://support.google.com/android/answer/9064445 Connect the device to your PC].
+
::# 通过网络云盘、USB、蓝牙、WiFi、FTP或NSA等任意一种[https://support.google.com/android/answer/9064445 途径] 将你的设备和手机连接起来。
::# Browse to internal shared storage > <tt>StardewValley</tt>. (The folder won't appear if you haven't created a save on Android yet.)
+
::# 浏览手机内部储存,找到 <samp>StardewValley</samp> 。(这个文件夹在你第一次游玩之前是不会出现在存储空间的根目录之中的。)
::# Copy the entire save folder (the one that looks like <tt>JonSnow_123456789</tt>) into the saves folder on your device.
+
::# 在电脑端把整个存档文件(类似 <samp>JonSnow_123456789</samp> 这样的子文件)复制到手机上对应的文件夹路径中。
  
 
===iOS===
 
===iOS===
Note: On macOS 10.15 this iTunes feature has been moved to the Finder.
+
提示: macOS 10.15 上,此 iTunes 功能已移至Finder(查找器)。
 
:; iOS 传递到电脑
 
:; iOS 传递到电脑
  
::# [[#find-ios-saves|Find the saves in iTunes]].
+
::# [[#find-ios-saves| 在iTunes查找保存]].
::# Choose the save folder in iTunes and click the 'save' button.
+
::# iTunes 中选择保存文件夹,然后单击“保存”按钮。
::# 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]].
+
::# 将整个文件夹复制到 [[#Find your save files| 您计算机的保存位置]].
  
:; 电脑传 递到 iOS
+
:; 电脑传 送到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]].
+
::# [[#find-ios-saves| 在 iTunes 中查找 iOS 保存]]
::# 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.''
+
::# 将整个存档文件夹(类似于 <samp>JonSnow_123456789</samp> 的文件夹)复制到 iTunes 的“Stardew Valley Documents ”面板中。<br />'' 注意:每次存档都有一个文件夹。 您需要将这些文件夹中的每一个拖到 iTunes 中,以便各个保存文件夹都在“Stardew Valley Documents ”面板的“root”中。 您不能将包含所有保存游戏的文件夹拖到 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.
+
::# 单击 iTunes 中的“同步”按钮将您的 iOS 设备与您的计算机同步。 保存现在应该出现在您设备上游戏的加载游戏菜单中。
  
 
==疑难解答==
 
==疑难解答==
 
===存档消失或者无法加载===
 
===存档消失或者无法加载===
Here's how to recover your save in most cases. (Note that save issues are almost always caused by the game itself, not mods.)
+
大多数情况下可以通过一下方法恢复的你的存档。( 注意:这些存档问题一般是由游戏本身导致的,而非MOD。)
  
# [[#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.
+
#*# 如果有些文件的文件名中包含 <code>_STARDEWVALLEYSAVETMP</code> , 将其从文件名中移除并重启游戏。
#*# 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>.
+
#*# 如果你最近重命名或者创建了一个文件夹,( 例如:恢复了一个备份), 确保文件夹的名称与 <samp>YourName_0123456789</samp> 相应的文件''' 完全''' 匹配。
#*# Try [[#Undo the last save|undoing the last save]].
+
#*# 尝试 [[#Undo the last save| 撤销上一次存档]].
#* If the files are missing but you have SMAPI installed, here's how to recover a backup:
+
#* 如果存档文件不存在,但是你已安装了 SMAPI , 可通过下面的方式恢复备份:
#*# Find your [[Modding:Player Guide/Getting Started#Find your game folder|game folder]].
+
#*# 找到你的游戏文件夹
#*# Open the <tt>save-backups</tt> subfolder.
+
#*# 打开 <samp>save-backups</samp> 子文件夹.
#*# Unzip the latest backup which has your save, and copy the save folder back into <tt>Saves</tt>.
+
#*# 解压最新的包含了你的存档的备份文件,并且复制存档文件夹然后粘贴到 <samp>Saves</samp>
# If the above fixes didn't help, [https://community.playstarbound.com/threads/missing-corrupt-save-file-troubleshooting-guide.112827/ see this guide] or [[Modding:Player Guide/Troubleshooting#Ask for help|ask for help]]; we might be able to recover the save for you.
+
# 如果以上方法无效,通过[https://community.playstarbound.com/threads/missing-corrupt-save-file-troubleshooting-guide.112827/ see this guide] [[Modding:Player Guide/Troubleshooting#Ask for help|ask for help]]; 我们可能会找到方法帮你恢复你的存档。
  
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.
+
注意: 不要在游戏启动之前,将备份文件夹置于存档文件夹中。要么将其置于不同的文件夹内,要么删除他们。
  
=== 取消最后 次保存进度===
+
=== 回档到前 ===
If something went wrong, you can undo the last save.
+
如果出现问题,您可以撤消上次保存。
  
For a save from Linux/Mac/Windows/Android:
+
Linux/Mac/Windows/Android 保存:
  
:# [[#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>
+
:# [[#Find your save files| 查找您的保存文件]] <br /><small> 您应该会看到两个文件名带有 <samp>_old</samp> 后缀; 如果没有,请寻求帮助!</small>
:# Back up your save folder just in case.
+
:# 备份您的保存文件夹以防万一。
:# Delete <tt>SaveGameInfo</tt> and the file that looks like <tt>YourName_123456789</tt>.
+
:# 删除 <samp>SaveGameInfo</samp> 和看起来像 <samp>YourName_123456789</samp> 的文件。
:# Remove the <tt>_old</tt> suffix from <tt>SaveGameInfo_old</tt> and the file that looks like <tt>YourName_123456789_old</tt>.
+
:# <samp>SaveGameInfo_old</samp> 和看起来像 <samp>YourName_123456789_old</samp> 的文件中删除 <samp>_old</samp> 后缀。
  
For a save from iOS:
+
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>
+
:# [[#Find your save files| 查找您的保存文件]] <br /><small> 您应该会看到名称中带有 <samp>_SVBAK</samp> 后缀的文件; 如果没有,请寻求帮助!</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>.
+
:# 删除类似于 <samp>YourName_123456789</samp> <samp>YourName_123456789_SVEMERG</samp> 的文件。
:# Remove the <tt>_SVBAK</tt> suffix from the file that looks like <tt>YourName_123456789_SVBAK</tt>.
+
:# 从看起来像 <samp>YourName_123456789_SVBAK</samp> 的文件中删除 <samp>_SVBAK</samp> 后缀。
  
 
==高级==
 
==高级==
 
===编辑存档===
 
===编辑存档===
[[File:Editing a save in Sublime Text.png|thumb|A save file open in Sublime Text with formatted XML.]]
+
[[File:Editing a save in Sublime Text.png|thumb| 一个用Sublime Text 打开并按Xml格式化了的存档文件。]]
You can edit your save to fix some common issues or change your choices. '''This can permanently break your save if you make a mistake; 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.)
+
这里推荐的是Sublime Text 这个软件。当然,其他文本编辑软件也是可以的。
# Install the [https://packagecontrol.io/installation Package Control extension for Sublime Text].
 
# Use the Package Control extension to install the ''Indent XML'' and ''XPath'' plugins (see [https://packagecontrol.io/docs/usage how to add plugins]).
 
# 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 the sections below, [https://www.reddit.com/r/StardewValley/comments/8i5z1j/guide_how_to_change_hosts_of_a_multiplayer_save/ this guide for changing the host of a co-op save], and [http://community.playstarbound.com/threads/save-file-editing-guide-for-solving-some-common-issues.110762/ this guide for other changes].)
 
  
'''Tips:'''
+
步骤:
<ul>
+
# 安装[https://www.sublimetext.com/ Sublime Text](Linux、Mac、Windows三大系统均兼容)。
<li>Click an element, and press <tt>CTRL</tt> + <tt>SHIFT</tt> + <tt>[</tt> to collapse the whole section which contains it. This is useful when you want to ignore a large field. For example, given this text in the save file:
+
# 安装[https://packagecontrol.io/installation Sublime Text的插件管理器(Package Control)]。
<source lang="xml">
+
# 通过插件管理器安装''Indent XML''和''XPath''插件(详见[https://packagecontrol.io/docs/usage 如何添加插件])。
<ArrayOfInt>
+
# 打开存档(比方说<samp>Name_0123456789</samp> ) 。
   <int>1981</int>
+
# 将文本以Xml格式显示。依次:菜单栏 - 选择 - Format - Indent XML。英文对照:Selection > Format > Indent XML。
   <int>0</int>
+
# 开始编辑存档吧。目前暂时只有一些英文教程:[https://www.reddit.com/r/StardewValley/comments/8i5z1j/guide_how_to_change_hosts_of_a_multiplayer_save/ 通过编辑联机模式存档来改变主机]、[http://community.playstarbound.com/threads/save-file-editing-guide-for-solving-some-common-issues.110762/ 改变一些常规数据]。
   <int>0</int>
 
   <int>0</int>
 
   <int>0</int>
 
   <int>0</int>
 
</ArrayOfInt>
 
</source>
 
Click on one of the <tt><int></tt> fields and press those keys, and it will collapse into this:
 
<source lang="xml">
 
<ArrayOfInt> [ …]
 
</ArrayOfInt>
 
</source>
 
</li>
 
<li>Click any element, and look in the status bar to see the path to where you are in the save format (like <tt>/SaveGame/player/friendships/item[32]</tt>).</li>
 
</ul>
 
  
 
===复制存档===
 
===复制存档===
 
 你可以复制一个存档来测试一些有特定目的的活动,而不必担心这些实验性活动更改了你的存档,并避免了为了测试一些选项而重开一个新存档的麻烦事。
 
 你可以复制一个存档来测试一些有特定目的的活动,而不必担心这些实验性活动更改了你的存档,并避免了为了测试一些选项而重开一个新存档的麻烦事。
  
# [[#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:
+
## 删除以 <samp>_old</samp> <samp>.back.*</samp> 结尾的文件。
## Delete any file whose name ends with <tt>_old</tt> or <tt>.back.*</tt>.
+
## 重命名存档文件:找到像 <samp>Name_0123456789</samp> 的文件,重命名,新名字与刚刚文件夹的重命名相同。
## Rename the file that looks like <tt>Name_0123456789</tt> to match your new folder name.
+
# 存档元数据:
# Edit the save metadata:
+
## 记事本打开 <samp>SaveGameInfo</samp> 文件。
## Open the <tt>SaveGameInfo</tt> file in a text editor like Notepad.
+
## 找到第一行<code>&lt;name&gt;</code> 节点,后面就是玩家的名字。改成新名字。
## 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.
+
## 记事本打开类似于 <samp>Name_0123456789</samp> 文件。
# Edit the save file:
+
## 同样找到第一行<code>&lt;name&gt;</code> 节点,后面就是玩家的名字。改成新名字。
## Open the file that looks like <tt>Name_0123456789</tt> in a text editor like Notepad.
+
## ctrl+f 查找<code>uniqueIDForThisGame</code>,后面那串数字就是你之前存档的尾号,将其改成重命名后的尾号。
## 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.
+
完事了,现在游戏里应该同时能看到原存档和你刚刚复制的存档了。
  
 
===更改农场类型===
 
===更改农场类型===
 
 你可以通过更改游戏存档文件来变更你的[[农场地图|农场类型]]:
 
 你可以通过更改游戏存档文件来变更你的[[农场地图|农场类型]]:
 
<ol>
 
<ol>
<li>[[#Edit a save|Open your save file for editing]].</li>
+
<li>[[# 编辑存档| 打开存档]] </li>
<li>Search for <tt>&lt;whichFarm&gt;</tt>. The number after that open tag is the farm type.</li>
+
<li> 搜索 <samp>&lt;whichFarm&gt;</samp> ,后面跟着的那个数字就是农场类型。
<li>Change the number to the one you want:
+
{|class="wikitable"
{| class="wikitable"
 
 
|-
 
|-
! code
+
! 数字
! farm type
+
! 农场类型
 
|-
 
|-
 
| 0
 
| 0
| standard farm
+
| 标准农场
 
|-
 
|-
 
| 1
 
| 1
| riverland farm
+
| 河流农场
 
|-
 
|-
 
| 2
 
| 2
| forest farm
+
| 森林农场
 
|-
 
|-
 
| 3
 
| 3
| hilltop farm
+
| 山顶农场
 
|-
 
|-
 
| 4
 
| 4
| wilderness farm
+
| 荒野农场
 
|-
 
|-
 
| 5
 
| 5
| four corners farm
+
| 四角农场
 
|}
 
|}
 
</li>
 
</li>
 
</ol>
 
</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>
 
<ul>
<li>Take note of what's out of bounds, then switch back to the old farm type and move them.</li>
+
<li> 两种用mod的方法:</li>
<li>If you [[Modding:Player Guide/Getting Started|use SMAPI]], install the {{nexus mod|3900|Noclip Mode}} mod to reach things that are out of bounds, so you can remove or move them.</li>
+
<li>{{nexus mod|3900| 穿墙mod(Noclip Mode }} ,通过穿墙(水也能穿)来打掉错位的物品。</li>
<li>If you [[Modding:Player Guide/Getting Started|use SMAPI]], enter one of these commands in the SMAPI console:
+
<li>SMAPI 自带一个控制台命令mod(Console Commands),以下一些命令可能适合:
{| class="wikitable"
+
{|class="wikitable"
 
|-
 
|-
! command
+
! 命令
! effect
+
! 作用
 
|-
 
|-
 
| <code>world_clear farm debris</code>
 
| <code>world_clear farm debris</code>
| remove stones, branches, weeds, and dead crops.
+
| 移除农场的石头、树状、杂草、枯萎的作物。
 
|-
 
|-
 
| <code>world_clear farm trees</code>
 
| <code>world_clear farm trees</code>
| remove non-fruit trees.
+
| 移除农场所有的树(除了果树)。
 
|-
 
|-
 
| <code>world_clear farm fruit-trees</code>
 
| <code>world_clear farm fruit-trees</code>
| remove fruit trees.
+
| 移除农场所有的果树。
 
|-
 
|-
 
| <code>world_clear farm grass</code>
 
| <code>world_clear farm grass</code>
| remove tall grass.
+
| 移除农场所有的草。
 
|-
 
|-
 
| <code>world_clear farm everything</code>
 
| <code>world_clear farm everything</code>
| remove ''everything'', including placed objects.
+
| 移除所有放置在农场的东西,包括以上所有,还包括所有的“物品”(比如箱子、熔炉、宝石复制机等等)。
 
|}</li>
 
|}</li>
 
</ul>
 
</ul>
  
===移除一个NPC===
+
[[Category: 游戏玩法]]
You can remove an NPC from your save file (e.g. to fix an NPC permanently stuck in an invalid place). If it still exists in the game data, the NPC will respawn when you reload the save file. This should be a last resort, and is unnecessary when using SMAPI versions 3.0 and up, as SMAPI will attempt to remove this data for you.
 
 
 
# [[#Edit a save|Open your save file for editing]]. Make sure you format the file for readability per those instructions.
 
# Remove the NPC:
 
## Search for the NPC's default name between 'name' tags (e.g. to remove Penny: <tt>&lt;name&gt;Penny&lt;/name&gt;</tt>).
 
## Remove the entire 'NPC' section containing the line you found, starting from the previous <tt>&lt;NPC&gt;</tt> line up to and including the next <tt>&lt;/NPC&gt;</tt> line.
 
# ''(optional)'' Remove the NPC friendship data:
 
## Search for the NPC's default name between 'string' tags (e.g. to remove Penny: <tt>&lt;string&gt;Penny&lt;/string&gt;</tt>).
 
## Remove the entire 'item' section containing the line you found, starting from the previous <tt>&lt;item&gt;</tt> line up to the next <tt>&lt;/item&gt;</tt> line.
 
 
 
[[Category:Gameplay]]
 
  
 
[[de:Gespeichertes Spiel]]
 
[[de:Gespeichertes Spiel]]
 +
[[en:Saves]]
 
[[es:Partidas guardadas]]
 
[[es:Partidas guardadas]]
 
[[fr:Jeux sauvegardés]]
 
[[fr:Jeux sauvegardés]]
第270行: 第241行:
 
[[ru:Сохранения]]
 
[[ru:Сохранения]]
 
[[tr:Kayıtlı Oyunlar]]
 
[[tr:Kayıtlı Oyunlar]]
[[zh:存档]]
 

2023年6月20日 (二) 17:45的最新版本

数据是无价的,当你打开本页面及其相关页面准备对存档或者游戏本身进行任何修改操作的时候,请记得备份相应文件。

有关移动端游戏的保存机制,参见:手机存档

游戏中的一天结束时会保存当前进度,包括主角睡觉、精疲力尽直至能量低于-15、在凌晨2点昏倒。如果玩家在一天还未结束时退出游戏,会失去游戏当天的所有进度。

存档文件格式

游戏存档以没有拓展名的“文件”格式(实际上是XML的文件)存储在你的设备上。存档文件和游戏运行文件是分开储存在不同的文件夹中。你可以安全地重装或卸载游戏,而不用担心存档遭到删除(除了Android 1.5版本以上)。在PC端,不同平台(GOG,steam)发售的星露谷的存档是通用的(本质上不同数字游戏发售平台发售的版本的核心游戏文件是完全一样的)。

注意:某些mod可能会永久性更改存档文件,当你再次安装游戏并且没有安装相应的mod的时候,会产生存档损坏的严重结果(缺乏了必须的运行文件,即mod丢失)。具体详见各个mod开发者在mod发布页或者mod内含的Readme文件中所警告的内容。

每个人物的游戏存档都有一个类似JonSnow_123456789的文件夹,文件夹内有两个主要文件:JonSnow_123456789SaveGameInfo。这两个文件是游戏加载存档时必须的重要文件。前者是玩家游戏存档的详细内容,而后者是保存的简略信息。当你打开游戏时,在游戏首页点击“加载”按钮时,SaveGameInfo会被加载,显示玩家名、农场名称、金钱、游戏时长等信息。在你点击某一个存档之后,形如JonSnow_123456789的文件才会被加载,你就可以开始游戏。如果SaveGameInfo损坏,可以使用其他玩家存档的这个文件,不影响正常游戏。

游戏存档位置

存档与游戏放在不同的地方,所以你可以安全地重新安装或更新游戏,而不会丢失存档。存档在不同的游戏版本之间共享(举个例子,分别从GOG和Steam购买的游戏共享同一个存档)。

每个存档都放在单独的文件夹,就像这样:农场名_123456789, 文件夹里有两个主要文件:农场名_123456789SaveGameInfo。这两个文件都是必要的。

Windows系统

以下为找到存档的方法:

  1. 按键盘上的Windows + R打开'运行'窗口。
  2. 复制并粘贴此路径到输入框:
    %appdata%\StardewValley\Saves
  3. 点击'确定'即可打开文件夹。

Linux系统

以下为找到存档的方法:

  1. 打开Files,点击 Go » Enter Location
  2. 复制并粘贴此路径:
    ~/.config/StardewValley/Saves
  3. 提交即可打开文件夹。

Mac系统

以下为找到存档的方法:

  1. 打开Finder,点击Go » Go to Folder.
  2. 复制并粘贴此路径:
    ~/.config/StardewValley/Saves
  3. 提交即可打开文件夹。

手机 (Android系统)

  1. 打开文件管理器。如果你的设备没有文件管理器,你得有一个具有设备存储空间读写权限的软件。
  2. 进入
    /storage/emulated/0
    (或
    /sdcard
    ,即内部存储)
  3. 依次
    进入Android/data/com.chucklefish.stardewvalley/files/Saves

手机 (iOS系统)(针对于简体中文版本的iOS)

iOS 13 或者更新的iOS系统版本

  1. 打开 文件应用。
  2. 点击屏幕上的的浏览按钮。
  3. 在位置部分下,点击 我的iPhone/iPad.
  4. 选择 Stardew Valley 文件夹.

iOS 12 或者更早的iOS系统版本:
提示: 在 macOS 10.15 上,此 iTunes 功能已移至Finder(查找器)。

  1. 打开电脑上的iTunes。
  2. 使用数据线将手机连接到电脑上的USB接口上。
  3. 当 iTunes 打开时,单击顶部工具栏中的设备图标(如果该图标未出现,请尝试断开并重新连接设备 USB 接口)。 设备的页面应该出现。
  4. 单击左侧菜单中的“文件共享”。
  5. 在出现的“应用程序”列表中单击 Stardew Valley。
  6. “Stardew Valley Documents”面板显示您的 iOS 设备上已经存在哪些保存文件。 (它们显示为文件夹,但您无法直接导航到文件夹中。)

传输你的存档

在两台电脑间进行备份或者传递存档

  1. 找到你的存档文件夹
  2. 将例如 JonSnow_123456789 这样的文件夹整个压缩打包成一个单独的文件。
  3. 分享或者备份存储这个压缩包文件。

注意:

  • 上述方法不是唯一解;
  • 压缩包文件某种程度上可以保证文件在传递过程中不会出现文件丢失的情况。

Android

Android手机传递到电脑
  1. 通过网络云盘、USB、蓝牙、WiFi、FTP或NSA等任意一种途径将你的设备和电脑连接起来。
  2. 浏览手机内部存储,找到并发送 StardewValley 至电脑。
  3. 将整个存档文件(StardewValley 的子文件中类似 JonSnow_123456789 这样的子文件) 复制到电脑游戏存档路径中。
电脑传递到Android手机
  1. 如果你使用了mod,在传输前你必须把自定义内容(mod、材质包、替换文件等非官方编译的游戏运行文件)全部移除。
  2. 打开电脑端存档路径
  3. 通过网络云盘、USB、蓝牙、WiFi、FTP或NSA等任意一种途径将你的设备和手机连接起来。
  4. 浏览手机内部储存,找到 StardewValley 。(这个文件夹在你第一次游玩之前是不会出现在存储空间的根目录之中的。)
  5. 在电脑端把整个存档文件(类似 JonSnow_123456789 这样的子文件)复制到手机上对应的文件夹路径中。

iOS

提示: 在 macOS 10.15 上,此 iTunes 功能已移至Finder(查找器)。

iOS 传递到电脑
  1. 在iTunes查找保存.
  2. 在 iTunes 中选择保存文件夹,然后单击“保存”按钮。
  3. 这将保存一个包含两个文件的文件夹(两个文件都是保存工作所必需的)。
  4. 将整个文件夹复制到 您计算机的保存位置.
电脑传送到iOS
  1. 如果您使用模组,请在转移到移动设备之前删除任何自定义内容。
  2. 查找您计算机上的保存文件夹
  3. 在 iTunes 中查找 iOS 保存
  4. 将整个存档文件夹(类似于 JonSnow_123456789 的文件夹)复制到 iTunes 的“Stardew Valley Documents”面板中。
    注意:每次存档都有一个文件夹。 您需要将这些文件夹中的每一个拖到 iTunes 中,以便各个保存文件夹都在“Stardew Valley Documents”面板的“root”中。 您不能将包含所有保存游戏的文件夹拖到 iTunes 中。”
  5. 单击 iTunes 中的“同步”按钮将您的 iOS 设备与您的计算机同步。 保存现在应该出现在您设备上游戏的加载游戏菜单中。

疑难解答

存档消失或者无法加载

大多数情况下可以通过一下方法恢复的你的存档。(注意:这些存档问题一般是由游戏本身导致的,而非MOD。)

  1. 找到你的存档文件
    • 如果存档文件还在,可通过下面的办法进行修复。(请一次只尝试一种办法):
      1. 如果有些文件的文件名中包含 _STARDEWVALLEYSAVETMP , 将其从文件名中移除并重启游戏。
      2. 如果你最近重命名或者创建了一个文件夹,(例如:恢复了一个备份), 确保文件夹的名称与 YourName_0123456789 相应的文件完全匹配。
      3. 尝试 撤销上一次存档.
    • 如果存档文件不存在,但是你已安装了 SMAPI, 可通过下面的方式恢复备份:
      1. 找到你的游戏文件夹
      2. 打开 save-backups 子文件夹.
      3. 解压最新的包含了你的存档的备份文件,并且复制存档文件夹然后粘贴到 Saves
  2. 如果以上方法无效,通过see this guideask for help; 我们可能会找到方法帮你恢复你的存档。

注意: 不要在游戏启动之前,将备份文件夹置于存档文件夹中。要么将其置于不同的文件夹内,要么删除他们。

回档到前一天

如果出现问题,您可以撤消上次保存。

从 Linux/Mac/Windows/Android 保存:

  1. 查找您的保存文件
    您应该会看到两个文件名带有 _old 后缀; 如果没有,请寻求帮助!
  2. 备份您的保存文件夹以防万一。
  3. 删除 SaveGameInfo 和看起来像 YourName_123456789 的文件。
  4. SaveGameInfo_old 和看起来像 YourName_123456789_old 的文件中删除 _old 后缀。

从 iOS 保存:

  1. 查找您的保存文件
    您应该会看到名称中带有 _SVBAK 后缀的文件; 如果没有,请寻求帮助!
  2. 备份您的保存文件夹以防万一。
  3. 删除类似于 YourName_123456789YourName_123456789_SVEMERG 的文件。
  4. 从看起来像 YourName_123456789_SVBAK 的文件中删除 _SVBAK 后缀。

高级

编辑存档

一个用Sublime Text打开并按Xml格式化了的存档文件。

在编辑存档前,别忘记备份存档!

这里推荐的是Sublime Text这个软件。当然,其他文本编辑软件也是可以的。

步骤:

  1. 安装Sublime Text(Linux、Mac、Windows三大系统均兼容)。
  2. 安装Sublime Text的插件管理器(Package Control)
  3. 通过插件管理器安装Indent XMLXPath插件(详见如何添加插件)。
  4. 打开存档(比方说Name_0123456789) 。
  5. 将文本以Xml格式显示。依次:菜单栏 - 选择 - Format - Indent XML。英文对照:Selection > Format > Indent XML。
  6. 开始编辑存档吧。目前暂时只有一些英文教程:通过编辑联机模式存档来改变主机改变一些常规数据

复制存档

你可以复制一个存档来测试一些有特定目的的活动,而不必担心这些实验性活动更改了你的存档,并避免了为了测试一些选项而重开一个新存档的麻烦事。

  1. 找到存档位置
  2. 存档复制第二份,放在与原存档相同的目录下。
  3. 此时系统必会让你重命名,因为同一个文件夹下不能有两个同名的文件。以以下规则重命名:
    • 新名字你得分辨得出来,不要过几天你就忘记这个存档是做什么的了。
    • 结尾的那一串数字,这里称作存档的尾号。每个存档尾号都是不同的。
  4. 以下所有操作都在此复制过来的文件夹里进行。
  5. 一些文件:
    1. 删除以 _old.back.* 结尾的文件。
    2. 重命名存档文件:找到像 Name_0123456789 的文件,重命名,新名字与刚刚文件夹的重命名相同。
  6. 存档元数据:
    1. 记事本打开 SaveGameInfo 文件。
    2. 找到第一行<name>节点,后面就是玩家的名字。改成新名字。
  7. 主存档:
    1. 记事本打开类似于 Name_0123456789 文件。
    2. 同样找到第一行<name>节点,后面就是玩家的名字。改成新名字。
    3. ctrl+f 查找uniqueIDForThisGame,后面那串数字就是你之前存档的尾号,将其改成重命名后的尾号。

完事了,现在游戏里应该同时能看到原存档和你刚刚复制的存档了。

更改农场类型

你可以通过更改游戏存档文件来变更你的农场类型

  1. 打开存档
  2. 搜索 <whichFarm>,后面跟着的那个数字就是农场类型。
    数字 农场类型
    0 标准农场
    1 河流农场
    2 森林农场
    3 山顶农场
    4 荒野农场
    5 四角农场

这仅仅更改了地图,但是所有在农场上的东西(像树、草、灌木丛、箱子等等)该在哪还是在哪。因此,可能会有一些东西超出边界或者跑到水里。解决方法如下:

  • 两种用mod的方法:
  • 穿墙mod(Noclip Mode),通过穿墙(水也能穿)来打掉错位的物品。
  • SMAPI自带一个控制台命令mod(Console Commands),以下一些命令可能适合:
    命令 作用
    world_clear farm debris 移除农场的石头、树状、杂草、枯萎的作物。
    world_clear farm trees 移除农场所有的树(除了果树)。
    world_clear farm fruit-trees 移除农场所有的果树。
    world_clear farm grass 移除农场所有的草。
    world_clear farm everything 移除所有放置在农场的东西,包括以上所有,还包括所有的“物品”(比如箱子、熔炉、宝石复制机等等)。