Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Jarhyn on April 25, 2011, 07:16:34 pm

Title: A utility to remove useless laggy objects?
Post by: Jarhyn on April 25, 2011, 07:16:34 pm
I am a bit of a newb, and have been looking around for a tool that is able to mod a map to destroy all items flagged for dumping or forbidden, similar to the cleanmap utility in the lazy newb pack. It has become a necessity as my fortress has grown and invaders have come (and gone into cave traps, and subsequently been pitted into my lava reservoir). But some of their equipment (which I don't really care about anyway) is iron and so sticks around eating up calculation time. In addition, there's no way that I can find to destroy clothing owned by my dwarves without destroying the dwarves who own it, which further causes lag from wear calculations.

Does any such tools like this exist, or am I going to have to make it myself?
Title: Re: A utility to remove useless laggy objects?
Post by: Phoebus on April 25, 2011, 07:37:38 pm
I am a bit of a newb, and have been looking around for a tool that is able to mod a map to destroy all items flagged for dumping or forbidden, similar to the cleanmap utility in the lazy newb pack. It has become a necessity as my fortress has grown and invaders have come (and gone into cave traps, and subsequently been pitted into my lava reservoir). But some of their equipment (which I don't really care about anyway) is iron and so sticks around eating up calculation time. In addition, there's no way that I can find to destroy clothing owned by my dwarves without destroying the dwarves who own it, which further causes lag from wear calculations.

Does any such tools like this exist, or am I going to have to make it myself?
I think it would be wiser to use the 'Hide' tag for such a task, otherwise you'll end up nuking way too much useful stuff by error.
Not that I know of any utility that allows you to do that.
Title: Re: A utility to remove useless laggy objects?
Post by: Jarhyn on April 25, 2011, 07:44:23 pm
if it's marked forbidden or dump, it's generally because I WANT to destroy it. last time around I just atom-smashed it all, and would have this time too, except I was an idiot and forgot to build bridges to do the smashing before actually filling my lava reservoir; it'll take some obsidian casting to get atom smashers built at this point. But atom smashers still won't address the clothing problem. As it is I'm dumping all my junk non-magma-safe rock into the magma pit.

If it's hidden, I was under the impression that the game still did calculation on it.
Title: Re: A utility to remove useless laggy objects?
Post by: IT 000 on April 25, 2011, 08:06:12 pm
Without removing the clothing in the entity_default file and regening the world you cannot remove them.
Title: Re: A utility to remove useless laggy objects?
Post by: Jarhyn on April 25, 2011, 09:05:15 pm
There's a utility that destroys all blood smears and magma objects created from melting rocks and all molten metal objects from melting metal, broken arrows, etc. I know it's more than possible, it's already been done, it just hasn't been expanded to nuke based on the dump/forbid flags. I guess I'll just have to make the tool myself.
Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 25, 2011, 09:33:44 pm
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)
Title: Re: A utility to remove useless laggy objects?
Post by: narhiril on April 25, 2011, 10:48:20 pm
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)

You're doing it right when you decide to flood the entire surface with magma "in order to reduce lag."
Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 25, 2011, 11:09:48 pm
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)

You're doing it right when you decide to flood the entire surface with magma "in order to reduce lag."
CIRCUS YEAH!

Why do you think us dwarves invented magma? HMMM? To fight goblins? HA! It was obviously to clean our beards of excess elf leather pig tail socks!
Title: Re: A utility to remove useless laggy objects?
Post by: narhiril on April 25, 2011, 11:31:50 pm
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)

You're doing it right when you decide to flood the entire surface with magma "in order to reduce lag."
CIRCUS YEAH!

Why do you think us dwarves invented magma? HMMM? To fight goblins? HA! It was obviously to clean our beards of excess elf leather pig tail socks!

I had an idea a while back to build two enormous towers on either side of the approach to my fortress.  One tower would pump water into a pressurized chamber near the top, the other would do the same with magma.  When invading forces passed between the towers, both would fire streams of water and magma at each other, high above the heads of the attackers, which would combine, coalesce, and rain down meteors on the doomed would-be conquerors.  Unfortunately, such a project turns out to have been a bit too ambitious for my PC.  I began to struggle with fps just after the completion of the first tower.
Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 25, 2011, 11:38:55 pm
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)

You're doing it right when you decide to flood the entire surface with magma "in order to reduce lag."
CIRCUS YEAH!

Why do you think us dwarves invented magma? HMMM? To fight goblins? HA! It was obviously to clean our beards of excess elf leather pig tail socks!

I had an idea a while back to build two enormous towers on either side of the approach to my fortress.  One tower would pump water into a pressurized chamber near the top, the other would do the same with magma.  When invading forces passed between the towers, both would fire streams of water and magma at each other, high above the heads of the attackers, which would combine, coalesce, and rain down meteors on the doomed would-be conquerors.  Unfortunately, such a project turns out to have been a bit too ambitious for my PC.  I began to struggle with fps just after the completion of the first tower.
Some guy made an automatic, repeatable cave-in maker involving bridges and obsidian. Dunno where the thread went  :-\
Title: Re: A utility to remove useless laggy objects?
Post by: darkflagrance on April 26, 2011, 12:23:19 am
^ Wouldn't one of those create its own source of lag?
Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 26, 2011, 09:54:26 am
^ Wouldn't one of those create its own source of lag?
(http://img91.imageshack.us/img91/2775/octopustbearddisagreesau5.jpg)

MY BEARD IS AWESOME

YOUR ARGUMENT IS INVALID!
Title: Re: A utility to remove useless laggy objects?
Post by: Aalto on April 26, 2011, 10:13:14 am
Not quite everything you're looking for, but dfhack does have an unsupported (but working) tool for dumping owned items. You'd have to compile it yourself tho.
Title: Re: A utility to remove useless laggy objects?
Post by: Jarhyn on April 26, 2011, 11:30:11 am
This is all good and fine. I use magma for all sorts of fun applications, and dwarven atom smashers now to remove the rest, but that still doesn't deal with the problem of clothing that's safe and owned from magma in my furniture items which I made out of this funny blue metal I found that doesn't melt. My next consideration is to remove all the furniture, and hopefully the contents will fall out.

I understand the fun of megaprojects, I REALLY DO, but sometimes results are more important than awesomeness. I'm thinking I'll just make an epic furniture stockpile, clear my living area of furniture (except the beds), and then flood it with magma, or build an array of dwarven atom smashers that will destroy the contents of all the bedrooms, and then deconstruct it once all that icky clothing is gone.

Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 26, 2011, 12:25:06 pm
I understand the fun of megaprojects, I REALLY DO, but sometimes results are more important than awesomeness.
I smell an elf.
Title: Re: A utility to remove useless laggy objects?
Post by: Jeoshua on April 26, 2011, 12:30:22 pm
You really gotta stop accusing people of elfhood without offering a solution to said elfhood Nec.
Title: Re: A utility to remove useless laggy objects?
Post by: Rumrusher on April 26, 2011, 12:54:39 pm
You really gotta stop accusing people of elfhood without offering a solution to said elfhood Nec.
place the cursor/pointer on Jarhyn then run this
Spoiler (click to show/hide)
though in Forum mode you might end up changing some random member into a Dwarf so best try to repeat this until beard is grown.

joking aside you could take profit's stone removal workshop and tweak it so it just removes all items assign a dwarf to the job of junk removal and watch as your FPS slowly goes from 120 to 121 or what ever frame rate you wanted it or use the bonfire mod to create a bonfire and mark the area a dump zone and watch as your FPS slowly rises and your dwarf count drops from the accidental fire hazards.
Title: Re: A utility to remove useless laggy objects?
Post by: Jeoshua on April 26, 2011, 01:12:31 pm
I lol'd very hard, Rum.

Exactly what I was suggesting, too.  8)
Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 26, 2011, 02:40:54 pm
You really gotta stop accusing people of elfhood without offering a solution to said elfhood Nec.
Spoiler (click to show/hide)

[/quote]
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)

You're doing it right when you decide to flood the entire surface with magma "in order to reduce lag."
CIRCUS YEAH!

Why do you think us dwarves invented magma? HMMM? To fight goblins? HA! It was obviously to clean our beards of excess elf leather pig tail socks!

I had an idea a while back to build two enormous towers on either side of the approach to my fortress.  One tower would pump water into a pressurized chamber near the top, the other would do the same with magma.  When invading forces passed between the towers, both would fire streams of water and magma at each other, high above the heads of the attackers, which would combine, coalesce, and rain down meteors on the doomed would-be conquerors.  Unfortunately, such a project turns out to have been a bit too ambitious for my PC.  I began to struggle with fps just after the completion of the first tower.
Some guy made an automatic, repeatable cave-in maker involving bridges and obsidian. Dunno where the thread went  :-\
Let me explain this to you, human. Since your beard hairs obviously aren't even tingling, let alone tremorring, I'll just tell you.

Spoiler (click to show/hide)

You're doing it right when you decide to flood the entire surface with magma "in order to reduce lag."
CIRCUS YEAH!

Why do you think us dwarves invented magma? HMMM? To fight goblins? HA! It was obviously to clean our beards of excess elf leather pig tail socks!
[/spoiler]
Title: Re: A utility to remove useless laggy objects?
Post by: Rumrusher on April 26, 2011, 03:41:51 pm
leave them out so that kobl...those monkeys will grab them and watch as your FPS drain away.
use DFmode to shove every single item into a small bag then toss the bag out of the fort mode play area thus removing traces of the item and freeing up the FPS.
or even better kill every one but one dwarf using Dfmode adventure mode (save into it don't do the Arena trick.) then swap back now you have to worry about 1 dwarf and many corpses which you could just burn, dump out of play area, use a workshop on and watch as your morality slip from you.
Title: Re: A utility to remove useless laggy objects?
Post by: Necro910 on April 26, 2011, 03:43:20 pm
leave them out so that kobl...those monkeys will grab them and watch as your FPS drain away.
use DFmode to shove every single item into a small bag then toss the bag out of the fort mode play area thus removing traces of the item and freeing up the FPS.
or even better kill every one but one dwarf using Dfmode adventure mode (save into it don't do the Arena trick.) then swap back now you have to worry about 1 dwarf and many corpses which you could just burn, dump out of play area, use a workshop on and watch as your morality slip from you.
The kobolds will start sending ambushes instead of thieves if they grab too much  :-\
Title: Re: A utility to remove useless laggy objects?
Post by: Rumrusher on April 26, 2011, 03:49:24 pm
leave them out so that kobl...those monkeys will grab them and watch as your FPS drain away.
use DFmode to shove every single item into a small bag then toss the bag out of the fort mode play area thus removing traces of the item and freeing up the FPS.
or even better kill every one but one dwarf using Dfmode adventure mode (save into it don't do the Arena trick.) then swap back now you have to worry about 1 dwarf and many corpses which you could just burn, dump out of play area, use a workshop on and watch as your morality slip from you.
The kobolds will start sending ambushes instead of thieves if they grab too much  :-\
I meant the monkeys that plague fort owners with their nimble fingers.
Title: Re: A utility to remove useless laggy objects?
Post by: Jarhyn on May 01, 2011, 12:11:41 pm
Well, I figured it out. DFHack now includes an autodump utility, which can be modded in the source to destroy any object designated dump. Got me 18 FPS improvement, just enough to be able to afford flooding the surface of the world with magma!
Title: Re: A utility to remove useless laggy objects?
Post by: Vhorthex on May 01, 2011, 03:03:03 pm
Well, I figured it out. DFHack now includes an autodump utility, which can be modded in the source to destroy any object designated dump. Got me 18 FPS improvement, just enough to be able to afford flooding the surface of the world with magma!

Can you provide steps to do this!?

I mean, if I could nuke stuf that is marked as dump... I think... I'd be the happiest dorf in the world. I had an acceptable 30 fps, and about 8 consecutive invasions later... not so much.


EDIT:

Yeah, I found the source code for the "send dump items to cursor" tool. But I guess my zero knowledge in coding/compiling is killing me. As even after reading the "how to" for compiling, I don't get it. :( lol

If there is a kind soul out there that could compile it and post it, it would be amazing! My dwarfs actually started ignoring cetain items set to dump!? Even if there is a garbage dump 2 squares away. I don't get that either.

Thanks?... :D
Title: Re: A utility to remove useless laggy objects?
Post by: Jarhyn on May 02, 2011, 03:02:39 am
you'll want to change the autodump source so that...

bool destroy = true; //instead of false at the beginning... or just execute it with the proper arguments. Easier though to just set it TRUE

if (!temp.base.flags.dump || !temp.base.flags.on_ground) should instead read
if (!temp.base.flags.dump || (!temp.base.flags.on_ground && !destroy))

then right click on the solution (at the very top of the source tree for the project), and select BUILD, using MSVC2010 express (free from microsoft). Follow the instructions for microsoft visual studio 2010.

Be careful what you designate with this tool though, it can lead to funny results with traps and buildings. I wasn't careful in doing a zone designation and nuked half of my cage traps an adamantine bridge, and because I had designated a couple stone types I lost a few workshops too.

And if they are ignoring dump items, make sure your dwarves will retrieve items set to outside (using the (o)rders screen), and undesignate it, claim it, and then redesignate for dump
Title: Re: A utility to remove useless laggy objects?
Post by: Eldrick Tobin on May 02, 2011, 03:28:38 pm
Took a stab at providing the dfautodump.exe that was asked for. Granted the last time I was playing with any DEBUGGING (no not coding - debugging) was making things work on Windows for my silly CircleMUD projects.

I never thought I'd see that frustration back at such magnificent levels.

downloaded source from git repo at around 10:16am.

Since then I've scrapped everything twice back to the original zip I got off the repo. I've tried building in Express; outside of express; using every batch file in the build folder; with the cmake gui, without it.

I think I'll wait till peterix puts out .14. I don't feel confident to fix any of the warnings (all over the place) let alone the errors (new prospector rewrite) for the package. Of course there's the fact none of the exe's I get work anyway. Pure explodium. At least my system doesn't go boom.

(link removed -ancient) Put on my wiki to avoid anymore potentially unnecessary spoiler tags creeping out of my keyboard. I think I'll try a fresh zip and if that doesn't work I'll give up.

Edit: No change. Supported only throws out 70 warnings and 6 errors instead of like 111 and 8. (link removed -ancient) Image at the bottom of the page is named appropriately.
Title: Re: A utility to remove useless laggy objects?
Post by: Aalto on May 02, 2011, 04:22:25 pm
http://www.mediafire.com/?0erck8tri0k4ei4 (http://www.mediafire.com/?0erck8tri0k4ei4)

Compiled autodump. Also included a simpler tool (plus source) I hacked together for myself to delete hidden items, which has the potential advantage of ignoring items in buildings by default (which you can override with -b).
Title: Re: A utility to remove useless laggy objects?
Post by: Jeoshua on May 02, 2011, 04:47:48 pm
Put it somewhere other than Mediafire. That place is an ad-supported virus waiting to happen!

You realize that DFFD is a free hosting site for DF files, right?
Title: Re: A utility to remove useless laggy objects?
Post by: Aalto on May 02, 2011, 04:49:48 pm
Yeesh, you're free to host it elsewhere, I just uploaded to mediafire 'cos it was the first thing that came to mind and doesn't require registration :P
Title: Re: A utility to remove useless laggy objects?
Post by: Vhorthex on May 02, 2011, 06:07:22 pm
http://www.mediafire.com/?bh3aua32emn9utw (http://www.mediafire.com/?bh3aua32emn9utw)

Compiled autodump. Also included a a simpler tool (plus source) I hacked together for myself to delete hidden items, which has the potential advantage of ignoring items in buildings by default (which you can override with -b).

OMG you are a god amongts... dwarf children or something.

Although, before we throw the first fistfull of confetti.

When I try to run either of the apps, I get the following error;

This application has failed to start because libgcc_s_dw2-1.dll was not found. Re-installing the application may fix this problem.

I foudn that DFTherapist had that file, so I got it from there. (Most likely that is something stupid not correct to do, but hey i'm trying lol)

But now;

This application has failed to start because libstdc++-6.dll was not found. Re-installing the application may fix this problem.

And that one, although I found some on the Internet, there are so many difference file sizes and all, that I'm really thinking that i'm back to stupid again. I felt so happy lol

I'm sorry!
Title: Re: A utility to remove useless laggy objects?
Post by: Eldrick Tobin on May 02, 2011, 06:54:33 pm
Right well there's trying mine compile. MSVC 2010 Express edition. I have tested this on my own region and got help from an expert to get it nice and happy.

Happy does not mean it's without issue... but if you just want stuff gone forever... the -d flag is your friend (or the supplied batchfile)

Also recommended: be very specific in your dumping. loo(k) at things and dump them directly, or d b d for areas. The stock screen could lead to buildings going nova.

Consider this alpha software, but man does it feel good to dig out a new floor and then POOF all the garbage stone you don't want.


If you want to use it to MOVE things... be warned the game isn't quite sure what you just did to the local item cache, and you'll have to save and reload to interact with the items once moved.


And now the DFFD link: http://dffd.wimbli.com/file.php?id=4320 (http://dffd.wimbli.com/file.php?id=4320)  Pre-release of DFAutodump. Enjoy, and be careful ^-^
Title: Re: A utility to remove useless laggy objects?
Post by: Jeoshua on May 02, 2011, 07:08:49 pm
Thanks for putting it on a sane site for me Eldrick.  I couldn't get mediafire to work without installing software... software I wasn't about to trust.

You? I trust.
Title: Re: A utility to remove useless laggy objects?
Post by: Aalto on May 02, 2011, 07:35:49 pm
Argh, sorry about that, apparently it gets compiled with some gcc dependencies and I can't seem to get rid of those (I'm also very new to this so when the -static compiler flag doesn't work I'm stumped :P). Edited the link to point to a zip that should have everything you need.
Title: Re: A utility to remove useless laggy objects?
Post by: Vhorthex on May 02, 2011, 09:14:42 pm
Argh, sorry about that, apparently it gets compiled with some gcc dependencies and I can't seem to get rid of those (I'm also very new to this so when the -static compiler flag doesn't work I'm stumped :P). Edited the link to point to a zip that should have everything you need.

It's... so... *falls apart* ITS SO DAMN BEAUTIFUL MAN...

Dude... To however coded this little gem, my hat off to you kind sir. And to Aalto, a big thank you for helping an utter noob like me. I'd like to also thank everyone involved in the dfhack project. Super amazing! Let's us enjoy the game, and I mainly use this as a little work around for some rough edges! It's grrrrrreat!

I'm off to delete the world now! MOUAHAHA! IT WORKS!! ITTTSSSW WORKING! *PARTY HATS*

THANK YOU!

PS: Eldrick I was about to try your method, but then Aalto just went crazy and uploaded the whole damn thing. Thank you nonetheless!
Title: Re: A utility to remove useless laggy objects?
Post by: Eldrick Tobin on May 02, 2011, 11:03:02 pm
Vhorthex: No worries... I forgot to say "Put it in your dfhack directory." Didn't even occur to me until I turned my monitor back on just now. Not like my package has the dfhack dll @.@

Aalto: Dependencies. Don't envy you in trying to figure out which dependencies are mandatory.


And in the end everyone wins. So it's all good ^-^v

And those random socks... tossed on the floor. They win and deserve NOTHING BUT THE VOID!
Title: Re: A utility to remove useless laggy objects?
Post by: Vhorthex on May 02, 2011, 11:07:52 pm
And those random socks... tossed on the floor. They win and deserve NOTHING BUT THE VOID!

MOUAHAHHAHAH! I HAVE NUKED SOOO MANY ITEMS!

It feels like I'm in control! Seriously, even with "gather refuse outside" all the right permissions, no burrow assignments, 50+ idle dwarfs (which hauling jobs active)... certain items seemed to be very unpopular! :P

Now POUF! ALL GONE!

Thanks again to everyone!

Oh, yeah, I went from 15FPS back to 30FPS! Amazing! :D
Title: Re: A utility to remove useless laggy objects?
Post by: Jarhyn on May 02, 2011, 11:28:39 pm
If you use DFAutoDump you will still need to have all the dwarf fortress dependencies, IE DFHack core, preferably the latest version. I'll upload my binary folder at some point.
Title: Re: A utility to remove useless laggy objects?
Post by: Urist Imiknorris on May 02, 2011, 11:51:52 pm
You could just give all plant thread, leather, silk, and wool boiling points of 10000 U.
Title: Re: A utility to remove useless laggy objects?
Post by: Eldrick Tobin on May 02, 2011, 11:57:00 pm
Or just a link to http://www.bay12forums.com/smf/index.php?topic=58809.0 (http://www.bay12forums.com/smf/index.php?topic=58809.0) so peeps can just snag the full deal.

As for the file I put up I am tempted to bundle it with enough stuff to make it run on it's own. Just letting my brain catch a break... lest my little pre-release tool party ends up with "Wait lemme upload that again." zerg rushes like Aspectus has sometimes had -.-;

Lessee... dfhack.dll, msvc r and p dlls, license, memory.xml, and the dfhack readme.html file? plus dfad, and the dfad batfile... that's everyone I think `-`

Alright... ran okay from it's own dir with all it's "new friends" I'll just zip that dir up and reupload.

Seriously wish me luck here `-`; I do not wanna be file zerging for the next hour or something. Goofing with it tossing socks into oblivion? certainly. adding_just_one_more_file_I_forgot all night? no thank you.

Zip Updated. Zip Uploaded. Url the same: http://dffd.wimbli.com/file.php?id=4320 (http://dffd.wimbli.com/file.php?id=4320)

You could just give all plant thread, leather, silk, and wool boiling points of 10000 U.

It's not always as simple as that. (Moods for one thing). I latched onto socks because they were the first thing to frustrate me in Dinning Halls before I found out about the whole "Dwarves put their boots on FIRST, and then well they forget to take the boot off to put the sock back on" fiasco.

As for my own primary autodump use? I hate hauling stone. Sometimes even when I need it. But I'd rather finish the project NOW and worry about the stone I tossed into a magma hole later. However I've had poor sods dodge traffic INTO the magma holes before and I don't like to see "their torso is melted." on children. This? This solves that. ^-^

It also got me looking at code that wasn't just wiki backend markup.
Title: Re: A utility to remove useless laggy objects?
Post by: narhiril on May 04, 2011, 04:30:08 am
When I try to run it, it tells me...

(http://img831.imageshack.us/img831/9053/error1x.png)

A file by this name was not included.  The most similar-looking file did not work when renamed, or when copied and renamed.

Pulled straight from the zip.
Title: Re: A utility to remove useless laggy objects?
Post by: Eldrick Tobin on May 04, 2011, 08:49:00 am
When I try to run it, it tells me...

(http://img831.imageshack.us/img831/9053/error1x.png)

A file by this name was not included.  The most similar-looking file did not work when renamed, or when copied and renamed.

Pulled straight from the zip.

Probably because the msvc 2010 redists isn't installed at all on your end "But I do have it installed." Oh I wouldn't be surprised if you did and it still barked about it not being available. Adding soonish.

Edit: *meanwhile -system is searching for dll- looks up why the errors might exist* I love when people -who should know- seem to get confused themselves. Stupid MSDN thread -.-;

Edit2: "What dll are you looking for? I don't have that >.> <.< Really I swear." Oh screw you windows... compiling it differently...

Edit3: Re-compiled, re-tested (who needs that piece of sandstone anyhow?), re-zipped, and re-uploaded. Compiled it "Release Win32" this time. Give it a whirl. Here's to hoping it's happier -I'd rather not have to play with "multithreaded" or "statically linked"
Title: Re: A utility to remove useless laggy objects?
Post by: Eldrick Tobin on May 04, 2011, 01:06:58 pm
So I'm gonna assume I can stop watching this thread like a hawk... because Aspectus Lolin doesn't actually check itself for bugs and issues. Also as this house is about get get AC work done... I might lose power.


Either way I'm not gonna be watching the thread for a while. Enjoy the Release compile!
Title: Re: A utility to remove useless laggy objects?
Post by: bumblepuppy on May 05, 2011, 01:54:10 am
WOAH. My fort went from barely keeping above 50 FPS to ~95 FPS. I had to remove over 2000 items of merchant junk littered on the surface after goblin raids.
Title: Re: A utility to remove useless laggy objects?
Post by: Vhorthex on May 05, 2011, 07:18:25 pm
WOAH. My fort went from barely keeping above 50 FPS to ~95 FPS. I had to remove over 2000 items of merchant junk littered on the surface after goblin raids.

50 FPS? Have you been playing your fortress for only 2 years? :P

After 10 years of sieges,  you'd be lucky to get 20 FPS. I finally can get 30 FPS (from 15) in my 12 YO fortress using this tool to cull 1000's of items that were just cluttering my fortress.

After 10 years, I couldn't even use the traders to sell off my crap, there'd always be 2 simultaneous sieges that would get triggered before the mechants could leave. And well, they'd die all over the map and scatter my crap. :P

This tool rocks! :P
Title: Re: A utility to remove useless laggy objects?
Post by: Saiko Kila on May 06, 2011, 01:37:23 am
http://www.mediafire.com/?0erck8tri0k4ei4 (http://www.mediafire.com/?0erck8tri0k4ei4)

Compiled autodump. Also included a a simpler tool (plus source) I hacked together for myself to delete hidden items, which has the potential advantage of ignoring items in buildings by default (which you can override with -b).

Thanks for that. I use dumping for management purposes and this tool, which destroys only hidden stuff, is a life saver. Well, at least life comfort saver.
Title: Re: A utility to remove useless laggy objects?
Post by: bumblepuppy on May 06, 2011, 01:51:57 am
WOAH. My fort went from barely keeping above 50 FPS to ~95 FPS. I had to remove over 2000 items of merchant junk littered on the surface after goblin raids.

50 FPS? Have you been playing your fortress for only 2 years? :P

After 10 years of sieges,  you'd be lucky to get 20 FPS. I finally can get 30 FPS (from 15) in my 12 YO fortress using this tool to cull 1000's of items that were just cluttering my fortress.

After 10 years, I couldn't even use the traders to sell off my crap, there'd always be 2 simultaneous sieges that would get triggered before the mechants could leave. And well, they'd die all over the map and scatter my crap. :P

This tool rocks! :P

20 years, actually. It's a nanofort.
Title: Re: A utility to remove useless laggy objects?
Post by: Flare on May 06, 2011, 11:22:02 pm
I'm probably having a brain fart, but it seems that doors still think that DFdumped objects are still in their doorways. Does this have anything to do with these objects not showing up on the "k" tab?
Title: Re: A utility to remove useless laggy objects?
Post by: Aalto on May 07, 2011, 10:59:49 am
Yeah, the tile occupancy stuff (and, as a result, moving items) seems rather bugged. I think someone said earlier in the thread that saving and reloading fixes all that.
Title: Re: A utility to remove useless laggy objects?
Post by: darkflagrance on May 07, 2011, 01:58:58 pm
Great work! This is awesome!