RimWorld

RimWorld

Smart Minify
129 Comments
-=GoW=-Dennis Nov 6 @ 3:40am 
Actually, it doesn't work at all anymore for some things - Vehicle Wrecks can't be minified even if turned on. And the weight cannot be changed, as you cant type anything in, it's just not taken.
-=GoW=-Dennis Nov 2 @ 2:08am 
Did you get a chance to look at BetterWeight incompatibility after latest update or is there a way to download the prior version of the mod? The errors seem to cause a lot of misbehaviour of stuff that can no longer be minified whereas priorly everything worked okay.
-=GoW=-Dennis Aug 30 @ 7:49am 
Also getting this error right before the long list of BetterWeight Compatibility errors mentioned further down:

Could not instantiate inspector tab of type : System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008]

Doesn't appear without SmartMinify either.
Tyrant Aug 21 @ 7:26pm 
While the Smart Minify mod options work fine from the Title Screen, if I try to mess with them in-game, the scrolling gets all screwy: https://i.postimg.cc/FRzJ650D/0htYd1ni.gif
-=GoW=-Dennis Aug 20 @ 11:49pm 
I also use BetterWeight but did not expect that to be the problem, as the description says that the weight calculation of SmartMinify is turned off automatically when it is used.
Jaxe  [author] Aug 20 @ 10:24pm 
@Inglix: thanks for looking into it, I'll check BetterWeight compatibility as soon as I can.
Inglix Aug 20 @ 4:37pm 
Okay that wasn't as horrible to track down as I feared. It's BetterWeight that isn't playing nicely with this latest update to Smart Minify. Reproduced the error with only Minify Everything, Smart Minify, and BetterWeight active.

https://gist.github.com/HugsLibRecordKeeper/f0a7c230179dfcc5258d6e4748c1b1f7
Inglix Aug 20 @ 2:54pm 
I'm getting similar errors, but it doesn't happen when testing with the bare minimum mod list, meaning there's a mod conflict... somewhere...
-=GoW=-Dennis Aug 19 @ 4:21pm 
Getting tons of errors of type "Config error in RM_SunBlocker: is haulable, but does not have an authored mass value" since the last update, something went wrong?
Jaxe  [author] Aug 19 @ 2:06am 
Updated to v1.14:
- Added search filter to settings menu
- Added quick toggles for structures, spots and underground buildings
- Removed handling of vanilla minified buildings
- Improved filtering
Blakeyrat Aug 17 @ 7:49am 
Uskok when that happened to me a few days ago, I had to completely uninstall MinifyEverything, load the game with it gone, then re-install both it and this mod... that resolved the error for me. It seems like Steam didn't update it properly, or maybe the download got corrupted, I don't know
Uskok Aug 16 @ 6:38pm 
Today I got an error in the console "Ambiguous match in Harmony patch for MinifyEverything.MinifyEverything:AddMinifiedFor". I removed all mods except: Harmony, all expansions, MinifyEverything, Smart Minify; and it still occurs. If I remove Smart Minify too, the error does not occur.

It seems that MinifyEverything was recently updated.
I can provide the whole stack trace but I assume you can reproduce it easily?
Jaxe  [author] Aug 12 @ 12:36pm 
Updated to v1.13:
- Optimized settings menu rendering
Protok Aug 12 @ 12:34am 
Mod options menu is laggy as turtle, nearly impossible to use even from main menu. And I do not include too much mods, just couple of VE furniture and Edo.
Dawnmist Aug 10 @ 4:26am 
Thank you!
Jaxe  [author] Aug 9 @ 10:52am 
Updated to v1.12:
- Updated compatibility with MinifyEverything
- Allowed more building types as candidates
Dawnmist Aug 9 @ 7:58am 
I started up my game today after updating mods, and Smart Minify has started throwing a TypeInitializationException error in SmartMinify.Core.Startup. The mod "Minify Everything" has been updated today so I suspect that Smart Minify may simply need to be updated to match what changed in Minify Everything.

Exception:

Error in static constructor of SmartMinify.Core.Startup: System.TypeInitializationException: The type initializer for 'SmartMinify.Core.Startup' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2029BD3D]
at HarmonyLib.MethodInvoker.GetHandler (System.Reflection.MethodInfo methodInfo, System.Boolean directBoxValueAccess) [0x00000] in <b994eb69d2df47fdb01add71b9ac29d2>:0
at SmartMinify.Core.Operation.Load () [0x00047] in <d90fe6a9583a45819d8ddd76d9cca607>:0
<0x408bac30 + 0x0001b> <unknown method>
Darius Wolfe Aug 5 @ 7:51pm 
+1 for walls as a candidate.

Was gonna report an issue with scrolling to the bottom, but checked older comments and saw it was an odd interaction w/ Cherry Picker. Uninstalled and resubscribed, and the issue is fixed now. Kudos!
Protok Aug 3 @ 6:17am 
Ahh, if it is not a bug - then ok. I'm just used to the fact that walls can be moved and never once have raiders stolen my walls.

Nevertheless, it would be great to bring back this option for those who want to bring walls from modifications to their base - which cannot be built, but can only be found in events.

Thanks for a mod.
Jaxe  [author] Aug 3 @ 6:06am 
@Protok: because raiders can simply uninstall and steal your wall, it's really not worth it but perhaps sometime I'll at least make it a candidate

@Arson: does it not show up in the candidates for minifying? I'm not sure how the bike is coded, this mod only determines what should be minifiable by a formula

@Mousetrap: I don't believe buildings have categories so I'm not sure how I would categorize, maybe by architect menu category, I suppose I could try that sometime
Protok Aug 3 @ 5:52am 
Why cant I still minify Walls? They are even not in a list of candidates!
Resubbed - same thing... Suggestions?
Arson Aug 2 @ 1:12pm 
I acknowledge this may be a silly request. But I would love to be able to minify the dirt-bike from Vanilla Vehicles. The other vehicles no way. But the idea of sending a dirt-bike in a drop pod so people can get home quicker is really appealing to me.
knots6 Jul 29 @ 6:44pm 
How do you use this mod im trying to use this mod for the first time and can't figure out how to whitelist things ?
Mousetrap Jul 26 @ 9:40pm 
Wonderful mod, this makes RimWorld so much more enjoyable.
Suggestion for mod options : Since (I believe) we rarely wanna toggle a single item, the option menu should be categorised.
In my case, for example, I'm trying to disable minification for vehicles, I'd like to make it a rule for all vehicles right now and future mods I might add.
klvlt Jul 26 @ 11:33am 
Thank you for fixing this so quickly, it's very much appreciated!
Jaxe  [author] Jul 26 @ 11:14am 
Updated to v1.11
- Fixed menu not showing last item
Jaxe  [author] Jul 26 @ 10:08am 
@klvlt: so long since I first made this, I forgot I'm the one who put the loadAfter. I'll check it out
klvlt Jul 26 @ 9:48am 
Yes, the mods were in the oder I listed them. This mod has a loadAfter requirement for Cherry Picker. I'm using this version with 1.6. Seeing the comments there just now, there might also be something going on with Cherry Picker not working entirely as intended. (I've not had issues.)
Jaxe  [author] Jul 26 @ 8:18am 
@klvlt: was your mod list sorted properly? I noticed Cherry Picker requests to be in front (or was it behind?) this mod
klvlt Jul 26 @ 7:08am 
This mod appears to interact with Cherry Picker. Everything works fine until I remove some ThingDefs with Cherry Picker. After that (and a restart) I cannot scroll through the full lists in this mod's settings anymore. They cut off at some point. Tested with only these mods active: Harmony, Core, Cherry Picker, Minify Everything, Smart Minify.
Jaxe  [author] Jul 25 @ 11:32am 
Updated to v1.10
- Improved filtering
- Improved settings menu
xKeK0 Jul 25 @ 8:17am 
I have a problem with a bug, I don't know if its this mod but it started when this got updated yesterday. It first happened when i wanted to move something and after that a lot of constructions started to bug out. Pawns can't complete the task because either
a) the blueprints become unavailable, when i right click the blueprint, it says can't reach here
b) the pawns carry the resources but stop at the tile next to the blueprint and then stay there, not doing anything. I thought that maybe it was because of the mid-play through update but even on a fresh save it does the same bug.
DcDanko Jul 24 @ 12:59pm 
Could you add back the ability to enable minifying walls and doors? They've disappeared from both the whitelist and blacklist :(
SERAGONDON Jul 24 @ 3:57am 
can confirm that my case has been fixed in latest update
thanks you!
Jaxe  [author] Jul 24 @ 3:26am 
Updated to v1.9:
- Improved filtering
- Assorted bug fixes
Jaxe  [author] Jul 24 @ 12:21am 
@heuvo grande: I appreciate the detailed reproduce instructions. I will double check to see if this is the same bug that I've been encountering with Odyssey. Thanks
SERAGONDON Jul 23 @ 11:49pm 
Hi, got a nasty bug with your mod, Infinite logs spam with asteroid base active and gravship base active on gravship scenario
mods list: All dlc, minify everything, harmony + smart minify
how to reproduce: using gravship scenario embark to asteroid, setup grav-anchor, leave at least one colonist on asteroid map, leave map with keeping asteroid map with left colonist to another planet map.
After these actions gets infinite logs spams featuring RimWorld.ScenPart_PursuingMechanoids.Tick
WhismTheSchism Jul 18 @ 12:13pm 
Awesome, appreciate your work :)
Jaxe  [author] Jul 17 @ 11:30pm 
This mod is having issues with Odyssey, will fix soon as I can
WhismTheSchism Jul 17 @ 2:06pm 
This mod seems to have disabled my ability to minify my grav engine. Grav engine doesn't show up in the mod settings either. Anyone else had this issue?
Corbald Jul 15 @ 2:31pm 
Breaks minifiability and storage for Hunter Traps, and possibly other things, but this was the first one I noticed.
Turambar Jul 15 @ 6:19am 
Disabling structures is a good idea, but I think doors should be an exception. Any way to automate enabling doors minification?
grijnskat Jul 15 @ 1:51am 
For some reason the mod stopped working for me. The ThingDef lists ingame are now empty: https://imgur.com/a/9ibX1L6
If I hit "save settings", the settings.xml gets emptied out - so read/write doesn't seems to be the problem. Any ideas?
Auld Jul 14 @ 6:26am 
Yee haw 🤠
Jaxe  [author] Jul 14 @ 3:39am 
Updated to v1.7:
- Added support for RimWorld 1.6
pato mago estrelar Jul 13 @ 2:32pm 
yay <3
Dan-geon Master Jul 12 @ 5:03pm 
<3
Jaxe  [author] Jun 12 @ 9:42pm 
Update coming soon*
Rogue Jun 12 @ 7:14pm 
@l.lampenoir Yeah I found the issue and posted about it in the Discord. A new release of MinifyEverything caused Smart Minify to start failing. I included a workaround there if you want to fix it manually for now.
l.lampenoir Jun 12 @ 6:03pm 
I'm not sure why but a recent update doesn't allow for me to minify things like I normally can, e.g. solar panels. There's also no option to white or blacklist things either.