promotional bannermobile promotional banner
Sound Effect Replacement logo

Sound Effect Replacement

Lets you replace any sound effect or music track with another game audio, custom wav file, or silence.

This mod lets you create a Content Patcher content pack to allow for simple sound replacement.

Content Patcher syntax is as follows (e.g.):

{
<br />&nbsp;&nbsp; &nbsp;"Format": "1.23.0",
<br />&nbsp;&nbsp; &nbsp;"Changes": [
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Action": "EditData",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Target": "sound_effect_replacement_dictionary",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Entries": {
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"thudStep": "",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"doorCreak": "dwoop",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"spring1": "CloudCountry",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"summer1": "sounds/1.wav"
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}
<br />&nbsp;&nbsp; &nbsp;]
<br />}


Leaving a value at "" mutes that sound.

Specifying a wav file makes it play that wav file instead.

You can specify multiple replacement options by separating them with a pipe "|" character, e.g. "dwoop|sounds/1.wav", etc.

wav files must specify a path relative to this mod's folder (not your Content Patcher mod), so you must put your wav files in this mod's folder. You can use subfolders as in the above example.

Make sure you specify in your manifest.json file that it is a content pack for content patcher, not this mod.


Technical

Requires SDV 1.5.5+

Requires SMAPI and Content Patcher, uses Harmony.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.

The Sound Effect Replacement Team

profile avatar
Owner
  • 28
    Followers
  • 304
    Projects
  • 6.5M
    Downloads