第1行: |
第1行: |
− | {{ 模组:使用指南/header}} | + | {{Modding player guide header}} |
| | | |
| 本页描述了如何在 Linux 上安装 SMAPI (可以让你使用 mod 的工具),另见: | | 本页描述了如何在 Linux 上安装 SMAPI (可以让你使用 mod 的工具),另见: |
第9行: |
第9行: |
| | | |
| == 安装 == | | == 安装 == |
− | # 安装 [http://www.mono-project.com/ Mono] (推荐使用 <samp>mono-complete</samp> 这个软件包). | + | # 安装[https://dotnet.microsoft.com/download/dotnet/5.0/runtime .NET 5] 。 |
− | ## 对于 Ubuntu 20.10 (Groovy Gorilla) 用户,<samp>mono-runtime</samp> 软件包是足够的。如果你运行脚本时遇到了错误,你可以安装 <samp>mono-complete</samp> 。
| + | # 下载最新版本的 [https://smapi.io/ SMAPI] 。 |
− | ## 对于 openSUSE 用户,你可以直接安装 <samp>mono-complete</samp> 或者 <samp>mono-basic</samp>
| |
− | # 下载最新版本的 [https://smapi.io/ SMAPI]. | |
| # 将下载获得的压缩包文件解压到任意位置(但注意不要解压到的游戏文件夹中) | | # 将下载获得的压缩包文件解压到任意位置(但注意不要解压到的游戏文件夹中) |
| # 在使用 <code>chmod</code> 命令赋予 <samp>install on Linux.sh</samp> 文件可执行权限后,运行该脚本,然后跟终端中的介绍。<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> (<samp>你的游戏文件夹在哪里?哦,无法自动找到游戏文件夹。请输入游戏文件夹的路径(包含 <samp>Stardew Valley.exe</samp> 的文件夹),然后按 <samp>Enter</samp> 键继续。),你可以在[[模组:使用指南/入门#找到你的游戏文件夹|此页面]]找到你的文件夹。 | | # 在使用 <code>chmod</code> 命令赋予 <samp>install on Linux.sh</samp> 文件可执行权限后,运行该脚本,然后跟终端中的介绍。<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> (<samp>你的游戏文件夹在哪里?哦,无法自动找到游戏文件夹。请输入游戏文件夹的路径(包含 <samp>Stardew Valley.exe</samp> 的文件夹),然后按 <samp>Enter</samp> 键继续。),你可以在[[模组:使用指南/入门#找到你的游戏文件夹|此页面]]找到你的文件夹。 |
第18行: |
第16行: |
| 然后就完成了,你只需要启动游戏就能使用 mod,'''无需更改你的 steam 启动设置'''(该操作是适用于 windows)。 | | 然后就完成了,你只需要启动游戏就能使用 mod,'''无需更改你的 steam 启动设置'''(该操作是适用于 windows)。 |
| | | |
− | <small>要手动安装,请参阅安装程序自述中的说明。</small> | + | <span style="font-size: smaller;">要手动安装,请参阅安装程序自述中的说明。</span> |
| | | |
| == 升级 == | | == 升级 == |
第29行: |
第27行: |
| | | |
| == 疑难解答 == | | == 疑难解答 == |
− | * 如果游戏在加载保存时冻结,而 SMAPI 窗口中没有错误,请尝试重新安装 Mono(见[[#安装|安装步骤]])。
| |
| * 如果在游戏更新后 SMAPI 窗口不再出现,请重新安装 SMAPI 以修复启动器。 | | * 如果在游戏更新后 SMAPI 窗口不再出现,请重新安装 SMAPI 以修复启动器。 |
| * SMAPI 试图找到一个兼容的终端或使用你的默认终端,但有些终端并不兼容。如果安装程序或启动程序没有启动终端,请尝试安装 xterm(不需要是你的默认终端)。 | | * SMAPI 试图找到一个兼容的终端或使用你的默认终端,但有些终端并不兼容。如果安装程序或启动程序没有启动终端,请尝试安装 xterm(不需要是你的默认终端)。 |