边缘世界 RimWorld

边缘世界 RimWorld

Tooltips in Dev-mode
18 条留言
Mlie  [作者] 8 月 7 日 上午 5:51 
@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 8 月 7 日 上午 5:47 
How do I identify such a mod?
Mlie  [作者] 8 月 7 日 上午 5:46 
@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 8 月 7 日 上午 5:43 
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 7 月 29 日 下午 5:21 
I think it works now. Please check PR on GitHub
Just 7 月 29 日 下午 5:08 
btw, each Log entry is drawing with the same Label Method.
Just 7 月 29 日 下午 4:54 
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 ツ 7 月 26 日 上午 7:06 
Hmm, I'll try to figure it out, thanks!
Mlie  [作者] 7 月 26 日 上午 6:06 
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 ツ 7 月 26 日 上午 4:24 
Getting the same problem as @moo
moo 7 月 7 日 下午 8:13 
Hi. With performance analyzer out and a heavy modpack, this mod is drawing an average of over 5ms / frame when idle.
Comton 6 月 29 日 上午 2:16 
Rimgoat as ever !
RojoMuerte 4 月 26 日 上午 10:34 
Okay, thank you. I'm not familiar with Discord, I'll see if I can find it.
Mlie  [作者] 4 月 25 日 下午 10:49 
@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 4 月 25 日 下午 7:38 
Thank you! This should have been base game
Johnald P. Redham 4 月 25 日 上午 9:36 
This old man thanks you.
Kimo' 4 月 25 日 上午 9:03 
Another must have, thanks you Mlie