Modding:Installer SMAPI sur Linux

De Stardew Valley Wiki
Révision datée du 6 août 2023 à 20:09 par Margotbean (discussion | contributions) (Margotbean a déplacé la page Modding:Installer SMAPI sur Android vers Modding:Installer SMAPI sur Linux sans laisser de redirection : this page is about Linux, not Android)
Sauter à la navigation Sauter à la recherche
Guide Joueur pour l'utilisation des mods SMAPI mascot.png
Robin building.png
« « J'ai encore beaucoup de travail à faire »
— Robine

Traduction incomplète

Cet article ou cette section n'a pas été complètement traduit en français. Vous êtes invités à aider à sa traduction en la révisant.
Dernière modification par Margotbean le 2023-08-06 20:09:34.

This page explains how to install SMAPI (the tool which lets you use mods) on Linux.

See instructions for: AndroidmacOSSteam DeckWindows.

Install

  1. Apply distro-specific prerequisites if needed:
    distros prerequisites
    Debian-based
    (Debian, Ubuntu, Linux Mint)
    Install LibSSL 1.1 by running sudo apt install libssl1.1 in a terminal.
    Arch-based
    (Arch, Manjaro, EndeavourOS)
    Install OpenSSL 1.1 by running sudo pacman -S openssl-1.1 in a terminal.
    NixOS Use steam-run to run install on Linux.sh in the steps below.
    (Make sure your system has steam-run installed, or create a temporary nix-shell with steam-run by executing export NIXPKGS_ALLOW_UNFREE=1 && nix-shell -p steam-run. Then run steam-run ./install\ on\ Linux.sh in a terminal to start the installation.)
  2. Download the latest version of SMAPI.
  3. Extract the .zip file somewhere (but not in your game folder!).
  4. If you installed Steam through Flatpak, see these instructions:
    instructions for Flatpak 
    When using Flatpak, you need to change the default game location:
    1. Open Steam.
    2. Go to Steam > Settings > Downloads.
    3. Click Steam Library Folders under Content Libraries.
    4. Navigate to /home/[your username]/.local/share/Steam, and click Select.
    5. Make sure the new location you just created is selected, then click "..." and select Make Default.
    6. You may need to uninstall & reinstall the game to move it to the correct folder.
  5. Run the install on Linux.sh file, and follow the on-screen instructions.
    (If the installer asks for your game install path, see how to find your game folder.)

To install manually instead, see instructions in the installer's readme.

Update SMAPI

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