“模组:在Linux上安装SMAPI”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
(add new page ,waiting for translation completed.)
 
第9行: 第9行:
  
 
== 安装 ==
 
== 安装 ==
# Install [http://www.mono-project.com/ Mono] (the <tt>mono-complete</tt> package is recommended).
+
# 安装 [http://www.mono-project.com/ Mono] ( 推荐使用 <tt>mono-complete</tt> 这个软件包).
## As of Ubuntu 20.10 (Groovy Gorilla), the <tt>mono-runtime</tt> package is sufficient. Install <tt>mono-complete</tt> if you're getting errors while running the script.
+
## 对于 Ubuntu 20.10 (Groovy Gorilla) 用户,<tt>mono-runtime</tt> 软件包是足够的。如果你运行脚本时遇到了错误,你可以安装 <tt>mono-complete</tt>。
# Download the [https://smapi.io/ latest version of SMAPI].
+
## 对于 openSUSE 用户,你可以直接安装 <tt>mono-complete</tt> 或者 <tt>mono-basic</tt>
# Extract the <tt>.zip</tt> file somewhere (but not in your game folder!).
+
# 下载最新版本的 [https://smapi.io/ SMAPI].
# Run the <tt>install on Linux.sh</tt> file, and follow the on-screen instructions.<br />''The installer will detect your game and add SMAPI for you.''<br />Note: if you get the error <code>"Where is your game folder? Oops, couldn't find the game automatically. Type the file path to the game directory (the one containing 'Stardew Valley.exe'), then press enter."</code>, you can go to [[Modding:Player Guide/Getting Started#Find your game folder|this page]] to find your game folder.
+
# 将下载获得的压缩包文件解压到任意位置(但注意不要解压到的游戏文件夹中)
 +
# 在使用 <code>chmod</code> 命令赋予 <tt>install on Linux.sh</tt> 文件可执行权限后,运行该脚本,然后跟终端中的介绍。<br />'' 安装器会自动检测你的游戏文件夹,并添加 SMAPI ''<br /> 注意: 如果你遇到此该错误 <code>"Where is your game folder? Oops, couldn't find the game automatically. Type the file path to the game directory (the one containing 'Stardew Valley.exe'), then press enter."</code> (<tt>你的游戏文件夹在哪里?哦,无法自动找到游戏文件夹。请输入游戏文件夹的路径(包含 <tt>'Stardew Valley.exe'</tt> 的文件夹),然后按 <tt>Enter</tt> 键继续。), 你可以在[[ 模组: 使用指南/ 入门# 找到你的游戏文件夹| 此页面]] 找到你的文件夹。
  
That's it! Just launch the game to play with mods. '''You don't need to change your Steam launch options''' (that's only needed on Windows).
+
然后就完成了,你只需要启动游戏就能使用 mod,''' 无需更改你的 steam 启动设置'''( 该操作是适用于 windows)
  
<small>To install manually instead, see instructions in the installer's readme.</small>
+
<small> 要手动安装,请参阅安装程序自述中的说明。</small>
  
 
==Update==
 
==Update==

2021年6月12日 (六) 05:56的版本

模组:使用指南/header

本页描述了如何在 Linux 上安装 SMAPI (可以让你使用 mod 的工具),另见:

安装

  1. 安装 Mono (推荐使用 mono-complete 这个软件包).
    1. 对于 Ubuntu 20.10 (Groovy Gorilla) 用户,mono-runtime 软件包是足够的。如果你运行脚本时遇到了错误,你可以安装 mono-complete
    2. 对于 openSUSE 用户,你可以直接安装 mono-complete 或者 mono-basic
  2. 下载最新版本的 SMAPI.
  3. 将下载获得的压缩包文件解压到任意位置(但注意不要解压到的游戏文件夹中)
  4. 在使用 chmod 命令赋予 install on Linux.sh 文件可执行权限后,运行该脚本,然后跟终端中的介绍。
    安装器会自动检测你的游戏文件夹,并添加 SMAPI 。
    注意: 如果你遇到此该错误 "Where is your game folder? Oops, couldn't find the game automatically. Type the file path to the game directory (the one containing 'Stardew Valley.exe'), then press enter."你的游戏文件夹在哪里?哦,无法自动找到游戏文件夹。请输入游戏文件夹的路径(包含 'Stardew Valley.exe' 的文件夹),然后按 Enter 键继续。),你可以在此页面找到你的文件夹。

然后就完成了,你只需要启动游戏就能使用 mod,无需更改你的 steam 启动设置(该操作是适用于 windows)。

要手动安装,请参阅安装程序自述中的说明。

Update

Just install the new version; the installer will automatically clean up previous versions.

Uninstall

  1. Launch the installer again (see install steps).
  2. When prompted, choose the uninstall option.

Troubleshooting

  • If the game freezes when loading a save with no error in the SMAPI window, try reinstalling Mono (see install step 1).
  • If the SMAPI window no longer appears after a game update, reinstall SMAPI to fix the launcher.
  • SMAPI tries to find a compatible terminal or use your default terminal, but some terminals aren't compatible. If the installer or launcher don't launch a terminal, try installing xterm (doesn't need to be your default terminal).
  • See the troubleshooting page for general troubleshooting.