模组:在Windows上安装SMAPI

来自Stardew Valley Wiki
Licer讨论 | 贡献2017年6月29日 (四) 14:31的版本 (创建页面,内容为“←索引 {{翻译}} This page explains how to install SMAPI (the tool which lets you use mods) on Windows. See also: * Modding:Player FAQ...”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

索引

Robin building.png
“我这里还有很多事情需要处理。”
— 罗宾

不完整的翻译

本文或部分尚未完全翻译成中文。 欢迎您通过编辑帮助其建设。
最后编辑Licer于2017-06-29 14:31:24.

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

安装

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.

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

更新

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

卸载

Run install.exe and choose uninstall.