About this mod
Simple modding tool which allows importing Sounds (.wav) for use in Event or other Mods into the Stardew Valley Soundbank.
- Requirements
- Permissions and credits
- Changelogs
Simple Sounds
Installation
Extract ZIP to your Stardew Valley/Mods directory
Requirements
SMAPI
What is Simple Sounds?
Simple Sounds is a SMAPI Modding Resource which allows the import of Sound Files for use in Events or other Mods.
Namely, this allows Sounds to be imported via a Content Pack and then referenced in events when using /playSound {sound}
How do I use Simple Sounds?
For Mod Authors, usage is similar to other SMAPI Content Packs:
1.) Create a manifest.json
Follow the SMAPI Manifest Format
You will need a ContentPackFor entry pointed to SimpleSounds:
"ContentPackFor": {
"UniqueID": "BleakCodex.SimpleSounds"
},
2.) Create a content.json
The format is as follows:
{
"Sounds" : [
{
"Name": "{REQUIRED}",
"FromFile": "{REQUIRED}",
"Loop": {OPTIONAL - DEFAULT "false"},
"InstanceLimit" : {OPTIONAL - Default "1"},
"LimitBehavior" : {OPTIONAL - Default "FailToPlay" - {FailToPlay | ReplaceOldest} }
},
...
]
}
- Name
- FromFile
- Loop
- InstanceLimit
- LimitBehavior
3.) Include your .WAV files and copy your Content Pack into the Stardew Valley/Mods folder
Done!
Once complete this sound will be accessible from the in-build SDV Soundbank, meaning you'll have access to it in events with:
/playSound {Name}
Or via other mods which leverage the Stardew Valley Soundbank.
Feature Requests
There are other mods which allow the replacement of sounds so I would recommend them over this one if that is your need.
It's likely possible to add music as well if there is a use-case and another mod hasn't already solved that.
Otherwise I will probably aim to keep this mod simple in order to keep maintainability low and compatibility high.
Source