RimWorld

RimWorld

CM Color Coded Mood Bar [1.1+]
826 Comments
Alu 8 hours ago 
I explained below
Use dubs discord to report tps issues
Seeing what's going on is vital to fixing anything
Wormy Jul 25 @ 2:03pm 
Vanilla pawns bar is also showing 0.400ms, so not sure where exactly the performance gain came from!
Wormy Jul 25 @ 1:59pm 
I see that someone else had a similar issue, please lmk if you want my modlist! I definitely saw an improvement removing this mod in 1.6. I love this mod, I'm sad I have to ):
Wormy Jul 25 @ 1:56pm 
My lord, I love this mod but was optimizing and discovered it was taking 0.400ms per frame to render with 15 pawns. Removed the mod and went from 540TPS -> 650TPS. Maybe an option to set how often the mod updates?
Shadowwake Jul 22 @ 7:21pm 
@crash apologies mate, no offense or criticism was intended. This mod is wonderful and i use it all the time.
CrashM  [author] Jul 21 @ 1:06pm 
@Anne Flank are there any errors in the error log?
Ɏɸũ = № βӀҭͼӇξ$ Jul 21 @ 12:19pm 
1.6 it causes the game to show bright red/green colors across the whole screen unless you pause, whole system is borked
CrashM  [author] Jul 19 @ 5:22am 
@Shadowwake This mod is a replace mod, not an additive mod, this means it is replacing part of the games code so just looking at what it shows in the harmony patches section of the performance analyser doesn't mean it is slowing the game down by that much. It might say, for example, that it is using 0.4ms, but it is replacing a bit of code that was taking 0.7ms that is not longer run. Please join the Dubs discord before jumping to conclusions.
Shadowwake Jul 18 @ 8:36pm 
Edit-edit, it does show a very small impact on that section, but still indicates it's chewing up Harmony time pretty significantly, sometimes.
Alu Jul 18 @ 7:59pm 
use dubs discord @shadowwake if you want to report tps impacts
you cant post images here but you can there and crashm IS there so more convenient to get help and report it
Shadowwake Jul 18 @ 7:49pm 
Edit: Just saw the reference to analyzer in the description, i'll take another look at it in that section.
Shadowwake Jul 18 @ 7:48pm 
Looking through my mod list to see what's causing my frames to chug (dubs performance analyzer) and i noticed that this mod was deep in the red for performance on the Harmony tab. I realize it does a lot of work to monitor the moods and update the frames and whatnot, but is that normal for author and everyone else? Or is it possibly conflicting with something else in my list and causing this mod to really burn update ticks way more than it's supposed to?

To be clear it isn't actually throwing any errors, just really heavily consuming processing ticks, unexpectedly much.
Mold Jul 18 @ 11:02am 
The author of Useful Marks just pushed an update a couple of hours ago that corrected the incompatibility issue, so it should be resolved at this time.
CrashM  [author] Jul 17 @ 11:41am 
@Auspician that's probably because the compatibility was made for 1.5 and 1.6's new threading model broke the patch.
Auspician Jul 17 @ 5:54am 
The author for Useful Marks specifically lists compatibility with Color Coded Mood Bar... when it is clear that that compatibility is broken. Hmrrm.
Otoya Jul 16 @ 1:53pm 
CrashM, ah sorry, I thought you needed logs. My bad.
CrashM  [author] Jul 16 @ 11:22am 
@Otoya Once again... "Since Useful Icons patched into my mod and not the other way around there isn't much i can do about it."
Otoya Jul 15 @ 8:59pm 
Here is the log for the error Both XYM0 and Renzor talk about: https://pastebin.com/3ddiu921 - basically having Useful Marks and Color Coded Mood bar will break things.
Frenchy Jul 13 @ 9:13am 
Idk if it's this mod or NL Custom Portraits but one or the other breaks the visual for pawn health on the bar. So if a pawn is not 100%HP you don't know
NuanKi Jul 11 @ 2:05pm 
can confirm, when i removed the mod useful marks the error was gone,
but here is the log:
{LINK REMOVED}
CrashM  [author] Jul 11 @ 11:57am 
@Renzor, please look 4 comments below yours.
Renzor Jul 10 @ 8:17am 
any chance can add compatibility with Useful Marks? It's a single error that pops up on startup and nothing else
CrashM  [author] Jul 7 @ 9:59am 
Still need the full log to diagnose errors, but if you have Useful Icons, there is a known issue with it that i can't do anything about.
XYM04689733 Jul 7 @ 12:04am 
Tried to create a texture from a different thread.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.SolidColorMaterials:NewSolidColorTexture (UnityEngine.Color)
ColoredMoodBar13.GenMapUI2:.cctor ()
System.RuntimeMethodHandle:GetFunctionPointer ()
MonoMod.Core.Platforms.Runtimes.MonoRuntime:Compile (System.Reflection.MethodBase)
MonoMod.Core.Platforms.PlatformTriple:Compile (System.Reflection.MethodBase)
MonoMod.Core.Platforms.PlatformTripleDetourFactory/Detour:CreateDetour ()
MonoMod.Core.Platforms.PlatformTripleDetourFactory/DetourBase:Apply ()
MonoMod.Core.Platforms.PlatformTripleDetourFactory:CreateDetour (MonoMod.Core.CreateDetourRequest)
MonoMod.Core.DetourFactory:CreateDetour (MonoMod.Core.IDetourFactory,System.Reflection.MethodBase,System.Reflection.MethodBase,bool)
moo Jul 5 @ 8:54am 
@crashm
This calls for a combat patch. Give them some stitches
CrashM  [author] Jul 5 @ 4:59am 
Since Useful Icons patched into my mod and not the other way around (like i did with for compatibility with CG) there isn't much i can do about it.
feet shoe Jul 5 @ 4:09am 
the mod causes health bars in the colonist bar to not show up, possibly because of useful icons incomp?
Turkey Jun 30 @ 3:00am 
Just want to say I don't know why this isn't one of the most used mods, its just so fun and causes no issues at all. Thanks for making it Mr/Mrs Mod Maker.
moo Jun 29 @ 3:38pm 
CrashM  [author] Jun 24 @ 3:36am 
@Tyrant See Alu's comment, there are still people who can't tell this mod apart from the mod it was forked from and if i did remove the 1.1+ there would probably be the odd user who would comment "this doesn't work with 1.0".
Alu Jun 23 @ 3:48pm 
the title is the most that many people will ever read
so its really important for the average steam user
[+| CL rautamiekka Jun 23 @ 12:51pm 
@Tyrant

What'd be the point ?
Tyrant Jun 23 @ 11:44am 
Awesome to see a 1.6 update. Though it might be time to remove the [1.1+] bit from the Workshop title.
CrashM  [author] Jun 17 @ 10:44am 
@Alpenhörnchen I'm afraid i will need more information (like the debug log) in order to help you with that.
Alpenhörnchen Jun 17 @ 9:34am 
Does not work for me on 1.6
Alu Jun 13 @ 10:34pm 
post log
also make sure your harmony mod is resubbed
brrainz broke that yesterday
CrashM  [author] Jun 13 @ 9:02am 
@Lizard the 1.5 mod hasn't changed. Mods for this game have different DLLs for each version, and the DLL for 1.5 hasn't changed since April 2024.
Solarius Scorch Jun 13 @ 5:31am 
@Lizard: No issue on my end.
Lizard Jun 13 @ 1:52am 
You broke it for 1.5 it doesn't work anymore the bar disappear the UI flashes randomly...
CrashM  [author] Jun 12 @ 2:39am 
Updated for 1.6
Evono Jun 2 @ 7:55pm 
thanks both of you :)
CrashM  [author] Jun 2 @ 7:39am 
@Evnon, what Alu said. This mod should be compatible with CG and will replace CGs portrait rendering with this mod's with it's performance improvements and extra features. If you do choose to remove it there should be no problem, this mod doesn't touch the save files.
Alu Jun 1 @ 10:35am 
you can just use both as crash m has compat for groups @evono
assuming said compat wasnt broken
Evono Jun 1 @ 8:09am 
Can this be removed mid game? iam slowly getting too many colonists and want to swap to LTO colonist group bar or are they compatible?
CrashM  [author] Apr 30 @ 1:00pm 
@Cakes This mod has been optimised to be faster than vanilla since before 1.2, this mod replaces vanilla functionality rather than adding to it like other mods do, so what you are seeing in Dubs performance analyser Harmony Patches section doesn't reflect the fact that it is replacing time that would normally be taken by rendering the vanilla mood bar. To compare this mod with vanilla you need to compare the GUI > ColonistBarOnGUI section of the Dubs mod, with and without my mod enabled. For more information check Dubs discord.
Cakes Apr 30 @ 12:15pm 
Is this mod still demanding on performance? I remember checking dubs performance analyzer late game with 8 pawns and this mod was in the red and taking up a huge chunk of the game memory
Raiseo Apr 10 @ 12:51pm 
@CrashM Eyyy that actually worked! I've deleted the folder after unsubbing, there were some remnant files. After subbing again and activating, it all works perfectly now.
Cheers and thank you!
CrashM  [author] Apr 10 @ 9:53am 
@Raiseo one thing you can try is looking for the \workshop\content\294100\2006605356 folder and if it still exists after unsubscribing, if so, just delete it and resub.
Raiseo Apr 10 @ 4:51am 
@CrashM That's what I thought as well, unfortunately, the folder you told me about is empty and both options show up when I have the mod active.
I'm not sure if perhaps I have downloaded more than one version of it somehow.
CrashM  [author] Apr 9 @ 12:10pm 
@Raiseo Thats wierd, do you have a local copy of the mod (in SteamLibrary\steamapps\common\RimWorld\Mods) as well as a workshop copy?