Difference between revisions of "Modding:Installing SMAPI on Windows"

From Stardew Valley Wiki
Jump to navigation Jump to search
(copyedit & simplify new Vortex sections, tweak ModDrop sections to match)
Line 34: Line 34:
  
 
===Option B: use ModDrop===
 
===Option B: use ModDrop===
ModDrop is a mod manager which supports SMAPI. It can install SMAPI, keep it updated, and simplify installing mods.
+
ModDrop is a mod manager which supports SMAPI. It can install SMAPI, keep it updated, and simplify installing/updating mods.
  
 
# [https://www.moddrop.com Install ModDrop] and open the client.
 
# [https://www.moddrop.com Install ModDrop] and open the client.
Line 40: Line 40:
 
# A window should appear that says something like "A new version of SMAPI is available." Click the ''Install'' button and follow the on-screen instructions.
 
# A window should appear that says something like "A new version of SMAPI is available." Click the ''Install'' button and follow the on-screen instructions.
  
===Option C: use Vortex (Especially good for installing from Nexusmods)===
+
===Option C: use Vortex===
Vortex is a preferred mod manager which birthed out of project called "Nexus Mod Manager". It has improved mod handling and a more modern interface to easily install smapi, as well as install and update mods quickly and in an organized way.
+
Vortex is a mod manager by Nexus Mods. It can install SMAPI, keep it updated, and simplify installing/updating mods.
  
# Log into you Nexusmods account. If you do not have a Nexusmods account, you must create one first.
+
# Log into a [https://www.nexusmods.com Nexus Mods] account.
# Search for and download Vortex on Nexusmods and then download and open the Vortex installer. (Note: Windows may open a warning that it isn't a Microsoft verified app. This is totally okay, just click Ok.)
+
# Install and launch [https://www.nexusmods.com/about/vortex/ Vortex].
# Open Vortex Mod Manager.
+
# Click the ''Log In or Register'' button in the upper-middle part of the Vortex main screen. A web browser should open asking whether to authorize Vortex to sync with your Nexus Mods account. That enables the ''Mod Manager Download'' buttons on Nexus mod pages. Accept the authorization.
# Click 'Log In or Register' button in the Upper, middle part of the Vortex homescreen.
+
# Set up Stardew Valley in Vortex by clicking the left-hand ''games'' tab, finding Stardew Valley, and clicking it. You may wish to set up the download folder locations as well in the left-hand ''Settings'' tab.
# This will take you to a web browser Nexusmods page where you can authorize Vortex to sync with your Nexusmods account. This authorization will allow you to use the "Mod Manager Download" button on any mod on Nexusmods to easily download the mod directly into Vortex so you can use it.
+
# Click the notification bell in the upper-right hand corner, which will prompt you to download and install SMAPI.
# Setup Stardew Valley in Vortex.  Just click the lefthand 'games' tab and then find 'Stardew Valley' and click it. You may wish to setup the download folder locations as well in the left hand 'Settings' tab.
+
# After SMAPI is installed in Vortex, click ''enable'' and you're done!
# Click the notification bell in the upper right hand corner which will prompt you to download and install Smapi.  
 
# After SMAPI is installed in Vortex, then click 'enable' and you are done!
 
  
 
==Update SMAPI==
 
==Update SMAPI==
Line 57: Line 55:
  
 
===Option B: use ModDrop===
 
===Option B: use ModDrop===
If you use the [https://www.moddrop.com ModDrop mod manager], click ''Update Available'' in the top-right if it appears and follow the on-screen instructions.
+
If you use the [https://www.moddrop.com ModDrop mod manager]:
 +
# Click ''Update Available'' in the top-right if it appears.
 +
# Follow the on-screen instructions.
  
 
===Option C: use Vortex===
 
===Option C: use Vortex===
If you already have Smapi installed but want to update it with Vortex, go the Nexusmods SMAPI page and download it using the 'Mod Manager Download' button and then click 'Open Vortex' when the popup appears. Go back to Vortex and the notification bell will appear with a notification in the upper right. Click 'install', wait for it to install and then click 'enable' and the latest version of SMAPI will be setup and ready to go!
+
If you use the [https://www.nexusmods.com/about/vortex/ Vortex mod manager]:
 +
# Go to {{nexus mod|2400|SMAPI's mod page}} and download it using the ''Mod Manager Download'' button.
 +
# Click ''Open Vortex'' when the popup appears.
 +
# Click the Vortex window, and the notification bell will appear with a notification in the upper right. Click ''install'' and then ''enable''.
  
 
==Uninstall==
 
==Uninstall==

Revision as of 04:52, 17 July 2020

Modding:Player Guide/header

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

Install

Option A: use SMAPI's installer

See also unofficial video guide.
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! (nor the windows %TEMP% folder)).
  4. Double-click install on Windows.bat¹, 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. Keep SMAPI's installer window open.
    (If you already closed it, just run it again. No need to uninstall first.)
  2. Copy the text in the installer window that looks like this (see how to copy text):
    Modding - installing SMAPI on Windows - installer Steam text.png
    Make sure you copy the entire line, including both quotation marks " and the %command% part.
    Your final path should look something like this: "Your path here" %command%
  3. In the Steam client, right-click on Stardew Valley and choose Properties:
    Modding - installing SMAPI on Windows - Steam 1.png
  4. Click General > Set Launch Options:
    Modding - installing SMAPI on Windows - Steam 2.png
  5. Replace anything in the textbox with the text you copied from the installer.
    To paste text, click in the box and press CTRL and V.
  6. Click OK to save your changes.
  7. From now on, just launch the game through Steam to run SMAPI with the Steam overlay and achievements.

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

Option B: use ModDrop

ModDrop is a mod manager which supports SMAPI. It can install SMAPI, keep it updated, and simplify installing/updating mods.

  1. Install ModDrop and open the client.
  2. In the top-right corner, click Install SMAPI or Update Available.
  3. A window should appear that says something like "A new version of SMAPI is available." Click the Install button and follow the on-screen instructions.

Option C: use Vortex

Vortex is a mod manager by Nexus Mods. It can install SMAPI, keep it updated, and simplify installing/updating mods.

  1. Log into a Nexus Mods account.
  2. Install and launch Vortex.
  3. Click the Log In or Register button in the upper-middle part of the Vortex main screen. A web browser should open asking whether to authorize Vortex to sync with your Nexus Mods account. That enables the Mod Manager Download buttons on Nexus mod pages. Accept the authorization.
  4. Set up Stardew Valley in Vortex by clicking the left-hand games tab, finding Stardew Valley, and clicking it. You may wish to set up the download folder locations as well in the left-hand Settings tab.
  5. Click the notification bell in the upper-right hand corner, which will prompt you to download and install SMAPI.
  6. After SMAPI is installed in Vortex, click enable and you're done!

Update SMAPI

Option A: use SMAPI's installer

Just install the new version; the installer will automatically clean up previous versions. (You don't need to configure Steam again.)

Option B: use ModDrop

If you use the ModDrop mod manager:

  1. Click Update Available in the top-right if it appears.
  2. Follow the on-screen instructions.

Option C: use Vortex

If you use the Vortex mod manager:

  1. Go to SMAPI's mod page and download it using the Mod Manager Download button.
  2. Click Open Vortex when the popup appears.
  3. Click the Vortex window, and the notification bell will appear with a notification in the upper right. Click install and then enable.

Uninstall

  1. Run install.exe and choose uninstall.
  2. Blank the Steam launch options (if you changed them).

(If you want to play without mods temporarily, you can just launch Stardew Valley.exe directly instead.)