「模组:在Linux上安装SMAPI」修訂間的差異

出自Stardew Valley Wiki
跳至導覽 跳至搜尋
→‎安装
行 29: 行 29:
  
 
== 疑难解答 ==
 
== 疑难解答 ==
* If the game freezes when loading a save with no error in the SMAPI window, try reinstalling Mono (see [[#Install|install step 1]]).
+
* 如果游戏在加载保存时冻结,而 SMAPI 窗口中没有错误,请尝试重新安装 Mono (见[[# 安装| 安装步骤]] )。
* If the SMAPI window no longer appears after a game update, reinstall SMAPI to fix the launcher.
+
* 如果在游戏更新后 SMAPI 窗口不再出现,请重新安装 SMAPI 以修复启动器。
* 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).
+
* SMAPI 试图找到一个兼容的终端或使用你的默认终端,但有些终端并不兼容。如果安装程序或启动程序没有启动终端,请尝试安装 xterm (不需要是你的默认终端)。
* See the [[Modding:Player Guide/Troubleshooting|troubleshooting page]] for general troubleshooting.
+
* 参见[[ 模组: 使用指南/ 疑难解答| 疑难解答]] 了解一般的故障排除。
  
 
{{Modding guide footer
 
{{Modding guide footer
   |prev = [[Modding:Player Guide/Getting Started|Getting Started]]
+
   |prev = [[ 模组: 使用指南/ 入门| 入门]]
 
   |next = 
 
   |next = 
 
}}
 
}}
  
 
[[de:Modding:SMAPI auf Linux]]
 
[[de:Modding:SMAPI auf Linux]]
 +
[[en:Modding:Installing SMAPI on Linux]]
 
[[es:Modding:Instalar SMAPI en Linux]]
 
[[es:Modding:Instalar SMAPI en Linux]]

於 2021年6月12日 (六) 06:02 的修訂

模組:使用指南/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(卸載)選項。


疑難解答

  • 如果遊戲在加載保存時凍結,而 SMAPI 窗口中沒有錯誤,請嘗試重新安裝 Mono(見安裝步驟)。
  • 如果在遊戲更新後 SMAPI 窗口不再出現,請重新安裝 SMAPI 以修復啟動器。
  • SMAPI 試圖找到一個兼容的終端或使用你的默認終端,但有些終端並不兼容。如果安裝程序或啟動程序沒有啟動終端,請嘗試安裝 xterm(不需要是你的默認終端)。
  • 參見疑難解答了解一般的故障排除。
入門