Modding:Installing SMAPI on Windows

From Stardew Valley Wiki
Revision as of 00:28, 20 June 2017 by Pathoschild (talk | contribs) (format & reorganise content for wiki)
Jump to navigation Jump to search

Index

This page explains how to install SMAPI (the tool which lets you use mods) on Windows. See also:

Install SMAPI

Using the installer

Part 1: install SMAPI
  1. Run the game without SMAPI at least once so it can do first-time setup.
  2. Download the latest version of SMAPI.
  3. Extract the .zip file somewhere (but not in your game folder!).
  4. Double-click install.exe, and follow the on-screen instructions.
    The installer will detect your game and add SMAPI for you.
  5. If you use Steam, continue to the next section. Otherwise just run StardewModdingAPI.exe in your game folder to play with mods.
Part 2: configure Steam
You can use SMAPI through the Steam client to enable the overlay and achievements. This requires a few more steps.
  1. Open your game folder, select the full address, and press CTRL + C to copy it:
    File:Modding - installing SMAPI on Windows - Steam 3.png
  2. In the Steam client, right-click on Stardew Valley and choose Properties:
    Modding - installing SMAPI on Windows - Steam 1.png
  3. Click General > Set Launch Options:
    Modding - installing SMAPI on Windows - Steam 2.png
  4. In the textbox...
    1. Type a single quote (").
    2. Press CTRL + V to paste the path you copied in step 1.
    3. Then type this after the path:
      \StardewModdingAPI.exe" %command%
    4. It should look something like this (with your game path filled in):
      File:Modding - installing SMAPI on Windows - Steam 4.png
  5. Click OK to save your changes.
  6. From now on, just launch the game through Steam to run SMAPI with the Steam overlay and achievements.

Manually

The installer is the best way to install SMAPI, but you can also install it manually.

  1. Download the latest version of SMAPI.
  2. Unzip the .zip file somewhere.
  3. Copy the files from the internal/Windows folder into your game folder. If you did it properly, the `StardewModdingAPI.exe` file should be right next to the game's executable.
  4. If you use Steam, continue to the next section. Otherwise just run StardewModdingAPI.exe in your game folder to play with mods.

Update SMAPI

To update SMAPI, just install the new version. The installer will automatically clean up previous versions. (You don't need to configure Steam again.)

Uninstall SMAPI

To remove SMAPI...

  • Using the installer: run install.exe again and choose uninstall.
  • Manually: reverse the manual install steps.