Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

BleakCodex

Uploaded by

BleakCodex

Virus scan

Safe to use

Tags for this mod

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
Note: This is a Modding Resource, while possibly required by other Content Packs, it does not have an effect by itself.


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
The Name of the sound that will be added to the SDV Soundbank. Can be referenced during events via /playSound {Name}
  • FromFile
The directory and fileName of the sound you're adding. SDV supports .WAV files, so other formats will need to be converted.
  • Loop
If the sound should be looped until stopped.
  • InstanceLimit
How many instances of this sound can be playing at once, 0 = Unlimited
  • LimitBehavior
Can either be {FailToPlay | ReplaceOldest} - if an instance limit is specified, once the limit is hit will determine if the oldest instance should stop, or if the newest instance should not play}


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