Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3

Author Topic: A request for help from Bay 12 and its community regarding optimizing DF FPS, -  (Read 4456 times)

bradley364

  • Escaped Lunatic
    • View Profile

-playability, and enjoyment for one's computer.


I try so hard to get into Dwarf Fortress. The game is just amazing to me on paper. All my friends play it, and once again I've grown jealous from their stories and installed the game.

Once more.

See, I always hit a wall with it. My FPS craps out very quickly, with my forts slowing down to 20 or below FPS very early on. I've tweaked the Init far into the night, like a night such as this, to no avail. So I've come to ask the community to please help me, to work with me, and to create another die hard DF fan.


For starters, I'm trying to use the Mayday Tileset, so I have already downloaded the combined release. I also use the DF Init Utility to tweak my settings, as I find it the most headache free way to try this.

As for my systems specs, they are here below.

Spoiler (click to show/hide)


Any advice or feedback would be greatly welcomed.
Logged

timtek

  • Bay Watcher
  • I <3 Tacos
    • View Profile

Man your pc kicks the crap out of mine. have you tried smaller worlds and smaller embarks? Mine slows down a lot but not enough to make playing it impossible.
Logged
My fortress brings all the dorfs to mah yard...

Lawec

  • Bay Watcher
  • Dabbling Goblinslayer
    • View Profile

Even though your CPU has a fairly high clock rating, it is quite bad :/
I've noticed that Celerons are quite awful at handling DF.
But as Timtek says, try and embark on smaller worlds+embarks.
Logged
In order to improve the universe's frame rate, we must all throw rocks into volcanoes and then do absolutely nothing, worldwide, for a week, to take pressure off pathfinding.

Mason11987

  • Bay Watcher
    • View Profile

Nano Fortress says it only works for 40d, and you will get an error saying it isn't working, but if you run it while you are picking an embark location, you'll still be able to set it to 1x1.

Do that and tell me how it runs.

Logical2u

  • Bay Watcher
    • View Profile

So, suggestions:

Go to the Legacy version - download that from the main page here then grab the Mayday tiles and such from the DF Wiki. You can then manually install them. The Legacy version uses less video-card related stuff, so if it's your video card causing problems, that should help.

A little bit more RAM is in order for the newest release, due to the massive underground. If you can't get any, use smaller areas - nanofortress for extreme smallness.

I think your CPU should be fine - it's just a bit old and will probably run hot, so make sure that it doesn't overheat on you!
Logged
This account is defunct - please contact me through other means.

Blackdutchie

  • Bay Watcher
    • View Profile

you can remove underground layers in the worldgen params, try 1 cavern instead of 3 and see how you like that if decreasing embark site size or the other above mentioned tips don't work.
Logged
Quote from: Bauglir
Quote from: Flying Carcass
Quote from: Urist Imiknorris
The first lesson taught by DF is patience.
The second: Madness.
The third: Magma, properly applied, solves all problems.

Cotes

  • Bay Watcher
    • View Profile

Mess around with your init file. First of all, you should set the priority to HIGH or REALTIME and try different print modes. If all else fails, turning off temperature, weather and/or cave-ins from d_init should help.

I also hear that lowering G_FPS_CAP can help, but I don't know for sure...
Logged
Well if you remove the [MULTIPLE_LITTER_RARE] tag from dwarves I think they have like 2-4 children each time they give birth. And if you get enough mothers up on the pillars you can probably get a good waterfall going.
Ashes are technically fire-safe.

NW_Kohaku

  • Bay Watcher
  • [ETHIC:SCIENCE_FOR_FUN: REQUIRED]
    • View Profile

There are two major ways to kill your FPS, pathfinding, which is something you can't stop entirely, but which you can mitigate by reading up on this: http://www.bay12forums.com/smf/index.php?topic=56041.0  and ensuring that you cage or pit all excess livestock so they can't path.

The other main killer is fluids. Keep fluids locked in perfectly still 7/7s, where they are relatively infrequently checked.  Moving fluids, even ones like murky pools that have lost some of their water, so a few tiles of 6/7 water slosh around over 5/7s constantly, will chew large amounts of your FPS.

Aside from that... well, learn to live with 20 FPS...  20 FPS is not THAT bad.

Frankly, I tend to play by pausing, and controlling things, then unpausing while I switch to another window like the forums and wait for my commands to be carried out.
Logged
Personally, I like [DF] because after climbing the damned learning cliff, I'm too elitist to consider not liking it.
"And no Frankenstein-esque body part stitching?"
"Not yet"

Improved Farming
Class Warfare

Hyndis

  • Bay Watcher
    • View Profile

Large numbers of items or large open spaces your dwarves can path too can also hurt your FPS by a large amount.

In my fortresses I've been adjusting my layout, such that I'm regularly getting 150-200ish FPS.

With 180 dwarves.

:D

Of course the i7 960 helps out a bit. Seeing a decent improvement over the older E8400, but also refinements in fortress layout have improved things as well.
Logged

NW_Kohaku

  • Bay Watcher
  • [ETHIC:SCIENCE_FOR_FUN: REQUIRED]
    • View Profile

Oh right, and also, either use that "high traffic area" zoning thing on all your major hallways, or else go to your init files, and make traffic [1:1:5:50] just to stop the pathfinder from trying to search for extra paths that might contain some "1"s in it.
Logged
Personally, I like [DF] because after climbing the damned learning cliff, I'm too elitist to consider not liking it.
"And no Frankenstein-esque body part stitching?"
"Not yet"

Improved Farming
Class Warfare

bradley364

  • Escaped Lunatic
    • View Profile

At the moment, I've been trying to get a tileset to run correctly in on the Legacy version of Dwarf Fortress, can someone give me some more detailed instructions on this as all the prepacked versions seem to be of the regular DF
Logged

sweitx

  • Bay Watcher
  • Sun Berry McSunshine
    • View Profile

If improving hardware is possible, try getting a some extra memory.
1GB seems a bit small.
Logged
One of the toads decided to go for a swim in the moat - presumably because he could path through the moat to my dwarves. He is not charging in, just loitering in the moat.

The toad is having a nice relaxing swim.
The goblin mounted on his back, however, is drowning.

nbonaparte

  • Bay Watcher
    • View Profile

If improving hardware is possible, try getting a some extra memory.
1GB seems a bit small.

Although don't go overboard, DF is 32 bit. It can't take advantage of more than about 3.5 gb.
Logged
A service to the forum: clowns=demons, cotton candy=adamantine, clown car=adamantine tube, circus=hell, circus tent=demonic fortress.

Marconius

  • Bay Watcher
    • View Profile

Well, first of all, your hardware is old. Like... really old. As stated above, try and get some hardware if at all possible.

Other tips:
1) Make your embark area small, in all three dimensions. That means change the world gen parameters so your world isn't too deep and possibly make it so you only have one cavern layer.
2) Help the program with pathfinding and others. As said above, create high traffic zones and such to reduce the time required for pathfinding.
3) Try without using a tileset. I don't know if using a tileset impacts your FPS greatly, but as an experiment, I'd try with the default tileset once.
4) Cap your fortress population at a low number. Less dwarves mean less calculations.

Also, 20 FPS is not that bad. As long as your game is above 5-10 FPS, it should be playable.
Logged

timtek

  • Bay Watcher
  • I <3 Tacos
    • View Profile

Frankly, I tend to play by pausing, and controlling things, then unpausing while I switch to another window like the forums and wait for my commands to be carried out.

 I tend to do the same thing. Except in the beginning of my fort when things are moving a long at a good pace.
Logged
My fortress brings all the dorfs to mah yard...
Pages: [1] 2 3