模组:在Linux上安裝SMAPI

出自Stardew Valley Wiki
於 2021年6月12日 (六) 05:59 由 BolingH討論 | 貢獻 所做的修訂
跳至導覽 跳至搜尋

模組:使用指南/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.