[A17][Update03]RuntimeGC In-Game Cleaner

Started by user19990313, June 10, 2017, 10:01:24 AM

Previous topic - Next topic

user19990313

RuntimeGC In-Game Cleaner
For A17b(build 1557)

New update:Update03!Check details in Reply #1.

For its A16 version,click http://ludeon.com/forums/index.php?topic=31990

Description
How could you salvage your over-sized savegame?
How could you make your game running smoothly as it used to be?
Well,you're lucky because you're using this mod!

You can:
-Remove unnecessary World Pawns to alleviate burden of GameSystem
-Clear AvoidGrids to reduce the size of your savegame
-Remove useless members(dead or of other factions) in an animal family
-Remove filth in HomeArea
-(New)Remove corpses in current map
-Fix some faction relationships error(Those caused by mod conflicts are excluded!)
-Re-generate faction leaders to fix some CommTable issues.
-Reclaim Memory used by GameSystem to boost up game performance

You can view help documentation for these tools by clicking "?" buttons in the GUI.

Usage:
1.Activate this mod(after Core mod)
2.Load your savegame
3.Find a tab called "RuntimeGC" at the bottom of your screen
4.Click,and do some cleaning with the GUI

Enjoy!

PS
PS. The longer you played(year-in-game),the more effective this cleaning will be.
PS2. Sometimes errors occur like "Tried to remove xxx from RimWorld.WorldPawns,but it's not here."They're unavoidable as I should thouroughly de-register every pawn(to avoid further bugs).But,they're harmless,so just ignore them.
PS3. Post any errors or bugs on my forum page.Your effort contributes to a better mod.Thanks!
PS4. (Too expensive to buy)

Other
Compatibility:
No known mod conflict yet.
Installation:
Add this mod any time you like.
Remove this mod any time you like.
You don't have to create a new game.
License(brief):
-Can modpack makers include your mod in their modpack?
-Whatever,as long as you don't remove <author /> tag.

-Can other modders make derivative mods based on yours?
-No.There's nothing to inherit in this mod ;)

Languages
English & Chinese Simplified

Author:
user19990313


Download:
[See the second floor please]

Special Thanks to A16 testers:
@夜幻boy凌
@FDF__515
@rsxx4488
@忆丨落叶丶飘零
@_漆原琉华
@878957003
@gagalelife
@上电视看看看
@左手平凡heart
@海流疾冰99
@Auuger灬nice
@一小毛孩子
@735143342
@周杰伦赛亚人
@ydy357071317
Thanks for your splendid work in Close-Alpha tests!

--------------------
Why not pick up some of my mods here?Maybe they could make your gaming experience better!

[A17]AntiAutoUnload-Keeps your inventory!
http://ludeon.com/forums/index.php?topic=32926
[A17]MyLostHead - Draw heads for the head-less!
http://ludeon.com/forums/index.php?topic=33414

user19990313

#1
Download:

via DropBox

or subscribe at Steam Workshop :P

Update03:July 8th
-Bug fixed
Bug Description:Some players encountered a NullReferenceException when processing tales.This might be that their tales are somewhat corrupted(pawnData==null) and I surrounded my codes with try/catch blocks,so we can handle this now.
Bug Fixed!

Update02:July 1st
-Bug fixed
Bug Description:Tale_DoublePawn raise errors during saving after executing cleaning under a specific circumstance:
+An artworks concerns two pawns
+The second pawn is an animal
+The second pawn is dead
+The corpse of second pawn is vanished
+The parents/children/brothers/siblings of the second pawn are survived(at least one)
+The second pawn is tamed by colonist

Bug Fixed!
[Thanks to the feedback from @LittleMikey]

Update01:June 22nd
-Integrated help contents patch (aka the old attachment "Languages_Patch.zip")
-Bug fixed
Bug Description:The tool "Animal family tail-in" might malfunction while robot(s) existing in map(s).Bug Fixed!

You'll be downloading the latest update(Update03).

Jerryn

#2
thank you!

just lettin you know tho the "Animal-family tail in" button doesnt seem to click

user19990313

Quote from: Jerryn on June 10, 2017, 10:26:05 AM
just lettin you know tho the "Animal-family tail in" button doesnt seem to click

But it DO works...you can check the message on the top left of your screen.
By the way,if your saves are young,or actually you don't raise many animals,the count will be 0 but it really works.If you mean this,just try other cleaning items,maybe their effects are much more obvious.
(Or just do every cleaning :P I don't mind)

user19990313

Hey don't sink so rapidly...and come to pick up the language patch please  :)

NotTerriBubble

Yaaaasss!

I been stalking your boards waiting on this!  Thankies <3

PixelBitZombie

I saw A16 version a few days ago and was sad it wasn't A17, looked yesterday and was spurring with happiness! It helped so much, at least 13-18 fps gained. Thank you!
"When logic and proportion have fallen sloppy dead
And the White Knight is talking backwards
And the Red Queen's off with her head"


ohyeahbkim

Made an account to try this out. The FPS drop midgame was horrible, with 20FPS at night, and 35-50 during the day.

After installing this, I'm pulling a flat 60 at all times.

Definitely works. Thanks a ton!

thinkpad

where is the debug file saved?  I accidently pressed Cleanup Debug and it said it saved a output.txt file, but I can't find it anywhere.

user19990313

Quote from: thinkpad on June 12, 2017, 04:01:01 AM
where is the debug file saved?  I accidently pressed Cleanup Debug and it said it saved a output.txt file, but I can't find it anywhere.
I mean,the debug outputs are directed to the game log,so you should check C:/users/your_user_name/appdata/LocalLow/Rimworld by Ludeon Studio/output_log.txt
And you'll find yourself confused with these outputs...That's why I said "Don't do this unless the author tell you to do so".It's a backup plan for debugging,and it's useless to ordinary players,that's all. ;)

XLinYi

除了这个以外其它两个mod基本都坟了,hhhhhhhh

user19990313

Quote from: XLinYi on June 12, 2017, 07:26:49 AM
除了这个以外其它两个mod基本都坟了,hhhhhhhh
Aaah you...Never mind,@琳旖琳 #(滑稽)

krnoel


thinkpad

Yeah, on accident I clicked on the debug button instead of the normal one.

Ashardalon411

you say your mod remove died bodies, its only the skeletons or its valable for fresh corpses ? i don't want to lose my freezer pantry...