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

From Stardew Valley Wiki
Jump to navigation Jump to search
(update link)
(→‎Install: + link to more detailed explanation of how to copy text)
Line 20: Line 20:
 
: You can use SMAPI through the Steam client to enable the overlay and achievements. This requires a few more steps.
 
: You can use SMAPI through the Steam client to enable the overlay and achievements. This requires a few more steps.
 
:# Keep SMAPI's installer window open.<br /><small>(If you already closed it, just run it again. No need to uninstall first.)</small>
 
:# Keep SMAPI's installer window open.<br /><small>(If you already closed it, just run it again. No need to uninstall first.)</small>
:# Copy this text:<br />[[File:Modding - installing SMAPI on Windows - installer Steam text.png]]<br /><small>(To copy the text, click and drag to select it, then right-click to copy. Make sure you copy the '''entire line''', including both quotes and the <code>%command%</code> part.)</small>
+
:# Copy this text ([https://community.playstarbound.com/threads/smapi-stardew-modding-api.108375/page-139#post-3292321 see how to copy text]):<br />[[File:Modding - installing SMAPI on Windows - installer Steam text.png]]<br /><small>(Make sure you copy the '''entire line''', including both quotes and the <code>%command%</code> part.)</small>
 
:# In the Steam client, right-click on ''Stardew Valley'' and choose ''Properties'':<br />[[File:Modding - installing SMAPI on Windows - Steam 1.png]]
 
:# In the Steam client, right-click on ''Stardew Valley'' and choose ''Properties'':<br />[[File:Modding - installing SMAPI on Windows - Steam 1.png]]
 
:# Click ''General > Set Launch Options'':<br />[[File:Modding - installing SMAPI on Windows - Steam 2.png]]
 
:# Click ''General > Set Launch Options'':<br />[[File:Modding - installing SMAPI on Windows - Steam 2.png]]

Revision as of 16:08, 30 June 2018

Modding:Player Guide/header

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

Install

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. Keep SMAPI's installer window open.
    (If you already closed it, just run it again. No need to uninstall first.)
  2. Copy this text (see how to copy text):
    Modding - installing SMAPI on Windows - installer Steam text.png
    (Make sure you copy the entire line, including both quotes and the %command% part.)
  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.

Update

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

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

Modding:Player Guide/footer