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 1: | Line 1: | ||
− | {{quality|Fine| | + | {{quality|Fine|08:00, 22 May 2010 (UTC)}} |
{{av}} | {{av}} | ||
− | [[File:Frames_Per_Second_Meter.png|300px|thumb|bottom| | + | [[File:Frames_Per_Second_Meter.png|300px|thumb|bottom|Frames Per Second is displayed .]] |
− | + | {{L|Frames per second|Framerate}} is used in Dwarf Fortress to measure the speed at which the game is running. To check your frames per second (FPS) in Dwarf Fortress, change [FPS:NO] to [FPS:YES] in the {{l|init.txt}} file. Two values will be displayed on the top right of the screen, the first value is the current frame rate, while the number in parenthesis is the current graphical frame refresh rate. | |
− | |||
− | |||
− | + | ==Increasing Framerate== | |
− | + | * Limiting the number of Dwarves and other moving units (cage or butcher animals) greatly helps keep speed up. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | * Due to [http://bay12games.com/dwarves/mantisbt/view.php?id=296 a bug], [[DF2010:Contaminant|contaminants]] such as blood, snow, ''et cetera'', count as items. Since contaminants can spread and you cannot easily get rid of them, try to avoid things that spread contaminants: wells, killing things in high traffic spots, and soap. <br>If you have a beast that exudes slime, you might as well save your game and wait for an update. Or kill it and use dfcleanmap. | |
+ | |||
+ | * Destroy contaminants that Dwarves and pets are carrying around. To achieve this, one can either build a shallow pool in an often-visited area. When the dwarves walk through the water, the contaminants will be washed away. One may also use hacking tools to place some 7/7 water splatters around important paths with [[DF2010:Utilities#dfliquids|dfliquids]] while running [[DF2010:Utilities#dfcleanmap|dfcleanmap]] continuously to remove the contaminants that gets washed away from the dwarves. | ||
+ | |||
+ | * Decreasing the G_FPS in the init text file can improve FPS. Be careful however, decreasing it too much can subject you to "incomprehensible graphic instabilities". Remember, with a low G_FPS, it can be dangerous during combat, because the screen does not update as often. The default G_FPS is 50, but setting it as low as 20 G_FPS may work with minimal problems. Performance varies on different systems, one will have to test different G_FPS values to find which performs to the user's preferences. | ||
+ | |||
+ | * PRINT_MODE, also in the init file, may allow Dwarf Fortress to take advantage of the abilities of newer graphics cards. While the default setting is the most reliable, it is possible that changing the print mode could increase FPS. Users will have to test to see which runs best on specific systems. | ||
+ | |||
+ | * Disabling [[DF2010:Temperature|temperature]] and [[DF2010:Weather|weather]] in the [[DF2010:D_init.txt|d_init.txt|]] file increases FPS due to fewer calculations being required. A downside to disabling weather is the removal of rain, which will will clean the map of contaminants, so it is possible that leaving it on may improve FPS. | ||
+ | |||
+ | * World size and embark zone size affect RAM usage, which may effect speed. FPS may be increased by choosing smaller embark zones. | ||
+ | |||
+ | * Changing the value of "normal" [[DF2010:Traffic|traffic zones]] in the init file to 1 may increase FPS created by open space, though this causes "high" traffic zones to be useless. Alternatively, one can cover the entire map with a "high" traffic zone, which will allow other traffic zones to function properly at their defaults. | ||
+ | |||
+ | * Closing one's fortress entrance with a raised bridge or forbidden door decreases the number of possible routes that the pathfinder needs to calculate, which may aid performace. | ||
+ | |||
+ | * Reducing the number of items on a map by "[[DF2010:Dwarven_atom_smasher|atom smashing]]" them or donating them to traders. | ||
+ | |||
+ | * Less mining reduces the number stones and corridors that exist, which may increase performance. |