RimWorld

RimWorld

Music Expanded Framework (Continued)
75 Comments
Ostrich-Hungry Sep 18 @ 3:21pm 
I love the idea of the mod, but having all the music packs takes up too much RAM. What advantages does this system have over the "Custom Music" mod? (the one who let you play music from local files)
Lazy Ass Mafia Sep 8 @ 9:10pm 
Tried looking everywhere on how to start making my own music playlist using the mod
And I couldn't find any leads
Even looking into the mod files for any sort of direction and I couldn't find anything
Am I missing something?
I really want to actually make a music playlist even if I don't know much about C#
Halfelfaedyn Sep 2 @ 6:26pm 
Is it possible to make a toggle to keep the original Rimworld menu music? That's my main beef with this. That and I can't disable tracks.
KarbonPanzer Aug 29 @ 8:39am 
It could work but there can be one issue which is that the path in the game files has to be the same as the one on your computer. So if you download the soundtrack from steam or gog they have to be on the correct path. I think it can be done.
ColossalFossil Aug 29 @ 8:32am 
@KarbonPanzer - Oh, I didn't mean include the music in the mod. If I have an OST in my Steam or GoG library, I'd rather just point it to that folder in the mod's config than move them completely.
KarbonPanzer Aug 29 @ 8:24am 
That is possible, though a simple solution would to just have people drop in the music to the mod so you are not distributing them. So the mods would ship with everything but the tracks.
ColossalFossil Aug 29 @ 7:42am 
I always had a feeling that eventually someone would start trolling the mod authors by mass reporting these types of mods.

@Zaljerem - I am wondering if it would be possible to include custom paths for the OSTs. That way, someone could point it to their Steam folder if they own the OST through Steam or point particular soundtracks to individual folders in case, the user purchased the soundtrack off a non-Steam reseller such as GoG.

Another way of doing it would be to allow a music pack to feed the framework its own custom folder locations per song (if it doesn't already). That way, someone could release a music pack that has a config that does the leg work for the framework.
KarbonPanzer Aug 24 @ 8:50am 
Still exists, it's on my github. Check my profile for the link.
Kyrality Aug 24 @ 8:41am 
The FF series music was among the ones nuked, ruined my morning :(

Some people are such losers I stg
DonYohKu Aug 15 @ 6:59am 
@KarbonPanzer Sorry to hear that man! I was wondering what the hell happened I had a few of your mods. I just don't get why some people just hate fun. It's just music man, give me a break :steamsad:
KarbonPanzer Aug 14 @ 7:26pm 
Maybe I'll get an appeal but I have not heard back from Ludeon.
L. Velociraptor Aug 14 @ 7:04pm 
Aw that sucks @KarbonPanzer, I'm sorry to hear that. I was wondering if it was your collection after I saw the link above was cleared out. Some people just have to be jerks, I guess. :<
KarbonPanzer Aug 14 @ 12:27pm 
@L. Velociraptor. Sorry about that someone reported all of my mods including the ones not related to music expanded.

I can still help for both regular soundtrack and mef.
L. Velociraptor Aug 14 @ 12:49am 
There was a Music Expanded: Death Stranding that I really liked and now it's gone :<

How can I make my own music packs? I have the OSTs, so I'd like to make local mods to add the songs in to the game.
Opossum Jul 31 @ 3:56pm 
Also just wanted ot say thanks @Zaljerem for keeping this going! I made a Runescape music pack right before 1.5 released and the updated version of the framework never came until way after I had taken a break from Rimworld for a while. You and a handful of others really do this community a service that I don't think receives enough thanks.
Opossum Jul 31 @ 3:34pm 
@WJSabey I've made some and you should adjust the volume of the track itself
WJSabey Jul 30 @ 4:33pm 
Quick question, if we're making a custom music mod and it's coming out too loud or quiet, is there a key we can add to adjust the volume in XML or do we need to remaster the actual audio file?
Pet Mudstone Jul 22 @ 8:26pm 
For some reason with this mod enabled, space tracks while in orbit only seem to play once upon reaching an orbital area or loading a save and subsequent tracks are all standard earthly music. For calm tracks at least, I haven't gotten into orbital combat yet.
BlueLeafy Jul 21 @ 4:42am 
While this mod doesn't cause errors on its own, trying to enable the other mods like Core or Wasteland results in no music playing and thousands of errors on my error log. I've uploaded a log for your convenience: https://docs.google.com/document/d/1VmRPptWt3gg6Ya6sTKYCTlWtV8xHP61W4432qvCBpCw/edit?usp=sharing
TeH_Dav May 30 @ 6:58am 
Would it be possible to extend compatibility between this mod and the Playlist Mod?:
https://steamcommunity.com/sharedfiles/filedetails/?id=3388866903
Zaljerem  [author] May 15 @ 7:45am 
Thanks, looks like we need a null check for names in a few methods. Thanks for the report!
Buffered May 15 @ 1:14am 
Bug report, involving Vehicle Framework:

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
at MusicExpanded.Utilities.NameMatches (Verse.Pawn pawn, System.String name) [0x00007] in <a82add510f71424fbf463ca29b47365c>:0

VehiclePawns have Name set to null initially, which remains so until renamed (sometimes requiring the All Vehicles Renamable mod in cases like VVE's Dirtbike, etc.). Once it checks for pawn name cues, it will repeat "Couldn't start a new song" in the debug log.

To reproduce:
1. Start game with Vanilla Vehicles Expanded and Music Expanded Core (for the TrackDefs). Enable all music sets except for Vanilla.
2. Enter a quicktest map. Using god mode, build any vehicle. Do not rename it yet.
3. Save the game, and load this save to restart the music.
4. The debug log should add one "Couldn't start a new song" message per frame or so. Destroy/rename the vehicle, and the music starts back up immediately.
Zaljerem  [author] May 4 @ 3:51pm 
Thank you so much for the message, I am really glad to hear he is doing better! Please give him my best regards, please let him know he didn't fail, without him there would be no Music Expanded at all! I've actually fixed a few bugs, and I plan to continue to maintain and improve it, I plan to continue it for 1.6 and beyond! To Dendroid: may your recovery be swift, thank you for ME and for your amazing music. - Jeremy "Zaljerem" Harris
magic.mugger May 3 @ 8:30pm 
Hello there. I'm an old and slow guy so please forgive any confusion. My son was behind the Music Expanded stuff before he had the devastating health emergency. He's recovering more and more, so that's good news if you fancy hearing it. Thank you Zali for doing what you did to keep things going, and also including your well wishes. Tiny acts of kindness like that often go unnoticed, so thank you for putting good energy out into the world. I showed your re-upload to "Dendroid" and had him read it, it was needed as he feels like he's failed a lot of people. Thank you Sit, lots of love your way.
WJSabey Apr 6 @ 3:09pm 
I asked on the Music Expanded Core page, but just realised I probably should have asked here; is it possible to get the active playlist selection saved in the save file instead of globally? If we have two different themed saves we have to change the music settings every time we switch from one to the other.
Holgast Apr 2 @ 7:56pm 
was there ever updated documentation for all of the different available cues?
lol_whut Mar 21 @ 12:12pm 
If you have problems with the music constantly switching around and never getting to listen to a single combat song, then go to mod settings -> Music Expanded and turn off "Vanilla Music Update", although you'd occasionally have to go back and turn it off again right after having done it once

this stupid ass setting is the fault for all the bugs AND it will automatically turn itself on after you have just turned it off
SMercisk Mar 20 @ 4:30pm 
Thanks for continuing this mod, I wanted to make a patch for it for ages!
Zaljerem  [author] Jan 31 @ 5:46am 
Yes, multiple packs.
Velvet Jan 31 @ 5:46am 
So I'm not sure if this ever changed, but last I used Music Expanded there were two versions. The steam version, which only allowed selecting one music pack, and the github version which had updated with the ability to select multiple packs, allowing you to have the music from multiple different mods enabled and shuffled through at once.

I don't see this asked or answered in the comments or description, so what I'm wondering is would this continued version allow you to select multiple music packs, or just one?
KX Jan 29 @ 12:43pm 
I'm also having the problem with the musics constantly swapping from one to another and never playing an actual combat music until I kill all hostiles on the map, I already tried to unsub/resub but it still not working properly. There's some specific times where it seems to work fine but only when my base got raided, but when I go to another map that have any hostile it will constantly start swapping from one normal music one to another over and over again. Most of the time I have to play the combat musics manually with Music manager.
Dr. Quackers M.D. Jan 10 @ 2:33pm 
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)
Zaljerem  [author] Jan 5 @ 3:48am 
Try an unsub/resub? This should have been fixed in version 1.0.4, current version is 1.0.5.
TwinIndifferent Jan 5 @ 2:39am 
Is there any fix to a problem with music rapidly swapping during action scenes (combat, dangers, etc)? Like one track starts playing, then swaps to another one after just couple of seconds until situation is resolved.
Zaljerem  [author] Jan 4 @ 5:26am 
It seems a few new music managers have been released recently - that's all to the good, but please note that Music Manager (Continued) is currently the only FULLY Music Expanded compatible option. This may change (I stand ready to assist the authors of the new mods if I can) but for now use of any other manager is unsupported. Thank you for your understanding.
Zaljerem  [author] Jan 2 @ 12:09pm 
Hi Jonuss, can you unsub/resub to Music Manager? It is now version 1.0.3 and the log shows you're running 1.0.2. Sometimes Steam isn't timely about delivering updates. Please let me know if that worked. Thanks!
Zaljerem  [author] Dec 9, 2024 @ 5:45am 
Additional note: ME mode (Vanilla Music Update unchecked in settings) REQUIRES that you set the "Run In Background" option in RimWorld settings, or it will immediately turn back on.

As always I appreciate everyone's patience, testing, and feedback.
Zaljerem  [author] Dec 9, 2024 @ 5:45am 
Hello all, MEF recently updated to 1.0.4 - this is a massive fix update that should resolve a great many issues. Thank you to Reel for his detailed troubleshooting and testing.

- Detects map danger level correctly - combat should now step down through battle level music and play music continually as intended in ME mode.
- minRoyalTitle is now fully handled by MEF (fixing a specific issue with VFE-Deserters and restoring full functionality for one Royalty song and any future songs using this tag)
- Additional redundancy and checking in the settings menu to prevent error flooding if mods are removed, etc. Last resort - you can always remove the config file to reset.
- Official ME music packs (Core/Wasteland) will be receiving updates momentarily so they functional correctly and as intended in both vanilla and ME mode
Zaljerem  [author] Dec 7, 2024 @ 1:25pm 
Updated: Additional fixes to sound effect selection. Vanilla theme will no longer contain songs with a minRoyalTitle set (this fixes an issue with VFE - Deserters where ME would play songs that should be restricted)
Zaljerem  [author] Dec 7, 2024 @ 9:43am 
Updated: Added redundancy and checking to avoid error flood if settings can't find chosen theme/sound effects. Should now throw an error/warning and revert to defaults.
Zaljerem  [author] Dec 7, 2024 @ 8:20am 
As always, I appreciate reports of issues and your patience. I'm about 6 months more experienced with C# and I'm hoping to fix this up properly, at the least make it a little better. Thanks!
感觉不如睡觉 Dec 7, 2024 @ 8:18am 
OK, this is a simple operation, and I'll see if it makes a difference as I play :)
Zaljerem  [author] Dec 7, 2024 @ 7:31am 
It appears that if you do not have Run In Background set in RimWorld options, MEF will automatically turn "Vanilla Music Update" back on. I'm looking further into the code, noting this above, please see if it behaves any differently.
Zaljerem  [author] Dec 7, 2024 @ 5:32am 
Try recreating your settings as mentioned below?

This is frustrating because I've been unable to duplicate most of these problems, which makes fixing them very difficult.
感觉不如睡觉 Dec 7, 2024 @ 1:58am 
Why does "Vanilla Music Update" keep turning on automatically in my mod Settings, how can I turn it off permanently
Zaljerem  [author] Dec 5, 2024 @ 11:46am 
Hmmm, try deleting your config file so it gets recreated:

C:\Users\YOURUSERNAME\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config

Delete the file that starts with "Mod_3263001145"
Taemaly Dec 5, 2024 @ 10:16am 
Errors non stop at launch, please look into this
Muscle Russell Oct 29, 2024 @ 3:42pm 
Same problem with Vanilla Music Update as the others. Something seems to be amiss in this mod.
Wololo Oct 28, 2024 @ 1:43pm 
@Koyuukekkai All it needs is a loop on the theme of original wars and it's fine.
BumbleBear Oct 1, 2024 @ 12:20pm 
Vanilla Music Update keeps enabling itself after I turn it off whenever I enter the game. Its just constantly scrolling through all the songs with no music.:fscared: