Changes

Jump to navigation Jump to search
1,609 bytes added ,  20:28, 17 February 2018
create page
←[[Modding:Index|Index]]

{{SMAPI upcoming
|version = 2.5
|content =
}}

A '''content pack''' is a collection of files for a specific SMAPI mod to read (essentially a sub-mod). Content packs can contain any files, but usually consist of JSON files and images.

==For players==
If you want to use a content pack, install it just like a SMAPI mod (see [[Modding:Player FAQs|player FAQs]]). Make sure you install the mod it needs too.

==For modders==
===Create a content pack===
# Open your game's <tt>Mods</tt> folder (located in [[Modding:Player FAQs#Game folder|your game folder]]).
# Add a subfolder with the name you want (usually camelcase like <tt>YourModName</tt>).
# Inside the subfolder:
#* Add a <tt>manifest.json</tt> file with the <tt>ContentPackFor</tt> field (see [[Modding:SMAPI APIs#Manifest|manifest format]]).
#* Add the files needed by the mod that will read it. (See the instructions for the mod for which you're creating the content pack.)
# Launch the game, and make sure your new content pack appears under "Loaded X content packs" in the SMAPI console.

===Release your content pack===
Ready to share your content pack with the world? Create a <tt>.zip</tt> file containing the content pack's folder, and upload that file to [http://www.nexusmods.com/stardewvalley Nexus Mods].

Don't forget to change the <tt>Version</tt> field in the manifest when you upload a new version! SMAPI will use for update and compatibility checks.

===Consume a content pack===
If you're writing a SMAPI mod which will read content packs, see [[Modding:SMAPI APIs#Content packs]].

[[Category:Modding]]
translators
8,446

edits

Navigation menu