RimWorld

RimWorld

[LC]Tools Framework
18 Comments
Michiko Sep 12, 2020 @ 6:05am 
Ok cool. No rush from me. My mod might be a few more days before I can even test it fully in a game. And it'd be kinda pointless for me to test your mod without other mods, because I'm sure it loads fast enough when close to vanilla lol.
Lecris  [author] Sep 12, 2020 @ 5:59am 
@Michiko Unfortunately not yet. If you care about the details, it's a problem with patching Scribe_Values.Look<T> because it is generic. There is a Harmony PR to fix that and I'll try to set it up this weekend.
Michiko Sep 12, 2020 @ 4:59am 
Hi, I haven't been able to test the new version yet because I'm working on a mod myself too, so my current mod list is fairly vanilla except for the mod I'm working on heheh, which means we wouldn't be able to test the loading speed right now. But I saw in the AutoPatcher comments that you weren't able to fix the loading time stuff due to issues with Harmony and stuff. Has that changed?
Lecris  [author] Aug 29, 2020 @ 6:00am 
@Michiko The Alert_ToolNeedsReplacing bug is fixed. Still working on saving the progress of AutoPatcher and improving the load time. I should be done with that tomorrow.
Lecris  [author] Aug 23, 2020 @ 7:16am 
Interesting there are still bugs somewhere in the code I see. I'll look into that next week.
Michiko Aug 23, 2020 @ 7:13am 
Here's the log from HugsLib. [gist.github.com]

Hope it helps!
Michiko Aug 23, 2020 @ 6:35am 
I see I see. I guess that makes sense. Wouldn't want a sword that gives +15% research speed from some mod to be drawn when the pawn is researching.

Like I said I have not actually tried Survival Tools yet. I just read the comments section when I went to look up what it is. It's not installed on my system. I can give you the HugsLog from my current setup though, which I'll do in a bit. I took a break from my PC to make dinner heheh.
Lecris  [author] Aug 23, 2020 @ 5:23am 
I haven't implemented a conversion for tools. I'll look into that later. Problem with "vanilla" tools is that it affects the stats for all Jobs, and the whole purpose of this mod is to overcome that.

Is the bug SurvivalTools still present in the version I've uploaded today? Please give me a HugsLog so I can fix it. Beware of savegame incompatiblity between the different versions of SurvivalTools.
Michiko Aug 23, 2020 @ 5:15am 
So the mod won't work with tools from other mods?

Also I'm experiencing the bug mentioned in Survival Tools comments where I can only see one colonist in the Assign tab, and editing their outfits is also messed up since the window for doing that seems to mostly be drawn below the visible screen. I don't even have Survival Tools yet so it's probably this or the AutoPatcher mod that's doing it right now.
Lecris  [author] Aug 23, 2020 @ 5:06am 
I should've mentioned. Include [LC]SurvivalTools for a base variety of tools.
Michiko Aug 23, 2020 @ 4:43am 
Thanks for your efforts! Now that it's loaded I'll go try the features of the mod itself out now heheh.
Lecris  [author] Aug 23, 2020 @ 4:39am 
@Michiko wow that is quite a difference. It will take some effort, but I'll try to implement the saving of the data.
Michiko Aug 23, 2020 @ 4:35am 
So BetterLoading showed me it's sitting for several minutes at:
Initializing HugsLib - Initializing child mods: 4 / System.Collections.Generic.List`1[System.Object]:

Without the loading screen tips rotating every few seconds, it actually looks like it's frozen, so ironically BetterLoading made it feel worse lol.

As soon as that finished it almost instantly loaded the menu screen.

I timed it and it was almost exactly 6 minutes vs. 1 minute 40 seconds without the mod active.
Michiko Aug 23, 2020 @ 4:04am 
I'll give BetterLoading a try first and let you know how it goes. I've actually never tried using that mod, though I've heard of it. I'll be back with a report in a bit.
Lecris  [author] Aug 23, 2020 @ 3:57am 
@Michiko, I think I've disabled SS's tool optimization. The loading might take some time because it has to go through all of the jobs and patch them accordingly. It also injects stats to stuff things. Otherwise it is not affected by anything else. Could you try with BetterLoading, I haven't stress test it on high number of mods.

If it is really bad, I can save all of the patches, and load them directly if the loaded mods and their versions has not changed. What do you think?
Michiko Aug 23, 2020 @ 3:46am 
After subscribing to this (and the AutoPatcher of course) my initial loading screen when starting the game takes forever. Several minutes in fact. Is it because of how the AutoPatcher works? Or is it this mod itself?

I guess it gets worse the more mods with defs you have loaded. D:

Sure enough, disabling the mod again to test sets my loading screen back to normal.
Lecris  [author] Aug 23, 2020 @ 3:26am 
@Michiko, good idea. I'll add that in a few minutes
Michiko Aug 23, 2020 @ 3:16am 
I'm about to try this mod out, as it seems quite interesting.

Simple Sidearms has a similar feature. However, your mod is significantly more robust since it's focused on that. To use them together I would recommend turning off the option in Simple Sidearms for "Tool use autoswitch" to avoid issues.