v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing v0.31:Maximizing framerate

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 8: Line 8:
 
In general, the more stuff the game has to keep track of, the slower the game will run.  So, reducing the amount of stuff active keeps your game running fast.  Some possible reasons for slowdown, and ways to reduce and/or eliminate them:
 
In general, the more stuff the game has to keep track of, the slower the game will run.  So, reducing the amount of stuff active keeps your game running fast.  Some possible reasons for slowdown, and ways to reduce and/or eliminate them:
  
* Fewer items inside a fort means fewer items to be [[stockpile]]d, checked for [[wear]], and so on and so forth.
 
** Use a [[Dwarven atom smasher]] to remove items, or donate them to [[Trading|passing caravans]] to be taken away.
 
** Don't dig out so much of the ground, don't build such large [[Farming|farm plot]]s, just don't generate so many items in the first place.
 
* Flowing [[water]] slows the game down.
 
** Don't build [[mist]] generators, [[Screw pump|pump stacks]], or other major water-moving projects.  If you do build them, build a [[Lever|way to switch them off]]. 
 
** Don't embark on a [[river]] or [[ocean]].  Rivers aren't too bad in their natural state, because the game only needs to calculate at where the water enters and where the water leaves, more-or-less skipping the water in between.  Then you start damming them and pumping water out, and it gets worse.
 
** [[Aquifer]]s don't impose load until you start digging around in them.
 
**[[Water wheel#Perpetual motion|Dwarven water reactors]] also slow down the game, often significantly.
 
 
* Each dwarf needs to keep track of where he's going.
 
* Each dwarf needs to keep track of where he's going.
 
** Limit the number of dwarves by setting the population cap.
 
** Limit the number of dwarves by setting the population cap.
Line 46: Line 38:
 
** Reducing the area which the pathfinder algorithm has to search lets it run faster.
 
** Reducing the area which the pathfinder algorithm has to search lets it run faster.
 
** In general the pathfinder algorithm is good about not searching irrelevant areas.  Caverns are probably the worst offender.
 
** In general the pathfinder algorithm is good about not searching irrelevant areas.  Caverns are probably the worst offender.
 +
* Fewer items inside a fort means fewer items to be [[stockpile]]d, checked for [[wear]], and so on and so forth.
 +
** Use a [[Dwarven atom smasher]] to remove items, or donate them to [[Trading|passing caravans]] to be taken away.
 +
** Don't dig out so much of the ground, don't build such large [[Farming|farm plot]]s, just don't generate so many items in the first place.
 +
* Flowing [[water]] slows the game down.
 +
** Don't build [[mist]] generators, [[Screw pump|pump stacks]], or other major water-moving projects.  If you do build them, build a [[Lever|way to switch them off]]. 
 +
** Don't embark on a [[river]] or [[ocean]].  Rivers aren't too bad in their natural state, because the game only needs to calculate at where the water enters and where the water leaves, more-or-less skipping the water in between.  Then you start damming them and pumping water out, and it gets worse.
 +
** [[Aquifer]]s don't impose load until you start digging around in them.
 +
**[[Water wheel#Perpetual motion|Dwarven water reactors]] also slow down the game, often significantly.
 
* Disabling your Dwarven civ from wearing clothing as a mod (required regen of world) may help maintain higher fps later in the game{{bug|3942}}, if you don't mind naked dwarves running around. Alternatively, finding a way to dump excess/worn out clothing might help restore fps on existing fortresses. Requires research.
 
* Disabling your Dwarven civ from wearing clothing as a mod (required regen of world) may help maintain higher fps later in the game{{bug|3942}}, if you don't mind naked dwarves running around. Alternatively, finding a way to dump excess/worn out clothing might help restore fps on existing fortresses. Requires research.
 
* Encountering [[HFS]] will dramatically reduce FPS if you seal the breach ({{bug|1340}}). Either avoid doing so or use the work around posted in the bug report.
 
* Encountering [[HFS]] will dramatically reduce FPS if you seal the breach ({{bug|1340}}). Either avoid doing so or use the work around posted in the bug report.

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)