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.34:Technical tricks

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.34"). 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 9: Line 9:
  
 
== Editing the configuration file ==
 
== Editing the configuration file ==
You can edit the configuration files with any word processing software or text editing software. On Windows, either Notepad or Wordpad will suffice.
+
You can edit the configuration files with any word processing software or program that can open .txt files. A good program to edit these files in Windows is Editplus or TextPad.
 
All data in these files is contained in what are called tokens. Each token is defined by the text between an opening square bracket, '[', and the first closing square bracket, ']'. Arguments to the various tokens are separated from a token identifier by a colon, ':'.
 
All data in these files is contained in what are called tokens. Each token is defined by the text between an opening square bracket, '[', and the first closing square bracket, ']'. Arguments to the various tokens are separated from a token identifier by a colon, ':'.
  
Line 91: Line 91:
 
This value changes how Dwarf Fortress draws to the screen. As such, changing this value can significantly change the performance of Dwarf Fortress on your computer. Possible values for this are "2D", "2DSW", "2DASYNC", "STANDARD", "TEXT", "ACCUM_BUFFER", "FRAME_BUFFER", "VBO" and "PARTIAL".  A technical description of what these do can be found [http://www.bay12forums.com/smf/index.php?topic=63667.msg1478550#msg1478550 in this post].
 
This value changes how Dwarf Fortress draws to the screen. As such, changing this value can significantly change the performance of Dwarf Fortress on your computer. Possible values for this are "2D", "2DSW", "2DASYNC", "STANDARD", "TEXT", "ACCUM_BUFFER", "FRAME_BUFFER", "VBO" and "PARTIAL".  A technical description of what these do can be found [http://www.bay12forums.com/smf/index.php?topic=63667.msg1478550#msg1478550 in this post].
 
"PARTIAL" print mode takes an additional argument similar to how the PARTIAL_PRINT value worked in previous versions, with the number representing the number of frames a changed tile is rendered before it is skipped.
 
"PARTIAL" print mode takes an additional argument similar to how the PARTIAL_PRINT value worked in previous versions, with the number representing the number of frames a changed tile is rendered before it is skipped.
"TEXT" is only available on OSX and Linux.
+
"TEXT" is only available on Macintosh and Linux.
  
 
*[SINGLE_BUFFER:NO]
 
*[SINGLE_BUFFER:NO]
Line 100: Line 100:
  
 
*[VSYNC:NO]
 
*[VSYNC:NO]
If this is set to "YES", when Dwarf Fortress redraws the screen it will wait for the monitor to finish its vertical retrace. This can negatively impact your FPS if G_FPS is set high, as the game is forced to suspend calculating game frames to wait for the monitor to finish. The main reason to change this to "YES" is if tearing of the game image occurs regularly for you.
+
If this is set to "YES", when Dwarf Fortress redraws the screen it will wait for the monitor to finish it's vertical retrace. This can negatively impact your FPS if G_FPS is set high, as the game is forced to suspend calculating game frames to wait for the monitor to finish. The main reason to change this to "YES" is if tearing of the game image occurs regularly for you.
  
 
*[TEXTURE_PARAM:LINEAR]
 
*[TEXTURE_PARAM:LINEAR]
Line 192: Line 192:
  
 
*[ZERO_RENT:NO]
 
*[ZERO_RENT:NO]
If this is "YES", when the dwarven economy kicks in all rooms will cost nothing, allowing even the poorest of haulers to have a room fit for a king. This has no effect, since the economy does not function in the current version.
+
If this is "YES", when the dwarven economy kicks in all rooms will cost nothing, allowing even the poorest of haulers to have a room fit for a king. This has no effect, since the economy does not function in v0.31.
  
 
*[TESTING_ARENA:YES]
 
*[TESTING_ARENA:YES]
Line 240: Line 240:
 
=== Embark Options ===
 
=== Embark Options ===
 
*[EMBARK_WARNING_ALWAYS:NO]
 
*[EMBARK_WARNING_ALWAYS:NO]
If this value is YES, then it will always pop up a warning screen when you embark (Like you get when you have [[DF2012:Water#Salt Water|Salt Water]] or an [[DF2012:Aquifer|Aquifer]] on-site)
+
If this value is YES, then it will always pop up a warning screen when you embark (Like you get when you have [[v0.31:Water#Salt Water|Salt Water]] or an [[v0.31:Aquifer|Aquifer]] on-site)
 
*[SHOW_EMBARK_TUNNEL:FINDER]
 
*[SHOW_EMBARK_TUNNEL:FINDER]
 
*[EMBARK_RECTANGLE:4:4]
 
*[EMBARK_RECTANGLE:4:4]
Line 292: Line 292:
 
*[SHOW_FLOW_AMOUNTS:NO]
 
*[SHOW_FLOW_AMOUNTS:NO]
 
If "YES" Dwarf Fortress displays water as numbers from 1-7 indicating depth.
 
If "YES" Dwarf Fortress displays water as numbers from 1-7 indicating depth.
 
 
=== Resolution to Grid Ratios ===
 
Taken from [http://www.bay12games.com/forum/index.php?topic=22302.msg241991#msg241991]
 
 
{| class="wikitable" border="1"
 
|-
 
! colspan="2" | Geometry
 
! colspan="3" | Character Size
 
|-
 
! Resolution
 
! Aspect
 
! 8x8
 
! 12x12
 
! 16x16
 
|-
 
| 800x600
 
| 4:3
 
| 100 x 75
 
| 66 x 50
 
| 50 x 37
 
|-
 
| 1024x768
 
| 4:3
 
| 128 x 96
 
| 85 x 64
 
| 64 x 48
 
|-
 
| 1152x864
 
| 4:3
 
| 144 x 108
 
| 96 x 72
 
| 72 x 54
 
|-
 
| 1280x960
 
| 4:3
 
| 160 x 120
 
| 106 x 80
 
| 80 x 60
 
|-
 
| 1600x1200
 
| 4:3
 
| 200 x 150
 
| 133 x 100
 
| 100 x 75
 
|-
 
| 1280x1024
 
| 5:4
 
| 160 x 128
 
| 106 x 85
 
| 80 x 64
 
|-
 
| 1440x900
 
| 16:10
 
| 180 x 75
 
| 135 x 56.25
 
| 90 x 37.5
 
|-
 
| 1680x1050
 
| 16:10
 
| 210 x 131
 
| 140 x 87
 
| 105 x 65
 
|-
 
| 1920x1080
 
| 16:9
 
| 240 x 135
 
| 160 x 90
 
| 120 x 67
 
|-
 
| 1920x1200
 
| 16:10
 
| 240 x 150
 
| 160 x 100
 
| 120 x 75
 
|}
 

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)