Bay 12 Games Forum
Dwarf Fortress => DF Dwarf Mode Discussion => Topic started by: sadron on October 13, 2012, 01:14:31 am
-
So obviously the gaming having to track your dead and what not after a while starts to lag the system. I was wondering if there was a way to just completely wipe it clean, and sure you'd be wiping them from reality but I figured it'd be a good way to clean up unnecessary resource hogging. Anyone able to tell me? I'd rather not turn off stuff like temperature if I can help it.
-
I'm not aware of any utility that does this out of the box, but at the same time I'm all but certain it's possible to do with DFHack. I don't know if there would be any direct problems with it, but from my messing around with hacking DF, it seems to do a pretty dang good job of ignoring invalid ID references. It would probably work.
I do wonder how much effect this has on FPS though, has anyone ever actually thoroughly tested it? I'm not sure how you'd do that really...
-
Yeah I use DFHack to regularly clear away blood and autodump destroy overflowing refuse piles. If there's a command for DFHack to prune this list and free up some FPS that'd be great. Please let me know.
-
From the documentation on github:
fix/dead-units
Removes uninteresting dead units from the unit list. Doesn't seem to give any
noticeable performance gain, but migrants normally stop if the unit list grows
to around 3000 units, and this script reduces it back.
Can't run DFHack so I don't know if it's fix dead-units or just dead-units to call the script.
-
*bump* still don't have any proper information for this. Please respond if you know.
-
fix/dead-units
You need the most recent version of DFHack, which is 34.11r2.
-
Is that the actual code?
-
Should be, it works for me. Did you get an error message when you tried it?