模组:在Linux上安装SMAPI

来自Stardew Valley Wiki
BolingH讨论 | 贡献2021年6月12日 (六) 05:59的版本
跳到导航 跳到搜索

模组:使用指南/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)。

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

升级

只需安装新版本,安装器会自动清除旧版本的文件。

卸载

  1. 再次启动安装器,然后详见:安装步骤.
  2. 当提示时,选择 uninstall(卸载)选项。


疑难解答

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