RimWorld

RimWorld

Tooltips in Dev-mode
18 Comments
Mlie  [author] Aug 7 @ 5:51am 
@Rondson BInary search is the fastest, remove half, check if its fixed, if not, remove half of whats left, if it is, test the other half until you find the mod
Rondson Aug 7 @ 5:47am 
How do I identify such a mod?
Mlie  [author] Aug 7 @ 5:46am 
@Rondson You would need to find out what mod uses the devgui instead of the normal gui to show labels as the patch only patches the dev-mode label. There should be no reason for a mod to use the dev-gui for normal operations.
Rondson Aug 7 @ 5:43am 
Hi! I ran into an anomaly with high ticks with thid mod involved via performance analysis tool in ongoing save:

https://gyazo.com/cff1b7fec34678a34bb2eff48e2bd241

Do I need hugslib log to accompany the picrelated sceenshot?
Just Jul 29 @ 5:21pm 
I think it works now. Please check PR on GitHub
Just Jul 29 @ 5:08pm 
btw, each Log entry is drawing with the same Label Method.
Just Jul 29 @ 4:54pm 
I also experienced an increase in lag with a lot of mods, when in "Spawn Thing" menu. There are 6400 items. I checked different approaches.

The most simple and effective one is to simple remove calculation of label length. Just allow them to be displayed always, regardless of length. It brings performance back to original right away.

I tried also another approach with caching the data only first time menu is opened and clear it when menu is closed. But I encountered side effects (there are different debug windows and need to check all of them correctly to prevent leakage through cache).
Soaryn ツ Jul 26 @ 7:06am 
Hmm, I'll try to figure it out, thanks!
Mlie  [author] Jul 26 @ 6:06am 
Not sure what mods you are using that calls the DevGUI when idle?
When I test it it will only show up in performance analyzer when you have a dev-mode window open as those are the only methods it patches.
Soaryn ツ Jul 26 @ 4:24am 
Getting the same problem as @moo
moo Jul 7 @ 8:13pm 
Hi. With performance analyzer out and a heavy modpack, this mod is drawing an average of over 5ms / frame when idle.
Comton Jun 29 @ 2:16am 
Rimgoat as ever !
RojoMuerte Apr 26 @ 10:34am 
Okay, thank you. I'm not familiar with Discord, I'll see if I can find it.
Mlie  [author] Apr 25 @ 10:49pm 
@RojoMuerte Please post the link to the mod you want to request in the mod-requests channel of the Discord server as this saves me a lot of admin-time.
lostormisplaced Apr 25 @ 7:38pm 
Thank you! This should have been base game
Johnald P. Redham Apr 25 @ 9:36am 
This old man thanks you.
Kimo' Apr 25 @ 9:03am 
Another must have, thanks you Mlie