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.

Difference between revisions of "v0.34:Frames per second"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Looked over the 0.31 text and copied it over wholesale, no changes seemed required.)
 
(While FPS _usually_ refers to graphical frames, it refers almost exclusively to computational frames in DF.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{av}}
 
{{av}}
{{Quality|Exceptional|[[User:Reilwin|Reilwin]] 04:30, 3 April 2012 (UTC)}}
+
{{Quality|Exceptional|19:17, 26 March 2014 (UTC)}}
  
 
==What is FPS?==
 
==What is FPS?==
  
'''Frames per second''', often referred to as FPS or framerate, is the measure of the amount of '''steps''' the game calculates in one second. Each step requires the calculation of unit movement, fluid movement, and many checks for different events, such as [[cave-in|cave-ins]], [[Main:Digging_designation_canceled | damp/warm stone]], [[weather|weather conditions]], and much more.  
+
'''Frames per second''' in Dwarf Fortress, often referred to as FPS or framerate, is the measure of the amount of computational '''steps''' the game calculates in one second. Each step requires the calculation of unit movement, fluid movement, and many checks for different events, such as [[cave-in|cave-ins]], [[Main:Digging_designation_canceled | damp/warm stone]], [[weather|weather conditions]], and much more. '''Graphical frame rate''' (the typical definition of frames per second) is the speed at which the display refreshes, and is typically slower than the computational frame rate. (With the default settings in a new fortress, one graphical frame occurs every two computational frames.)
  
 
Note that game steps are independent of human steps. A human with average [[attributes#Agility|agility]] will move 1 [[map tile|tile]] in 10 steps.
 
Note that game steps are independent of human steps. A human with average [[attributes#Agility|agility]] will move 1 [[map tile|tile]] in 10 steps.
Line 19: Line 19:
  
 
Decreasing the FPS cap will slow down the progress of a fortress, though it may be useful for if the framerate undergoes large, rapid changes, as it will smooth out the play experience. It can also be useful to slow down the game in order to handle other activities while still allowing the fortress to complete previously assigned tasks, while reducing the need to babysit the game.
 
Decreasing the FPS cap will slow down the progress of a fortress, though it may be useful for if the framerate undergoes large, rapid changes, as it will smooth out the play experience. It can also be useful to slow down the game in order to handle other activities while still allowing the fortress to complete previously assigned tasks, while reducing the need to babysit the game.
 +
 +
===Keystrokes===
 +
 +
By default, framerate can be modified in-game with {{k|Alt}}-{{k|{{=}}}} to increase the framerate and {{k|Alt}}-{{k|-}} to decrease it. Note that decreasing the framerate below 10 FPS will prevent increasing it again. {{bug}}
 +
 +
==Bugs==
 +
Framerate can't be increased once decreased below 10 FPS {{bug|6277|workaround=comment}}
 +
 +
 +
{{Category|Interface}}

Latest revision as of 19:17, 26 March 2014

This article is about an older version of DF.

What is FPS?[edit]

Frames per second in Dwarf Fortress, often referred to as FPS or framerate, is the measure of the amount of computational steps the game calculates in one second. Each step requires the calculation of unit movement, fluid movement, and many checks for different events, such as cave-ins, damp/warm stone, weather conditions, and much more. Graphical frame rate (the typical definition of frames per second) is the speed at which the display refreshes, and is typically slower than the computational frame rate. (With the default settings in a new fortress, one graphical frame occurs every two computational frames.)

Note that game steps are independent of human steps. A human with average agility will move 1 tile in 10 steps.

To check your FPS (frames per second) in Dwarf Fortress, simply change [FPS:NO] to [FPS:YES] in init.txt, and your FPS will be displayed on the top row of the screen. The first number is the current frame rate, while the number in parentheses is the current graphical frame refresh rate.

Maximizing FPS[edit]

There are many methods to increase one's framerate, which can be found on the maximizing framerate page. These can be crucial, as a common reason for abandoning forts is that the framerate becomes too low from all the dwarves, animals, and explored tiles having to have calculations performed each step. This is especially true if many caverns have been unearthed.

Controlling FPS[edit]

By default, the framerate is set to not exceed 100, though this can be changed in the init.txt file, under [FPS_CAP]. Increasing or disabling([FPS_CAP:0]) this setting will allow a fortress to progress more quickly, though eventually there will be a maximum reached as a result of CPU speed limits. This also requires more attention from the player as designated jobs will be completed or cancelled more quickly, and potentially harmful events─such as wild animals, thieves, and invasions─will occur more frequently in a given span of real time.

Decreasing the FPS cap will slow down the progress of a fortress, though it may be useful for if the framerate undergoes large, rapid changes, as it will smooth out the play experience. It can also be useful to slow down the game in order to handle other activities while still allowing the fortress to complete previously assigned tasks, while reducing the need to babysit the game.

Keystrokes[edit]

By default, framerate can be modified in-game with Alt-= to increase the framerate and Alt-- to decrease it. Note that decreasing the framerate below 10 FPS will prevent increasing it again. Bug

Bugs[edit]

Framerate can't be increased once decreased below 10 FPS Bug:6277 (Workaround in comments)