From 811fdf0a2d270e9d6f7d4853417739d38a059a76 Mon Sep 17 00:00:00 2001 From: Shixy Date: Thu, 21 May 2026 23:40:24 +0900 Subject: [PATCH] Remove SFX/non-music entries from default [CDTracks], allow user.ini to fully replace CDTracks - Remove 11 non-BGM entries from default OutRun2006Tweaks.ini [CDTracks] section (Last_Wave.ogg, SEGA441.ogg, Beach_wave.ogg, title_*.ogg, or2ed*.ogg) - Add Settings::CDTracks.clear() before reading user.ini, so that OutRun2006Tweaks.user.ini can fully replace the track list rather than appending to it Fixes the issue where CD Switcher included SFX/ending/title tracks that aren't part of the racing BGM soundtrack. --- OutRun2006Tweaks.ini | 11 ----------- src/dllmain.cpp | 3 +++ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/OutRun2006Tweaks.ini b/OutRun2006Tweaks.ini index cedb849..f055622 100644 --- a/OutRun2006Tweaks.ini +++ b/OutRun2006Tweaks.ini @@ -330,14 +330,3 @@ HideOnlineSigninText = false 26_Night_Flight_prototype.ogg = Night Flight (Prototype) 27_Life_was_a_Bore_Instrumental.ogg = Life was a Bore (Instrumental) 28_Night_Flight_Instrumental.ogg = Night Flight (Instrumental) -Last_Wave.ogg = Last Wave -SEGA441.ogg = SEGA Intro -Beach_wave.ogg = Beach Waves -title_pattern1.ogg = C2C Title 1 -title_01.ogg = C2C Opening Jingle -or2ed1.ogg = Ending 1 -or2ed2.ogg = Ending 2 -or2ed3a.ogg = Ending 3a -or2ed3b.ogg = Ending 3b -or2ed4.ogg = Ending 4 -or2ed5.ogg = Ending 5 diff --git a/src/dllmain.cpp b/src/dllmain.cpp index ca7e90a..112f07e 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -302,7 +302,10 @@ void Plugin_Init() spdlog::error("Settings::read - Launching game with default OR2006Tweaks INI settings!"); if (std::filesystem::exists(Module::UserIniPath)) + { + Settings::CDTracks.clear(); Settings::read(Module::UserIniPath); + } Settings::to_log();