

REPO_CustomLastSong 是一个简单的撤离阶段背景音乐模组。
当本局所有提取点完成、进入“赶回卡车撤离”的阶段时,本模组会:
如果当前关卡没有任何符合条件的自定义 BGM,本模组会自动使用该关卡原本的 BGM 作为撤离阶段的音乐。
REPO_CustomLastSong is a small mod that customizes the evacuation-phase background music.
When all extraction points are completed and the players are returning to the truck, the mod will:
If there is no valid custom BGM for the current level, the mod will fall back to the level’s original BGM for the evacuation phase.
BepInEx\plugins\REPO_CustomLastSong\REPO_CustomLastSong.dllBepInEx\config\xiaohai.REPO_CustomLastSong.cfgBGM 文件夹(不存在时会自动创建)BepInEx\plugins\REPO_CustomLastSong\REPO_CustomLastSong.dllBepInEx\config\xiaohai.REPO_CustomLastSong.cfgBGM folder next to the dll (created if missing)BepInEx\plugins\REPO_CustomLastSong\REPO_CustomLastSong.dllBGM 文件夹(没有会自动创建):
BepInEx\plugins\REPO_CustomLastSong\BGM.wav, .ogg, .mp3, .aiff, .aif, .flac.xm, .mod, .it, .s3mBGM\LastRun_1.ogg → 段名 [LastRun_1]BepInEx\plugins\REPO_CustomLastSong\REPO_CustomLastSong.dllBGM folder next to the dll (it is created automatically if missing):
BepInEx\plugins\REPO_CustomLastSong\BGM.wav, .ogg, .mp3, .aiff, .aif, .flac.xm, .mod, .it, .s3mBGM\LastRun_1.ogg → section [LastRun_1]配置文件路径示例:
BepInEx\config\xiaohai.REPO_CustomLastSong.cfg首次运行游戏时,模组会根据 BGM 目录中的音频文件自动生成配置项。
如果某个音频文件被删除,对应的配置项会在下次运行时自动移除。
[通用]
## 撤离BGM音量 / Evac BGM volume (0-1)
Volume = 1
Volume:撤离 BGM 的统一音量,范围 0.0 ~ 1.0。每一个放入 BGM 目录的音频文件都会生成一段配置,例如:
[LastRun_1]
## 最小使用关卡数 / Min level index (integer > 0)
MinLevel = 1
## 最大使用关卡数 / Max level index (integer > 0)
MaxLevel = 99
LastRun_1.ogg → [LastRun_1]MinLevel:最小使用关卡数,必须是大于 0 的整数。MaxLevel:最大使用关卡数,必须是大于 0 的整数,自动保证 MaxLevel >= MinLevel。[MinLevel, MaxLevel] 范围内时,此曲目才会进入随机池。当前关卡序号的简化理解:
levelsCompleted + 1,但不小于 1)Example config file path:
BepInEx\config\xiaohai.REPO_CustomLastSong.cfgOn first run, the mod scans the BGM folder and automatically creates config entries for each audio file.
If an audio file is removed later, its corresponding config entries will be removed on the next run.
[通用]
## 撤离BGM音量 / Evac BGM volume (0-1)
Volume = 1
Volume: global volume for evacuation BGM, range 0.0 ~ 1.0.Each audio file in the BGM folder gets one section in the config, for example:
[LastRun_1]
## 最小使用关卡数 / Min level index (integer > 0)
MinLevel = 1
## 最大使用关卡数 / Max level index (integer > 0)
MaxLevel = 99
LastRun_1.ogg → [LastRun_1]MinLevel: minimum level index where this track may be used, integer > 0.MaxLevel: maximum level index where this track may be used, integer > 0, automatically clamped so MaxLevel >= MinLevel.[MinLevel, MaxLevel].Level index (simplified):
levelsCompleted + 1, but never less than 1).当所有提取点完成时:
撤离阶段进行中:
关卡结束(例如卡车离开):
BGM 目录下,以免与其它模组混淆。BGM folder, to avoid confusion with other mods.