starfi5h-AudioReplacer icon

AudioReplacer

Load custom sound files to replace in-game sfx and voice lines. Support mp3, wav and ogg format. 自定义音效替换

Last updated a month ago
Total downloads 761
Total rating 0 
Categories Cosmetic Libraries
Dependency string starfi5h-AudioReplacer-0.1.3
Dependants 1 other package depends on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

AudioReplacer

Settings
In Settings - Audio tab, there is a mod UI.
The upper part is path selection and load/unload custom audio from the target folder.
The lower part are drop-down list and search input that can veiw and play each custom audio.

Audio Name

When load from folder, it will take the file name and try to find the audio with the same name in LDB.audios then replace it.
You can install AutoMute to get the current available audio name in the game.

Installation

Via r2modman, or manually download the file and put AutoMute.dll in BepInEx/plugins folder.

Configuration

Run the game one time to generate starfi5h.plugin.AudioReplacer.cfg file.

  • AudioFolderPath - The folder to load custom audio files when game startup.
  • Enable UI - Add custom UI in game audio settings.

AudioReplacerAPI

Provide RegisterDirectory, LoadAudioFromDirectory, LoadAudioFromDirectory, UnloadAudioFromDirectory to dynamic loading/unloading audio files without making them into asset bundle.


音频替换

当从文件夹加载时,它将获取文件名并尝试在LDB.audios中查找同名的音频并替换。
可以安装AutoMute来获取游戏中当前可用的音频名称。

设置

.cfg文件需要先运行过游戏一次才会出现,修改后要点击游戏内'应用设置'的按钮才会生效。
管理器安装: 左边选项Config editor -> 找到starfi5h.plugin.AudioReplacer -> Edit Config
手动安装: 更改BepInEx\config\starfi5h.plugin.AudioReplacer.cfg文件

  • AudioFolderPath - 自定义音频文件的文件夹 (游戏启动时加载)
  • Enable UI - 在游戏设置-声音中加入mod互动介面

Volume icons created by SumberRejeki - Flaticon