diff --git a/Defs/SongDefs/Songs_Gameplay.xml b/Defs/SongDefs/Songs_Gameplay.xml index 6059ffa..c88c40a 100644 --- a/Defs/SongDefs/Songs_Gameplay.xml +++ b/Defs/SongDefs/Songs_Gameplay.xml @@ -1,13 +1,13 @@ - - - - Gameplay/Kafka Theme Music EXTENDED - A Dramatic Irony (tnbee mix).Honkai_ Star Rail - 1 - true - - - Gameplay/Wildfire (Cocolia Boss Theme).Honkai_ Star Rail - 1 - true - - \ No newline at end of file + + + + Gameplay/Kafka Theme Music EXTENDED - A Dramatic Irony (tnbee mix).Honkai_ Star Rail + 1 + false + + + Gameplay/Wildfire (Cocolia Boss Theme).Honkai_ Star Rail + 1 + false + + diff --git a/README.md b/README.md index f07fdfb..fcee7a1 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -"# rimworld-ammp" +# Add my music, please! mod for rimworld \ No newline at end of file diff --git a/add_my_music.bat b/add_my_music.bat new file mode 100644 index 0000000..74ff045 --- /dev/null +++ b/add_my_music.bat @@ -0,0 +1,23 @@ +@echo off +echo This command will completely overwrite the Songs_Gameplay.xml file of this modification. If you agree, press Enter, and if not, close this window. +pause + +setlocal enabledelayedexpansion +chcp 65001 +echo ^ > Defs\SongDefs\Songs_Gameplay.xml +echo ^ >> Defs\SongDefs\Songs_Gameplay.xml + +for %%f in (Sounds\Gameplay\*) do ( + set sound_name=%%~nf + + echo ^ >> Defs\SongDefs\Songs_Gameplay.xml + echo ^Gameplay/!sound_name!^ >> Defs\SongDefs\Songs_Gameplay.xml + echo ^1^ >> Defs\SongDefs\Songs_Gameplay.xml + echo ^false^ >> Defs\SongDefs\Songs_Gameplay.xml + echo ^ >> Defs\SongDefs\Songs_Gameplay.xml +) + +echo ^ >> Defs\SongDefs\Songs_Gameplay.xml + +echo Songs_Gameplay.xml overwritten. After restarting the game, music will be added. +pause \ No newline at end of file