Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SoundReplacer
Replace R.E.P.O. sounds with your own .ogg/.wav files. Harmony swaps clips by name; length, peak volume and channels auto-fit the original, so volume and 3D distance stay intact. Companion app lists real clip names and writes the config.
| Date uploaded | 2 weeks ago |
| Version | 1.2.0 |
| Download link | noxorzzz-SoundReplacer-1.2.0.zip |
| Downloads | 31 |
| Dependency string | noxorzzz-SoundReplacer-1.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
SoundReplacer
Replace R.E.P.O. sounds with your own .ogg / .wav files — the game's files are never modified.
Client-side BepInEx 5 + Harmony mod: it swaps the AudioClip by name at play time. A small WinForms companion app lists the real clip names collected from your own play session, lets you pick a file for each one, and writes config.json.
Features
- 9 hook points:
AudioSource.Play(),Play(ulong),PlayDelayed,PlayScheduled,PlayOneShot(2 overloads),PlayClipAtPoint(2), and theclipsetter. - Ogg Vorbis and WAV (PCM 8/16/24/32-bit or float32, 1–2 channels, up to 120 s).
- Missing or broken file never crashes the game: a warning is logged and the original sound plays.
- Auto-fit to the original clip: the file is trimmed to the original length, its peak is matched to the original loudness, and stereo is downmixed when the original is mono. The
AudioSourceis left untouched, so distance attenuation, 3D position, reverb and mixer effects stay exactly as vanilla. Toggle withmatchLength,matchVolume,matchChannels. noTrim: names excluded from trimming, so a long track can replace a short jingle (quota honks, UI stingers).logPlays: every played clip appears in the log with its length and channel count.catalog.jsonwith real clip names, play counts, originallengthandchannels, updated while you play.- Own log with rotation plus
BepInEx/LogOutput.log. - Reset removes all replacements and returns vanilla sounds.
Requirements
- R.E.P.O. (Steam, Windows x64, Unity Mono build)
- BepInEx 5 — installed automatically by the mod manager
- .NET 10 Desktop Runtime for the companion app
Install
- Install this package through r2modman / Thunderstore Mod Manager (or copy
SoundReplacer.dllintoBepInEx/plugins/SoundReplacer/). - Launch the game, play for a few minutes (shoot, break crates, take damage, open the menu), then quit. A
catalog.jsonappears next to the DLL. - Download the companion app SoundReplacer.App from the GitHub Releases.
- In the app: pick your game folder, choose a file for a sound, press Apply, restart the game.
The app finds the mod folder automatically, including Thunderstore/r2modman layouts (BepInEx/plugins/<Team>-SoundReplacer/).
Config
BepInEx/plugins/SoundReplacer/config.json:
{
"version": 1,
"enabled": true,
"patchClipSetter": true,
"exportCatalog": true,
"matchLength": true,
"matchVolume": true,
"matchChannels": true,
"logPlays": false,
"noTrim": [],
"sounds": {
"Sfx - Item Break": "Sounds/Sfx_Item_Break_1a2b3c4d5e6f7a8b.ogg"
}
}
Keys are exact AudioClip names — take them from catalog.json or the app.
Multiplayer
Replacement is client-side only. Other players hear your custom sound only if they have the same mod and the same files installed. There is no sync; the host is not required to have the mod. Voice chat is untouched.
Links
- Source, issues, releases: github.com/noxorzzz/soundreplacer-repo
- Changelog: see
CHANGELOG.mdin this package
Notes
No R.E.P.O. assets are included or redistributed. Only replace audio you have the rights to use.
CHANGELOG
1.8.0
mutelist: names that are silenced entirely — no replacement, no track start. Useful when a sound must vanish but must not retrigger music (e.g. money-bag impacts after the track already started).
1.7.0
lowPassHz: high-frequency rolloff so a track sounds muffled like the game's own audio.reverbPreset: Unity reverb (Room,Hall,Cave…);Roommatches R.E.P.O.'s concrete interiors.- Effect chain on the track's own source only: low-pass → reverb → short echo. Other sounds are untouched.
1.6.0
- Echo on the 3D track:
echo,echoDelayMs,echoDecayRatio,echoWetMix,echoDryMix. AnAudioEchoFilteris attached only to the track's own source, so nothing else changes.
1.5.0
- Fixed: stereo files were cut exactly in half —
AudioClip.samplesis frames per channel, the code divided it by the channel count. - Fixed: a repeated trigger no longer swaps the clip for silence; that start is skipped, so a playing track is not interrupted.
- Added
spatial: a track can play on its own 3D AudioSource at the event position with logarithmic distance falloff (minDistance,maxDistance,trackVolume).
1.4.0
fadeOutSeconds: smooth fade-out at the end of a replaced clip, so a long track does not cut off abruptly.
1.3.0
oncePerFile/onceWindowSeconds: repeated starts of the same file inside the window are muted, so a long track does not restart three times when the game fires the jingle several times (local + global, quota honks).
1.2.0
noTrim: names excluded from trimming to the original length — a full track instead of a short jingle (e.g. replacing the quota honks).logPlays: every played clip (name, length, channels) is written to the log — helps to find the exact sound name.- Catalog now stores the original clip length and channel count.
1.1.1
- Package README: documented automatic length, peak volume and channel fitting.
1.1.0
- Auto-fit: the file is trimmed to the original length, its peak is matched to the original loudness, and stereo is downmixed when the original is mono.
AudioSourceis untouched, so distance attenuation, 3D position, reverb and mixer effects stay vanilla.- Catalog stores
lengthandchannelsper sound;matchLength,matchVolume,matchChannelsconfig flags.
1.0.0
- Initial release.
- Harmony-based client-side sound replacement by
AudioClipname (9AudioSourcehook points). - Ogg Vorbis and WAV loading with validation; broken files fall back to the original sound.
catalog.jsonwith clip names and play counts for the companion app.- Separate rotating log plus
BepInEx/LogOutput.logoutput. - Config:
enabled,patchClipSetter,exportCatalog,soundsmap.