Ludeon Forums

RimWorld => Mods => Releases => Topic started by: user19990313 on November 28, 2017, 08:13:32 AM

Title: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on November 28, 2017, 08:13:32 AM
RuntimeGC In-Game Cleaner
For B18 (build 1722)

What's new in this release:
+(New) Remove BattleLog entries
+Optimized and even more secured GC algorithm
+Reduce memory usage by about 1kb
-Remove Filth or Remove Corpse tools are only displayed under dev mode now


(https://steamuserimages-a.akamaihd.net/ugc/861726917047799000/FD5FD41ECF17575C89417310BC7445C8C1BD6913/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside%7C637%3A358&composite-to=*,*%7C637%3A358&background-color=black)
For A17 or older releases, click Here (https://ludeon.com/forums/index.php?topic=33484)



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
-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.And inform me via PM/leave a comment at Steam Workshop.

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

Languages
English & Chinese Simplified
Chinese Traditional By BiscuitMiner
Japanese By kazumu
German By maculator

[If you want to do some translations, please also translate RuntimeGC.SteamWorkshopDescription.txt (https://www.dropbox.com/sh/dg35p67s6mdil1x/AACNHAlnL3Uwheh0B3_PurlHa?dl=0)  ;)]

Author:
user19990313


Download:

via DropBox (https://www.dropbox.com/sh/xrde684v2rnc0hk/AADePrrMxJ02srQKBXAa7T2-a?dl=0)
or subscribe it at Steam Workshop (http://steamcommunity.com/sharedfiles/filedetails/?id=962732083) :P

Special Thanks to A16 testers:
[Check About.xml for their codes]
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!

[B18] AntiAutoUnload-Keeps your inventory! (https://ludeon.com/forums/index.php?topic=37102)
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: SpaceDorf on November 28, 2017, 08:18:51 AM
Thank you :)

I was just checking if there was an updated version a few minutes ago.

===== EDIT =====

The Dropbox link leads to the folder containing the mod, rather the zipfile itself.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on November 28, 2017, 08:35:08 AM
Quote from: SpaceDorf on November 28, 2017, 08:18:51 AM
The Dropbox link leads to the folder containing the mod, rather the zipfile itself.
Well, just click the folder, and you'll see the folder B18, then the zip file... ::)
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: SpaceDorf on November 28, 2017, 08:47:11 AM
I know ..  ;D

What I wanted to say is, that it is very inconvenient.

I can also just download the additional folders. Which I have to browse through after unpacking.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: fatm3l on November 28, 2017, 08:49:31 AM
Atlast my collection is almost complete
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on November 28, 2017, 09:03:56 AM
Quote from: SpaceDorf on November 28, 2017, 08:47:11 AM
I know ..  ;D

What I wanted to say is, that it is very inconvenient.

I can also just download the additional folders. Which I have to browse through after unpacking.
You're right, I've just adjusted the folders, now you'll face the B18 folder instead of a vague "RuntimeGC"  ;D
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Canute on November 28, 2017, 09:44:55 AM
user19990313,
i need to agree to Spacedorf.
For compatibility with with other release please adjust the download that you straight get the mod.
Don't forget some user are dump and maybe get problems. And i bet at the steam-workshop you didn't upload that filestructure.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on November 28, 2017, 11:31:32 AM
Quote from: Canute on November 28, 2017, 09:44:55 AM
user19990313,
i need to agree to Spacedorf.
For compatibility with with other release please adjust the download that you straight get the mod.
Don't forget some user are dump and maybe get problems. And i bet at the steam-workshop you didn't upload that filestructure.
Thanks for the suggestion. Now the folder structure's clear enough now.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Canute on November 28, 2017, 12:25:35 PM
Its a bit better.
RuntimeGC B18.zip\RuntimeGC.zip\RuntimeGC
There is one zip to much.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: SpaceDorf on November 28, 2017, 02:15:50 PM
Quote from: user19990313 on November 28, 2017, 11:31:32 AM

Thanks for the suggestion. Now the folder structure's clear enough now.

thank you very much  ;D
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Nameless on November 28, 2017, 08:17:00 PM
Was waiting for this to show up before I start any B18 gameplay!
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Zookes on November 28, 2017, 08:29:26 PM
Yay! The final piece of the puzzle! Thank you, user19990313! YOU ARE A GOD
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Zookes on December 02, 2017, 11:21:30 PM
A small bug I've noticed. Sometimes, when using the "CleapUp: WorldPawns" option, nothing happens.

Using the debug option, I get this exception printed to the attached log. Something about failing to fill the window?

[attachment deleted by admin: too old]
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on December 05, 2017, 10:33:47 AM
Quote from: Zookes on December 02, 2017, 11:21:30 PM
A small bug I've noticed. Sometimes, when using the "CleapUp: WorldPawns" option, nothing happens.

Using the debug option, I get this exception printed to the attached log. Something about failing to fill the window?
Wierd... A well-checked vanilla function has raised an error...
Can you paste your mod list here? I guess it's not my mod logic but other mod conflicts that printed this log.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Crow_T on December 05, 2017, 06:17:45 PM
Thanks for adding the removal of battle logs, I love the idea of keeping my saves lean and mean :)
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Deathwithagrin on December 06, 2017, 02:43:38 AM
I wanted to ask if this is compatible with Hugslib, seeing as both of these require them to be loaded just after the Core Mod.

Thanks in advanced.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: MrWeeGee on December 06, 2017, 03:00:31 AM
Quote from: Deathwithagrin on December 06, 2017, 02:43:38 AM
I wanted to ask if this is compatible with Hugslib, seeing as both of these require them to be loaded just after the Core Mod.

Thanks in advanced.

Yes, it's compatible. Everything should come after "Core" as that's essentially the base, vanilla game. Load order works where mods lower in the list take precedence over the ones above it.

For instance: if you have a mod that changed lamp wattage to 10W, and a mod beneath it that made lamps 20W, your lamps would take 20W of power.

Rule of thumb is to have Core 1st, HugsLib 2nd, then everything else beneath those two. I actually have RuntimeGC and other performance fixes towards the bottom of my order.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Roolo on December 06, 2017, 04:40:09 AM
Thanks for this!
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: frenchiveruti on December 06, 2017, 04:33:49 PM
Oh my god thanks a lot, I started to get my FPS killed with my new chicken farm, it seems that my chickens have memory for enough sons that they'll keep them in their relations history for ages!
So, now I have your mod with my mods.
Also, I saw that there's some tendency to encounter some bugs, so if you update, will you consider adding ModSync Ninja (https://ludeon.com/forums/index.php?topic=34447.0) to your mod? Thanks a lot!
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Deathwithagrin on December 06, 2017, 05:14:11 PM
Quote from: MrWeeGee on December 06, 2017, 03:00:31 AM
Quote from: Deathwithagrin on December 06, 2017, 02:43:38 AM
I wanted to ask if this is compatible with Hugslib, seeing as both of these require them to be loaded just after the Core Mod.

Thanks in advanced.

Yes, it's compatible. Everything should come after "Core" as that's essentially the base, vanilla game. Load order works where mods lower in the list take precedence over the ones above it.

For instance: if you have a mod that changed lamp wattage to 10W, and a mod beneath it that made lamps 20W, your lamps would take 20W of power.

Rule of thumb is to have Core 1st, HugsLib 2nd, then everything else beneath those two. I actually have RuntimeGC and other performance fixes towards the bottom of my order.

Thanks a ton, now I can stop procrastinating & continue plans for my mega base.  ;D
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Canute on December 07, 2017, 01:55:16 AM
What do you think about a new feature ?
Currently you need to activate all the cleaning by hand. Most people do this when they notice any lag.
What about to activate an auto. cleaning for some/all features every year/quadrum ?
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on February 02, 2018, 01:05:28 AM
Quote from: Canute on December 07, 2017, 01:55:16 AM
What do you think about a new feature ?
Currently you need to activate all the cleaning by hand. Most people do this when they notice any lag.
What about to activate an auto. cleaning for some/all features every year/quadrum ?
No, auto-cleaning may cause bugs. The point is, if the cleaning did raise an error, you don't know when and why it failed since you cannot get a realtime log report, and that makes it more difficult to recover your saves.
Cleaning manually is more stable, customizable and controlled.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on February 02, 2018, 01:07:39 AM
Quote from: frenchiveruti on December 06, 2017, 04:33:49 PM
Oh my god thanks a lot, I started to get my FPS killed with my new chicken farm, it seems that my chickens have memory for enough sons that they'll keep them in their relations history for ages!
So, now I have your mod with my mods.
Also, I saw that there's some tendency to encounter some bugs, so if you update, will you consider adding ModSync Ninja (https://ludeon.com/forums/index.php?topic=34447.0) to your mod? Thanks a lot!
There will be only updates around the new release of the game and...I'm quite a lasy guy  ::)
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: user19990313 on February 03, 2018, 05:05:26 AM
New translations added:
Chinese Traditional By BiscuitMiner
Japanese By kazumu
German By maculator
Enjoy ;)
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Zanapo on March 06, 2018, 03:46:31 PM
Is there an Alpha 17 release around?
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Canute on March 06, 2018, 04:22:09 PM
Look for
QuoteFor A17 or older releases, click Here
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Orange_Mushroom on June 12, 2018, 08:57:47 PM
Hi,anthor
I made complete Korean translation (main mod, steam description) files, if you need this use it. thank you.

https://drive.google.com/open?id=1YJaENZx74XqGdrZkspL7bv20Hc5PNzQd
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: rawrfisher on August 11, 2018, 06:53:53 PM
Is there a version for the unstable?   I keep running into out of memory issues
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: carnifex2005 on August 11, 2018, 11:41:21 PM
Quote from: rawrfisher on August 11, 2018, 06:53:53 PM
Is there a version for the unstable?   I keep running into out of memory issues

Even in 64 bit mode?
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: rawrfisher on August 11, 2018, 11:48:17 PM
Quote from: carnifex2005 on August 11, 2018, 11:41:21 PM
Quote from: rawrfisher on August 11, 2018, 06:53:53 PM
Is there a version for the unstable?   I keep running into out of memory issues

Even in 64 bit mode?
Yes.  I have around 8gb assigned and it still runs outta memory but takes significantly longer then before.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: MoarPye on October 01, 2018, 08:49:29 PM
Really looking forward to this being updated to B19... My main colony is now starting to run into issues. I was hoping that packing up and moving them to a fresh tile much closer to the AI ship would help to stabilize things, but it's actually made it worse.

So in the meantime I guess I'll start a colony of tribals instead.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: henk on October 03, 2018, 06:43:04 AM
Same. Hope someone can update this if the original author is no longer supporting it.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Ruisuki on October 03, 2018, 08:58:17 AM
Quote from: MoarPye on October 01, 2018, 08:49:29 PM
Really looking forward to this being updated to B19... My main colony is now starting to run into issues. I was hoping that packing up and moving them to a fresh tile much closer to the AI ship would help to stabilize things, but it's actually made it worse.

So in the meantime I guess I'll start a colony of tribals instead.
what issues
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: MoarPye on October 04, 2018, 12:01:51 AM
Quote from: Ruisuki on October 03, 2018, 08:58:17 AM
what issues

High memory loads (I only have 8gb system memory), 30-60 second freezes when something significant happens, like when a caravan arrives or a raid starts.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Canute on October 04, 2018, 02:48:26 AM
Quote from: MoarPye on October 04, 2018, 12:01:51 AM
Quote from: Ruisuki on October 03, 2018, 08:58:17 AM
what issues

High memory loads (I only have 8gb system memory), 30-60 second freezes when something significant happens, like when a caravan arrives or a raid starts.
I bet this mod wouldn't help you much.
Except Rimworld would use alot more memory then before, but which it doesn't do at last not at my side.
Or your use many other programms at once, so your RAM is full.

These freezes comes because Rimworld calculate the pawn's and inventory for the caravan/raids and you prolly got alot of mods. And maybe some conflict so rimworld need to calculate more then usual.
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: Orange_Mushroom on October 18, 2018, 11:35:53 AM
Quote from: Orange_Mushroom on June 12, 2018, 08:57:47 PM
Hi,anthor
I made complete Korean translation (main mod, steam description) files, if you need this use it. thank you.

https://drive.google.com/open?id=1YJaENZx74XqGdrZkspL7bv20Hc5PNzQd


Korean translation. please remember this thing
Title: Re: [B18] RuntimeGC In-Game Cleaner
Post by: mospidatru on October 29, 2018, 10:31:18 AM
I am update to RW R1.0:
-'CleanUp AvoidGrids' removed, because in RW v1.0 they do not go to the save file(on how many I understood)
-'Remove BattleLog Entries' remained, but the cleaning make no sense. After burning the corpse, the battle log with this pawn is automatically deleted by game.
-Added 'Remove Filth on AllMaps'(not only in Home area) from developer mode
-No other changes and everything seems working fine

PS: The mod has been decompiled, fixed and rebuilt. So use at your own risk, until the author user19990313 not make official release for RW v1.0.
PS2: Sorry for my english

https://www.upload.ee/files/9128781/RuntimeGC_R1.0.zip.html