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

From Stardew Valley Wiki
Jump to navigation Jump to search
(copyedit new changes, match other OS pages where possible, add 'special notes for macOS' section)
(→‎Install: split steps so they're more clear)
Line 11: Line 11:
 
# Download the [https://smapi.io/ latest version of SMAPI].
 
# Download the [https://smapi.io/ latest version of SMAPI].
 
# Open the <tt>.zip</tt> file you downloaded to extract its contents.
 
# Open the <tt>.zip</tt> file you downloaded to extract its contents.
# Open Terminal, and enter this command:<pre>mdfind -0 'kMDItemFSName = "install on Mac.command" && kMDItemContentType = "com.apple.terminal.shell-script"' | xargs -0 xattr -d com.apple.quarantine</pre>''This is needed because [https://support.apple.com/kb/HT202491 Gatekeeper] prevents you from opening unsigned script files you download by default. To open Terminal: open [https://support.apple.com/kb/HT202635 Launchpad], type <tt>Terminal</tt>, and then press <tt>return</tt>.''
+
# Enable the installer script:
# In Finder, open the file <code>install on Mac.command</code>, and follow the on-screen instructions.
+
## Open [https://support.apple.com/kb/HT202635 Launchpad].
 +
## Type <tt>Terminal</tt> and select the Terminal app.
 +
## Enter this command: <pre>mdfind -0 'kMDItemFSName = "install on Mac.command" && kMDItemContentType = "com.apple.terminal.shell-script"' | xargs -0 xattr -d com.apple.quarantine</pre>
 +
# Double-click <code>install on Mac.command</code> and follow the on-screen instructions.
  
 
That's it! Just launch the game to play with mods. '''You don't need to change your Steam launch options''' (that's only needed on Windows).
 
That's it! Just launch the game to play with mods. '''You don't need to change your Steam launch options''' (that's only needed on Windows).

Revision as of 22:19, 3 November 2018

Modding:Player Guide/header

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

Install

  1. Install Mono. (The 'stable channel' version is fine. If this doesn't work, see Troubleshooting.)
  2. Download the latest version of SMAPI.
  3. Open the .zip file you downloaded to extract its contents.
  4. Enable the installer script:
    1. Open Launchpad.
    2. Type Terminal and select the Terminal app.
    3. Enter this command:
      mdfind -0 'kMDItemFSName = "install on Mac.command" && kMDItemContentType = "com.apple.terminal.shell-script"' | xargs -0 xattr -d com.apple.quarantine
  5. Double-click install on Mac.command and follow the on-screen instructions.

That's it! Just launch the game to play with mods. You don't need to change your Steam launch options (that's only needed on Windows).

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.

Uninstall

  1. Open the file install on Mac.command.
  2. Choose to uninstall SMAPI.

Special notes for macOS

  • You may need to reinstall Mono when updating macOS.
  • You may need to reinstall SMAPI when the game updates.