Line 11: |
Line 11: |
| # [[Modding:Player Guide/Getting Started#Getting started|Install SMAPI]]. | | # [[Modding:Player Guide/Getting Started#Getting started|Install SMAPI]]. |
| # Create the generic content pack format (identical for all frameworks): | | # Create the generic content pack format (identical for all frameworks): |
− | ## Open your game's <tt>Mods</tt> folder (located in [[Modding:Player Guide/Getting Started#Find your game folder|your game folder]]). | + | ## Open your game's <samp>Mods</samp> folder (located in [[Modding:Player Guide/Getting Started#Find your game folder|your game folder]]). |
| ## Add a subfolder with the name you want (see [[#Folder name|folder naming convention]]). | | ## Add a subfolder with the name you want (see [[#Folder name|folder naming convention]]). |
− | ## In the subfolder, add a <tt>manifest.json</tt> file with the <tt>ContentPackFor</tt> field (see [[Modding:Modder Guide/APIs/Manifest|manifest format]]). | + | ## In the subfolder, add a <samp>manifest.json</samp> file with the <samp>ContentPackFor</samp> field (see [[Modding:Modder Guide/APIs/Manifest|manifest examples and format]]). |
| # Add the files needed by the content pack framework (see its mod page for details). | | # Add the files needed by the content pack framework (see its mod page for details). |
| # Launch the game, and make sure your new content pack appears under "Loaded X content packs" in the SMAPI console. | | # Launch the game, and make sure your new content pack appears under "Loaded X content packs" in the SMAPI console. |
Line 19: |
Line 19: |
| ===Release your content pack=== | | ===Release your content pack=== |
| # Add an [[Modding:Modder Guide/APIs/Manifest#Update checks|update key]] to your manifest (if you haven't already). | | # Add an [[Modding:Modder Guide/APIs/Manifest#Update checks|update key]] to your manifest (if you haven't already). |
− | # Update the <tt>Version</tt> field in the manifest. (Increase it for each release! SMAPI will use it for update and compatibility checks.) | + | # Update the <samp>Version</samp> field in the manifest. (Increase it for each release! SMAPI will use it for update and compatibility checks.) |
− | # Create a <tt>.zip</tt> file containing the content pack's folder. | + | # Create a <samp>.zip</samp> file containing the content pack's folder. |
| # Upload that file to [http://www.nexusmods.com/stardewvalley Nexus Mods]. | | # Upload that file to [http://www.nexusmods.com/stardewvalley Nexus Mods]. |
| | | |
Line 41: |
Line 41: |
| | | |
| ===Folder name=== | | ===Folder name=== |
− | The folder name should use [https://en.wikipedia.org/wiki/Camel_case upper camel case] with a prefix showing which mod it's for. For example, a folder named <code>[CP] SampleName</code> is a content pack for Content Patcher. | + | The folder name should use [[wikipedia:Camel case|upper camel case]], with an acroynm prefix in square brackets showing which mod it's for. For example, a folder named <code>[CP] SampleName</code> is a content pack for Content Patcher. |
| | | |
− | Here are some common prefixes:
| + | See [[Modding:Content pack frameworks]] for the common acronyms. |
− | {| class="wikitable sortable"
| |
− | |-
| |
− | ! Prefix
| |
− | ! For mod
| |
− | |-
| |
− | | <code>[AHM]</code>
| |
− | | {{Nexus mod|1538|Animal Husbandry Mod}}
| |
− | |-
| |
− | | <code>[AT]</code>
| |
− | | {{Nexus mod|9246|Alternative Textures}}
| |
− | |-
| |
− | | <code>[BAGI]</code>
| |
− | | {{Nexus mod|2080|Better Artisan Goods Icons}}
| |
− | |-
| |
− | | <code>[BFAV]</code>
| |
− | | {{Nexus mod|3296|Better Farm Animal Variety}}
| |
− | |-
| |
− | | <code>[BL]</code>
| |
− | | {{Nexus mod|2905|Bus Locations}}
| |
− | |-
| |
− | | <code>[CF]</code>
| |
− | | {{Nexus mod|1254|Custom Furniture}}
| |
− | |-
| |
− | | <code>[CFR]</code>
| |
− | | {{Nexus mod|991|Custom Farming Redux}}
| |
− | |-
| |
− | | <code>[CM]</code>
| |
− | | {{Nexus mod|3043|Custom Music}}
| |
− | |-
| |
− | | <code>[CP]</code>
| |
− | | {{Nexus mod|1915|Content Patcher}}
| |
− | |-
| |
− | | <code>[FR]</code>
| |
− | | {{Nexus mod|3731|Farmhouse Redone}}
| |
− | |-
| |
− | | <code>[FTM]</code>
| |
− | | {{Nexus mod|3231|Farm Type Manager}}
| |
− | |-
| |
− | | <code>[JA]</code>
| |
− | | {{Nexus mod|1720|Json Assets}}
| |
− | |-
| |
− | | <code>[MFM]</code>
| |
− | | {{Nexus mod|1536|Mail Framework Mod}}
| |
− | |-
| |
− | | <code>[MTN]</code>
| |
− | | {{Nexus mod|2256|More Than Necessary}}
| |
− | |-
| |
− | | <code>[PFM]</code>
| |
− | | {{Nexus mod|4970|Producer Framework Mod}}
| |
− | |-
| |
− | | <code>[PP]</code>
| |
− | | {{Nexus mod|4703|Pond Painter}}
| |
− | |-
| |
− | | <code>[STF]</code>
| |
− | | {{Nexus mod|5005|Shop Tile Framework}}
| |
− | |-
| |
− | | <code>[TMX]</code>
| |
− | | {{Nexus mod|1820|TMX Loader}}
| |
− | |}
| |
| | | |
− | === Folder structure === | + | ===Folder structure=== |
− | The folder should contain your <code>manifest.json</code>, the <code>content.json</code> (or the correct json for your framework), and an <code>assets</code> folder that contains any other files your mod uses. This may include <tt>.png</tt> files, other <tt>.json</tt> files, and even or <tt>.tmx/.tbin</tt> files, among others. The assets folder may use further subfolders if you wish, though it is not required. | + | The folder should contain your <code>manifest.json</code>, the <code>content.json</code> (or the correct json for your framework), and an <code>assets</code> folder that contains any other files your mod uses. This may include <samp>.png</samp> files, other <samp>.json</samp> files, and even or <samp>.tmx/.tbin</samp> files, among others. The assets folder may use further subfolders if you wish, though it is not required. |
| | | |
| [[Category:Modding]] | | [[Category:Modding]] |
| + | |
| + | [[pt:Modificações:Pacotes de conteúdo]] |
| [[zh:模组:内容包]] | | [[zh:模组:内容包]] |