RimWorld

RimWorld

[KV] Don't stop the music
54 Comments
Mlie 15 Jul @ 7:49am 
Since this mod has been reported working in 1.6 I added it to the No Version Warning-mod
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2599504692
SalzStange 15 Jul @ 7:04am 
update would be nice?
Sakujo 14 Jul @ 6:05am 
With this mod my music keeps stuck in 3 - 5 second loop in Rimworld 1.6. Works in paused, as soon as I hit play again, the music starts looping. Had to disable the mod for now. No error in the console. :/
Michiko 12 Jul @ 7:38am 
Seems to still work in 1.6. :) An official update would be nice tho!
KiameV  [author] 10 Jan @ 9:35pm 
This mod does not patch any methods, it simply overrides two static floats, so that patch is from another mod

See this mod's code:
https://github.com/KiameV/rimworld-dontstopthemusic/blob/master/Source/musicStop/musicPauseOut.cs
Dr. Quackers M.D. 10 Jan @ 1:56pm 
RandomElementByWeight with totalWeight=0 - use TryRandomElementByWeight.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.GenCollection:RandomElementByWeight<MusicExpanded.TrackDef> (System.Collections.Generic.IEnumerable`1<MusicExpanded.TrackDef>,System.Func`2<MusicExpanded.TrackDef, single>)
MusicExpanded.Patches.MusicManagerPlay/ChooseNextSong:Prefix (RimWorld.MusicManagerPlay,Verse.SongDef&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.MusicManagerPlay.ChooseNextSong_Patch2 (RimWorld.MusicManagerPlay)
RimWorld.MusicManagerPlay:StartNewSong ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.MusicManagerPlay.MusicUpdate_Patch1 (RimWorld.MusicManagerPlay)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Medivh 29 Jun, 2024 @ 6:13pm 
For some reason, this doesn't work with my modlist, it is has 435 mods mind you, so it is probably my fault, just a heads up that it might not be compatible with some other mods.
Conar 20 Apr, 2024 @ 8:32pm 
Had the same stuck-on-1.4 problem. Unsubbing, verifying, and resubbing worked for me.
DragonDai (Uey) 17 Apr, 2024 @ 11:49am 
tried that...but thank you for looking into it for me! I'm sure it'll be fine. Nothing to worry about.
KiameV  [author] 17 Apr, 2024 @ 11:26am 
hmmm. It may not have downloaded. Steam is notorious for not always updating. Try unsubbing the resubbing
https://i.imgur.com/bfwMg1Q.png
DragonDai (Uey) 17 Apr, 2024 @ 8:12am 
Mod is not recognized as updated to 1.5 in game. Fairly certain you know best if you updated your mod, and it says the mod is updated here on the workshop, but I just thought I'd give you a heads up that in my game, the mod is saying it isn't updated.

Love your work <3
KiameV  [author] 9 Apr, 2024 @ 1:26am 
Updated for 1.5
BIG SOUP 12 Jul, 2023 @ 8:28am 
Awesome mod, especially since I run 3 music packs and there's good variety of tracks to listen.

Some people here are saying that music changes on alt-tabbing. This is a vanilla "issue", but has a workaround - set the game to run in background in options. Also add the "-popupwindow" start option, without the quotes - it enables borderless fullscreen. This will however keep your tracks playing and not automatically pausing the game when alt-tabbing or switching to a different monitor, in case you have multiple.
KiameV  [author] 7 Mar, 2023 @ 3:33pm 
If you're getting more than one piece of music playing that's an issue with another mod.
All this mod does is set a "wait" value between songs to 0
Ferret With A Cat Hat 7 Mar, 2023 @ 9:37am 
Can you also add a feature for it to fade to and from combat themes just so you aren't left doing hectic combat whilst the main music keeps playing
JoeOwnage 8 Nov, 2022 @ 3:44am 
Yea I tried starting a new colony and the music played. Must be some kind of conflict
KiameV  [author] 7 Nov, 2022 @ 10:25pm 
This mod just modifies a single number in the game, setting the time to wait between songs to 0 to designate not to wait.
JoeOwnage 7 Nov, 2022 @ 4:29am 
I have realistic human sounds, and I added fluffy music manager since the problem began because I thought maybe I could control it manually. But even with that I can only get it to play one song and then it stops. Unless I'm in combat and then the music works normally

Is there a config setting or something to enable/disable the continuous playback?
19Peej 6 Nov, 2022 @ 10:22pm 
Thank you!
KiameV  [author] 6 Nov, 2022 @ 9:36pm 
First time i've heard of that issue. Do you have any mods that change the music or sound system of the game?
JoeOwnage 6 Nov, 2022 @ 7:45pm 
I added this and now my music only plays during combat?
Zaky 24 Oct, 2022 @ 5:37pm 
Thanks!
darkosto 23 Oct, 2022 @ 3:06pm 
Thank you so much for the update! I appreciate you taking the time <3
Scerion 23 Oct, 2022 @ 3:05pm 
omg Kiame thankyouthankyouthankyouthankyouthankyou :D
KiameV  [author] 23 Oct, 2022 @ 12:02pm 
Updated for 1.4
Had some time today and getting some of the easier mods updated that haven't been picked up yet
BrotherHovis 22 Oct, 2022 @ 2:35am 
Appreciate all the time you put into it Kiame and wish you all the best!
KiameV  [author] 7 Oct, 2022 @ 1:15pm 
After 5 years of modding for this game I am stepping aside. Life has me busy and I will not have time to update my mods. If anyone picks this up let me know and I'll post a message in the description pointing people to the 1.4 version.
KiameV  [author] 16 Apr, 2022 @ 1:02pm 
Yeah this is replacing a constant value in the code itself
Meanie 16 Apr, 2022 @ 11:43am 
I hoped I could change the XML file of this mod to do the opposite and increase the time, but it's a .dll :^(
KiameV  [author] 23 Aug, 2021 @ 7:43pm 
That's basically base game behavior sadly
schloop 23 Aug, 2021 @ 7:07pm 
Anyone notice when you tab out and then back in the song will change?
Plonker 2 Aug, 2021 @ 10:08am 
Thanks KV, solid work as always, I love your mods.
KiameV  [author] 4 Jul, 2021 @ 10:16pm 
Updated for 1.3
Singus Biggle 9 May, 2021 @ 8:52am 
Just tested to make sure, at least for me, it appears that "Don't stop the music" changes tracks when tabbing out of the game and back in. Not sure if this is the best place to report bugs or if this is known already but figured I'd leave it here at least.
A CREATURE MOST FOUL APPROACHES 19 Aug, 2020 @ 11:49am 
This is exactly what I was looking for. Thanks!
KiameV  [author] 10 Aug, 2020 @ 11:37pm 
The music will not stop in 1.2!
V0rador 9 May, 2020 @ 3:55am 
Thank you for your continuous support of this mod! :)
KiameV  [author] 13 Mar, 2020 @ 6:03pm 
This does nothing to change the tracks. This mod simply changes a variable in the code that sets the number of seconds to wait between tracks
CMDR Youth 13 Mar, 2020 @ 5:51pm 
Does this mod prevent Raid tracks from triggering?
I'm using the P-Music pack, but I have not once heard the Raid music in-game so far, nor the Vanilla raid tracks for that matter.
Dynamic 27 Feb, 2020 @ 3:01pm 
Thank you!
KiameV  [author] 27 Feb, 2020 @ 1:37pm 
Updated for 1.1
KiameV  [author] 26 Feb, 2020 @ 2:21pm 
I plan to start upgrading my mods this weekend
rockias 26 Feb, 2020 @ 6:47am 
Update to 1.1?
Dynamic 24 Feb, 2020 @ 4:30pm 
1.1?
slimshedi 22 Nov, 2018 @ 7:57pm 
very good mod tx dude , очень хороший мод у парня,порой так не хочется лезть в тул бар разраба чтоб врубить кастомку римовкую))спасибо чувак...:styx2:
RKade83 21 Oct, 2018 @ 10:42am 
As always, KV, you're a legend.
xTRACKERx 19 Oct, 2018 @ 8:28am 
like :) thx
KiameV  [author] 17 Oct, 2018 @ 9:57pm 
Updated for 1.0
KiameV  [author] 28 Aug, 2018 @ 10:34pm 
Updated for B19