Изменения

Нет описания правки
Строка 1: Строка 1:  
{{Руководство по использованию модификаций/header}}
 
{{Руководство по использованию модификаций/header}}
 
+
{{Переведите}}
 
Do you want to play Stardew Valley with mods? This guide is for you!
 
Do you want to play Stardew Valley with mods? This guide is for you!
   Строка 10: Строка 10:  
# Unzip mods into your <tt>Mods</tt> folder.
 
# Unzip mods into your <tt>Mods</tt> folder.
   −
That's about it! If you're ready to start, see [[/Getting Started|Getting Started]].
+
See below for common questions and help getting started.
    
==Frequent questions==
 
==Frequent questions==
Строка 50: Строка 50:     
===Do mods disable Steam achievements?===
 
===Do mods disable Steam achievements?===
Steam achievements work fine, as long as you launch SMAPI through Steam. Make sure you follow the [[Modding:Installing SMAPI|install instructions]] to configure Steam on Windows (no Steam changes needed on Linux or Mac). If the Steam overlay works, the achievements should work too.
+
Steam achievements work fine, as long as you launch SMAPI through Steam. Make sure you follow the [[Modding:Installing SMAPI on Windows|install instructions]] to configure Steam on Windows (no Steam changes needed on Linux or Mac). If the Steam overlay works, the achievements should work too.
    
===Do mods work in multiplayer?===
 
===Do mods work in multiplayer?===
Строка 106: Строка 106:     
===Where are my...===
 
===Where are my...===
* Game folder: see ''[[Modding:Player Guide/Getting Started#Find your game folder|Getting Started#Find your game folder]]''.
+
* Game folder: see ''[[#Find your game folder|Getting Started#Find your game folder]]''.
 
* SMAPI log: see ''[[Modding:Player Guide/Troubleshooting#Find your SMAPI log|Troubleshooting#Find your SMAPI log]]''.
 
* SMAPI log: see ''[[Modding:Player Guide/Troubleshooting#Find your SMAPI log|Troubleshooting#Find your SMAPI log]]''.
 
* Save files: see ''[[Saves]]''.
 
* Save files: see ''[[Saves]]''.
 +
 +
==Getting started==
 +
===Install SMAPI===
 +
First you'll need to install the mod loader, SMAPI. Click the right link for more info:
 +
 +
* [[Modding:Installing SMAPI on Linux|Instructions for Linux]]
 +
* [[Modding:Installing SMAPI on Mac|Instructions for Mac]]
 +
* [[Modding:Installing SMAPI on Windows|Instructions for Windows]]
 +
 +
===Find mods===
 +
Next you can download the mods you want. Some suggestions:
 +
 +
<ul>
 +
<li>[http://www.nexusmods.com/stardewvalley/mods/topalltime/ most popular mods on Nexus];</li>
 +
<li>[https://gist.github.com/Pathoschild/b608892d3e60bd25d0eea71ca7584649 recommendations for a first playthrough];</li>
 +
<li>search for mods here:
 +
{| class="wikitable"
 +
|-
 +
! site
 +
! description
 +
|-
 +
| '''[http://nexusmods.com/stardewvalley/ Nexus Mods]'''
 +
| Most mods are released here.<br /><small>(Registering an account is free, just don't choose a package when you register.)</small>
 +
|-
 +
| [http://community.playstarbound.com/resources/categories/stardew-valley.22/ Chucklefish mods]
 +
| Some mods are released here (most are also on Nexus).
 +
|-
 +
| [https://www.moddrop.com ModDrop]
 +
| Pretty new. Not many mods yet, but you can install those it has very quickly through their (Windows-only) client.
 +
|-
 +
| [http://community.playstarbound.com/forums/mods.215/ Stardew Valley forums]
 +
| Some mods are posted directly in the forums. Some hidden gems are only here, but finding them can be a challenge.
 +
|}</li>
 +
</ul>
 +
 +
Before you download a mod...
 +
* Does it work with the latest version of the game? (SMAPI will automatically disable most incompatible SMAPI mods, but you're on your own with XNB mods. Try checking the mod description or comments.)
 +
* Don't download from stardewvalleymods.net. (Mods here are usually outdated, since the site republishes mods without permission for ad revenue.)
 +
 +
===Find your game folder===
 +
Next you'll need to open your game folder (the one containing Stardew Valley's <code>.exe</code> file). Here's where to find it:
 +
 +
{| class="wikitable"
 +
|-
 +
! Platform
 +
! Path
 +
|-
 +
| Windows
 +
| GOG: <code>C:\Program Files (x86)\GOG Galaxy\Games\Stardew Valley</code><br />Steam: <code>C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley</code>
 +
|-
 +
| Linux
 +
| GOG: <code>~/GOGGames/StardewValley/game</code><br />Steam: <code>~/.local/share/Steam/steamapps/common/Stardew Valley</code>
 +
|-
 +
| Mac
 +
| GOG: <code>/Applications/Stardew Valley.app/Contents/MacOS</code><br />Steam: <code>~/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS</code><br /><br />On Mac, the <code>Content</code> folder is stored separately:<br />GOG: <code>/Applications/Stardew Valley.app/Resources/Content</code><br />Steam: <code>~/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/Resources/Content</code>
 +
|}
 +
 +
Not there? Here are some other ways to find it:
 +
 +
{{collapse|more options|content=&#32;
 +
; Option 2&#58; find it through SMAPI
 +
 +
:# Launch SMAPI.
 +
:# Enter this command in the SMAPI console (the second window that opens with the game): <pre>show_game_files</pre>
 +
 +
; Option 3&#58; find it through Steam
 +
 +
:# Open the Steam client.
 +
:# Right-click on ''Stardew Valley''.
 +
:# Click ''Properties''.
 +
:# Click the ''Local Files'' tab.
 +
:# Click the ''Browse Local Files...'' button to open the game folder.
 +
 +
; Option 4&#58; find it through GOG Galaxy
 +
 +
:# Open the GOG Galaxy client.
 +
:# In the game sidebar, right-click on ''Stardew Valley''.
 +
:# Choose ''Manage Installation > Show Folder'' to open the game folder.
 +
}}
 +
 +
===Install mods===
 +
To install a mod, just unzip it into the <code>Mods</code> folder in [[#Find your game folder|your game folder]]. Make sure each mod has its own subfolder. For example, if you have a <code>PineapplesEverywhere</code> mod, you should have a file structure like this:
 +
<pre>
 +
Stardew Valley/
 +
  Mods/
 +
      PineapplesEverywhere/
 +
        PineapplesEverywhere.dll
 +
        manifest.json
 +
</pre>
 +
 +
{{SMAPI upcoming|2.8|content=
 +
If you have a lot of mods, you can optionally organise them into subfolders. SMAPI will automatically search inside each folder until it finds one with files.
 +
<pre>
 +
Stardew Valley/
 +
  Mods/
 +
      Fruit mods/
 +
        PineapplesEverywhere/
 +
            PineapplesEverywhere.dll
 +
            manifest.json
 +
        ApplesNowhere/
 +
            ApplesNowhere.dll
 +
            manifest.json
 +
</pre>
 +
}}
 +
 +
===Configure mods===
 +
Some mods have a <code>config.json</code> file in their mod folder. It might be created the first time you launch the game with that mod. This file lets you customise the mod settings.
 +
 +
To edit the <code>config.json</code> file, just open it in a text editor. Make sure the game isn't running when you edit it, or your changes might not take effect. See a [http://www.w3schools.com/js/js_json_syntax.asp basic guide to JSON]; basically make sure your values are surrounded by quotes (like <code>"value"</code>). You can use this [https://jsonformatter.curiousconcept.com/ JSON validator] to make sure the format is correct.
 +
 +
===Manage mods===
 +
* To update a mod, download the latest version and copy the new files into the existing folder. That should replace the older files, but keep any config or data files it generated for you.
 +
* To remove a mod, just remove it from the <code>Mods</code> folder.
 +
 +
==XNB mods==
 +
XNB mods replace files in your game's <code>Content</code> folder with custom versions. If a mod has some <code>.xnb</code> files and no <code>manifest.json</code>, it's an XNB mod. This is an older type of mod that's no longer recommended, but see [[Modding:Using XNB mods]] if you're still interested.
    
{{Modding guide footer
 
{{Modding guide footer
 
   |prev =  
 
   |prev =  
   |next = [[/Getting Started|Getting Started]]
+
   |next = [[../Troubleshooting|Troubleshooting]]
 
}}
 
}}
    
[[en:Modding:Player Guide/Getting Started]]
 
[[en:Modding:Player Guide/Getting Started]]
 
[[zh:使用模组:玩家常见问题]]
 
[[zh:使用模组:玩家常见问题]]