RuntimeGC [1.6] Fixed
<size=20>RuntimeGC Fixed</size> This is an unofficial maintenance/fix build for RimWorld 1.
This is an unofficial maintenance/fix build for RimWorld 1.6. It repairs outdated code paths so the original RuntimeGC cleaner can be used on current RimWorld 1.6 builds.
This is a repair build, not an original work. The original mod, code, assets and copyright belong to user19990313 and the original contributors. This fork claims no ownership of the original work.
Important: back up your save before using cleanup actions. Do not enable this together with the original RuntimeGC or another RuntimeGC fork.
1.6 repair work includes:
- Updated against RimWorld 1.6.4871 APIs.
- World-pawn cleanup now runs RimWorld 1.6's current WorldPawnGC safety rules instead of RuntimeGC's older custom retention graph.
- Animal-family cleanup is strictly limited to animal-to-animal parent genealogy links and vanilla GC safety decisions.
- Fixed battle-log cleanup so it also clears active battle references and does not orphan subsequent combat log entries.
- Reworked archive cleanup to use current public APIs instead of replacing private collections.
- Updated faction-leader regeneration to the current 1.6 API.
- Removed obsolete unsafe runtime detours and legacy automatic metadata/language/Def cleanup from the active UI path.
- Removed outdated 1.5 release payload and old build leftovers.
Core RuntimeGC tools remain available, including manual world-pawn GC, filth/snow/corpse cleanup, battle-log/archive cleanup, faction repair tools, quick actions, and the memory monitor.
这是面向 RimWorld 1.6 的非官方修复维护版,主要修复旧实现中已经过时或与当前 1.6 不再匹配的代码路径,使 RuntimeGC 的核心清理工具能够继续用于当前 1.6 版本。
本项目只是修复版,不是原创模组。原模组、原代码、原资产及相关版权均归 user19990313 与原始贡献者所有;本修复版不主张对原作拥有版权。
重要:使用任何会修改存档数据的清理功能前请备份存档。不要与原版 RuntimeGC 或其他 RuntimeGC 分支同时启用。
主要 1.6 修复:
- 按 RimWorld 1.6.4871 当前接口重新适配。
- World Pawn 清理改为调用 1.6 原版 WorldPawnGC 安全规则,不再使用旧版 RuntimeGC 自制保留关系图。
- 动物家系清理严格限制为动物之间的父母家谱关系,并继续以原版 GC 安全判定为边界。
- 修复战斗日志清理后残留“当前战斗”引用的问题,避免后续战斗日志被写入已经移除的旧 Battle。
- 消息归档清理改用当前公开接口,不再直接替换私有集合。
- 派系首领重建更新为当前 1.6 API。
- 从有效 UI 路径中移除旧版高风险运行时 detour,以及过时的自动元数据/语言/Def 内存清理功能。
- 清除旧 1.5 发行内容与构建残留。
Original repository / 原始仓库:
https://github.com/user19990313/RimWorld-RuntimeGC
Original Workshop page / 原创意工坊页面:
https://steamcommunity.com/sharedfiles/filedetails/?id=962732083