Bay 12 Games Forum

Please login or register.

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

Author Topic: Tell me everything there is to know about keeping my FPS high on the long term.  (Read 9147 times)

whig

  • Escaped Lunatic
    • View Profile

I've played DF intermittently over the years but always got put off by the fact that forts would eventually die framerate deaths. Even when I tried to prevent this by severely limiting the population and map size, using pathing-efficient layouts, and keeping stockpiles small, I tended to eventually find myself reaching undesirable framerates after a few game years at most.

Now I want to return to the game, but I want to ensure that I do everything possible to avoid that framerate degradation, because it's an incredibly sucky way of losing a fort, and (unlike losing) is not fun. I'm willing to play under most any constraints (within reason) if it means maintaining high FPS. Please, tell me what I can do to have a prosperous, long-lived fortress and keep the framerate going strong.

Thanks in advance for any replies.
Logged

kaijyuu

  • Bay Watcher
  • Hrm...
    • View Profile

Turn off temperature.
Don't make a million items; keep your food and booze production about on par with consumption.
Turning off invasions definitely helps (mainly item and unit clutter).
Lower number of dwarves = better.
Don't make a million items.
Stop making goddamn items.
Logged
Quote from: Chesterton
For, in order that men should resist injustice, something more is necessary than that they should think injustice unpleasant. They must think injustice absurd; above all, they must think it startling. They must retain the violence of a virgin astonishment. When the pessimist looks at any infamy, it is to him, after all, only a repetition of the infamy of existence. But the optimist sees injustice as something discordant and unexpected, and it stings him into action.

slothen

  • Bay Watcher
    • View Profile

use and love aquifers.  Reduce number of cavern layers.  Smaller world, shorter worldgen, smaller embark.  Keep low pet population.
Logged
While adding magma to anything will make it dwarfy, adding the word "magma" to your post does not necessarily make it funny.
Thoughts on water
MILITARY: squad, uniform, training
"DF doesn't mold players into its image - DF merely selects those who were always ready for DF." -NW_Kohaku

Talvieno

  • Bay Watcher
  • Hello, Death. How's life?
    • View Profile

Turn off temperature.
Don't make a million items; keep your food and booze production about on par with consumption.
Turning off invasions definitely helps (mainly item and unit clutter).
Lower number of dwarves = better.
Don't make a million items.
Stop making goddamn items.
Everything here. Also:

Delay breaching the caverns. Especially the deeper ones.
Utilize the traffic designations - "d" --> "o".
Avoid making anything that looks like the caverns - i.e. mazes.
Use multiple z-levels for your fort, rather than putting everything on the same level. Faster for your dwarves means faster for the pathfinding, which means higher FPS.
Caravans make the FPS take a large hit. I'm not sure how you would remedy that, though.
Block off anywhere you don't want your dwarves going with locked doors or walls. Anywhere. This includes abandoned mined-out ore veins.
Avoid using pumpstacks unless when absolutely necessary.
Rivers/waterfalls slow the game down somewhat. Practically any moving water does, really.
Forbid items -  "d" --> "b" --> "f" - to keep your dwarves from attempting to path to them.
Use a shorter worldgen length. This will mainly help with migrants and engravings - not much anywhere else, unfortunately.

That's all I can think of off the top of my head.
Logged
Quote from: Mr Frog
Talvieno ... seems to be able to smash out novella-length tales on demand

Hotaru

  • Bay Watcher
  • Strange foreigner fond of industry
    • View Profile

Would highly recommend making a shallow world. The way I managed to do it is disable bottom layer - one cavern layer - all layer amounts minimum - erosion cycles set to 10000 by manually editing init (don't know if it made a difference). This would result in 20-60 z levels deep regions.

What would probably be informative for this would be Operation FPS bomb. The main thing that hasn't been mentioned is - do not dig pointlessly. Even walled off spaces appear to take down the FPS, Armok knows why.
Logged
It is said knowledge is like a foul-smelling herb. It must be cooked well and thoroughly with experience to make it palatable. A young scholar's knowledge is therefore not only worthless but disgusting. -- In Dwarf Fortress you have another paradigm. Gather as much of that smelly herb as you can and toss it at your enemy, fracturing his skull through the +capybara man leather cap+.

Findulidas

  • Bay Watcher
  • [NATURAL_SKILL:OFFTOPIC:5][NOTHOUGHT]
    • View Profile

Don't make a million items.
Stop making goddamn items.

How sad it is to not be able to hoard items and have an impact on the fps. Making as much wealth as possible with a myriad of diffrent items/ways is basically how I play df.
Logged
...wonderful memories of the creeping sense of dread...

Sadrice

  • Bay Watcher
  • Yertle et al
    • View Profile

Get creative with your wealth generating!  Only make the highest possible value items.  Wait til you get a highly skilled craftsman before making anything, gold mastercraft only, bedizzened with gold studs and gemstones, only the finest booze and food, engrave every exposed surface, but smooth everything first to produce a legendary engraver.
Logged

mnjiman

  • Bay Watcher
    • View Profile

Thanks for reminding me of a huge issue that I currently have.... I have way too many crappy items :O
Logged
I was thinking more along the lines of this legendary champion, all clad in dented and dinged up steel plate, his blood-drenched axe slung over his back, a notch in the handle for every enemy that saw the swing of that blade as the last sight they ever saw, a battered shield strapped over his arm... and a fluffy, pink stuffed hippo hidden discretely in his breastplate.

khearn

  • Bay Watcher
    • View Profile

[quote author=whig link=topic=106961.msg3177296#msg3177296 date=1333982314
I'm willing to play under most any constraints (within reason) if it means maintaining high FPS. Please, tell me what I can do to have a prosperous, long-lived fortress and keep the framerate going strong.

Thanks in advance for any replies.
[/quote]

Everyone keeps missing one thing he can do to get higher framerates: Get a faster CPU.
Logged
Have them killed. Nothing solves a problem quite as effectively as simply having it killed.

davros

  • Bay Watcher
    • View Profile

Use ramps instead of stairs. Saves on pathing costs.
Logged
Quote from: Malarauko
I had an above ground garden built in the grounds of my castle and two young dwarves spent time socialising there over the summer and at the end of the summer they were in love. Remember those long summers of your childhood? That first kiss in the gardens while crossbows dwarves shoot goblins above your head? The rain of dead birds as the hunters get to work? Truly Spearhills is a paradise.

Garath

  • Bay Watcher
  • Helping to deforest the world
    • View Profile

I've just set all used clothing to be dumped in a plce that doubles as refuse pile. Over a few years, you will accumulate tons of clothing and you'll keep making becuase dowrfs get unhappy if it gets too worn. But worn clothing in a regular stockpile won't go away, and regular clothing in a stockpile for worn clothing does. Got to do it manually and you'll see fps go up after a while.
Logged
Quote from: Urist Imiknorris
Jam a door with its corpse and let all the goblins in. Hey, nobody said it had to be a weapon against your enemies.
Quote from: Frogwarrior
And then everyone melted.

Sadrice

  • Bay Watcher
  • Yertle et al
    • View Profile

Does anyone have a link to tests for the ramps vs stairs thing? 
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions

Use ramps instead of stairs. Saves on pathing costs.
I disagree - I built a fortress using a spiral ramp in the center, and I got a significant framerate increase when I added several columns of stairs in the center.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

mscantrell

  • Bay Watcher
    • View Profile

More than anything else, it helps me on my PC to use a 2x2 (or 3x2 at the most) embark map. Seems like keeping track of all that aboveground stuff, even just weather, is intensive. Small map, small load.
Logged
MSCantrell cancels Work:  Interrupted by Bay12 forums.

Rude

  • Bay Watcher
    • View Profile

I used to micromanage things like item counts and go way out of my way to minimize creature counts. But the biggest single change I found was turning off temperatures. 50fps -> 90fps instantly.
Logged
Pages: [1] 2 3