RimWorld

RimWorld

[LC]Tools Framework
18 kommentarer
Michiko 12. sep. 2020 kl. 6:05 
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  [ophavsmand] 12. sep. 2020 kl. 5:59 
@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 12. sep. 2020 kl. 4:59 
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  [ophavsmand] 29. aug. 2020 kl. 6:00 
@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  [ophavsmand] 23. aug. 2020 kl. 7:16 
Interesting there are still bugs somewhere in the code I see. I'll look into that next week.
Michiko 23. aug. 2020 kl. 7:13 
Here's the log from HugsLib. [gist.github.com]

Hope it helps!
Michiko 23. aug. 2020 kl. 6:35 
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  [ophavsmand] 23. aug. 2020 kl. 5:23 
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 23. aug. 2020 kl. 5:15 
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  [ophavsmand] 23. aug. 2020 kl. 5:06 
I should've mentioned. Include [LC]SurvivalTools for a base variety of tools.
Michiko 23. aug. 2020 kl. 4:43 
Thanks for your efforts! Now that it's loaded I'll go try the features of the mod itself out now heheh.
Lecris  [ophavsmand] 23. aug. 2020 kl. 4:39 
@Michiko wow that is quite a difference. It will take some effort, but I'll try to implement the saving of the data.
Michiko 23. aug. 2020 kl. 4:35 
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 23. aug. 2020 kl. 4:04 
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  [ophavsmand] 23. aug. 2020 kl. 3:57 
@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 23. aug. 2020 kl. 3:46 
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  [ophavsmand] 23. aug. 2020 kl. 3:26 
@Michiko, good idea. I'll add that in a few minutes
Michiko 23. aug. 2020 kl. 3:16 
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.