- 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.
Difference between revisions of "Frames per second"
Brightgalrs (talk | contribs) |
(Migrated page to v50. Added explanations for where to edit FPS settings in client. Corrected that FPS is displayed at the bottom of the screen in v50.) |
||
(13 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{av}} | {{av}} | ||
− | {{Quality| | + | {{Quality|Unrated}} |
:''"Step" redirects here. For other uses, see [[Stairs]].'' | :''"Step" redirects here. For other uses, see [[Stairs]].'' | ||
− | '''Frames per second''' in Dwarf Fortress, often referred to as FPS or framerate, is the measure of the amount of computational | + | '''Frames per second''' in ''Dwarf Fortress'', often referred to as FPS or framerate, is the measure of the amount of computational [[Time#Basic_mechanics|ticks]] the game calculates in one second. Each tick requires the calculation of unit movement, fluid movement, and many checks for different events, such as [[cave-in]]s, [[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.) |
− | + | Ticks are also known as game calculation '''steps''', but note these are not equivalent to [[gait|creature movement steps]]. | |
− | To | + | To display your FPS (frames per second) in ''Dwarf Fortress'', change “Show frames-per-second” from No to Yes under game in settings, or change [FPS:NO] to [FPS:YES] in [[init.txt]], and your FPS will be displayed on the bottom 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== | ==Maximizing FPS== | ||
{{main|Maximizing framerate}} | {{main|Maximizing framerate}} | ||
− | There are many methods to increase one's framerate, which can be found on the [[ | + | 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, [[animal|animals]], and explored tiles having to have calculations performed each tick. This is especially true if one or more of the [[cavern]]s have been [[mining|unearthed]]. |
==Controlling FPS== | ==Controlling FPS== | ||
− | By default, the framerate is set to not exceed 100 | + | By default, the framerate is set to not exceed 100. This can be changed in the settings under game by editing “Game frames-per-second cap”, or in the [[init.txt]] file, under [[Technical_tricks#FPS|[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 since [[designation|designated jobs]] will be completed or cancelled more quickly, and potentially harmful events─such as wild animals, [[thief|thieves]], and [[ambush|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 | + | Decreasing the FPS cap will slow down the progress of a fortress, though it may be useful 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, reducing the need to babysit the game. |
− | === | + | ===Keybindings=== |
− | By default, | + | By default, the FPS cap can be modified in-game by using {{k|Alt}}-{{k|{{=}}}} to increase the FPS cap and {{k|Alt}}-{{k|-}} to decrease it. |
− | |||
− | |||
− | |||
{{Category|Interface}} | {{Category|Interface}} | ||
+ | [[ru:Frames per second]] |
Latest revision as of 01:39, 21 December 2022
v50.14 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
- "Step" redirects here. For other uses, see Stairs.
Frames per second in Dwarf Fortress, often referred to as FPS or framerate, is the measure of the amount of computational ticks the game calculates in one second. Each tick 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.)
Ticks are also known as game calculation steps, but note these are not equivalent to creature movement steps.
To display your FPS (frames per second) in Dwarf Fortress, change “Show frames-per-second” from No to Yes under game in settings, or change [FPS:NO] to [FPS:YES] in init.txt, and your FPS will be displayed on the bottom 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 tick. This is especially true if one or more of the caverns have been unearthed.
Controlling FPS[edit]
By default, the framerate is set to not exceed 100. This can be changed in the settings under game by editing “Game frames-per-second cap”, or 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 since 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 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, reducing the need to babysit the game.
Keybindings[edit]
By default, the FPS cap can be modified in-game by using Alt-= to increase the FPS cap and Alt-- to decrease it.