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 40d: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 "40d"). 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:
{{av}}
+
{{old|0.23.130.23a}}
{{Quality|Fine}}
+
<br>
 
__TOC__
 
__TOC__
 
== Overview ==
 
== Overview ==
Line 17: Line 17:
 
*[SOUND:ON]
 
*[SOUND:ON]
 
Change this to ''OFF'' in order to turn off the sound and music.
 
Change this to ''OFF'' in order to turn off the sound and music.
 
(Note: This will completely disable the sound/music, you won't be able to adjust the volume through the {{k|esc}} menu. It ''might'' give you a slight FPS boost, though.)
 
  
 
=== Volume ===
 
=== Volume ===
 
*[VOLUME:255]
 
*[VOLUME:255]
Sets the default volume.  
+
Sets the default volume, currently appears to do nothing.  
  
 
=== Intro ===
 
=== Intro ===
Line 59: Line 57:
 
*[WINDOWEDY:300]
 
*[WINDOWEDY:300]
 
*[FONT:curses_640x300.bmp]
 
*[FONT:curses_640x300.bmp]
This is the size and font for windowed mode. You can alter this however you want but please note that changing these values does not change the number of tiles displayed at once. To modify the number of tiles displayed at once you need to modify the GRID values in the next section.
+
This is the size and font for windowed mode. You can alter this however you want but please note that changing these values does not change the number of tiles displayed at once. To modify the number of tiles displayed at once you need to modify the GRID values in the previous section.
  
 
In order to keep aspect ratio, multiply the value of WINDOWEDY with 2.133333333 to get the correct WINDOWEDX. You can also multiply WINDOWEDX with 0.46875 to get the correct WINDOWEDY value.
 
In order to keep aspect ratio, multiply the value of WINDOWEDY with 2.133333333 to get the correct WINDOWEDX. You can also multiply WINDOWEDX with 0.46875 to get the correct WINDOWEDY value.
Line 84: Line 82:
 
*[GRID:80:25]
 
*[GRID:80:25]
 
*[FULLGRID:80:25]
 
*[FULLGRID:80:25]
These are the dimensions in tiles of the display grid.  Minimum x is 80.  Minimum y is 25.  Maximums are 200. The default windowed font has tiles that are 8x12 pixels, for instance, so for a 80x25 grid, you use a 640x300 window, and for a 125x50 grid, you'd use a 1000x600 window.  With the ''curses_800x600.bmp'' font, the tiles are 10x12, so with a window size of 800x600, a grid size of 80x50 works nicely. FULLGRID is used in full screen mode, whether graphics is on or not.
+
This is the dimensions in tiles of the display grid.  Minimum x is 80.  Minimum y is 25.  Maximums are 200. The default windowed font has tiles that are 8x12 pixels, for instance, so for a 80x25 grid, you use a 640x300 window, and for a 125x50 grid, you'd use a 1000x600 window.  FULLGRID is used in full screen mode, whether graphics is on or not.
  
 
*[GRAPHICS:NO]
 
*[GRAPHICS:NO]
Line 114: Line 112:
  
 
*[FPS:NO]
 
*[FPS:NO]
Change this to YES if you want to see an FPS counter.
+
Change this to YES if you want to see an FPS counter. Currently does not function on macs.
  
 
=== Colors ===
 
=== Colors ===
Line 140: Line 138:
 
For more detail on how to boost game speed through editing init.txt, see [[Maximizing framerate]].
 
For more detail on how to boost game speed through editing init.txt, see [[Maximizing framerate]].
  
*[PARTIAL_PRINT:YES:2]
+
*[PARTIAL_PRINT:NO:2]
This is an option that sets the game to only refresh parts of the screens that need it. This can greatly increase your fps, but only seems to function on certain systems. Using a higher value than 2 may be necessary for it to work (many players report it working when it's set one higher than their [G_FPS_CAP]).  Seems to work better on Macs than on other systems.
+
This is an option that sets the game to only refresh parts of the screens that need it. This can greatly increase your fps, but only seems to function on certain systems. Seems to work better on macs than on other systems.
  
 
*[TEMPERATURE:YES]
 
*[TEMPERATURE:YES]
Line 163: Line 161:
 
*[G_FPS_CAP:50]
 
*[G_FPS_CAP:50]
 
Determines the rate at which changes in game state are updated to screen.  This does not directly effect the underlying engine's actions (governed by FPS).  However, lowering this value (say, to 10) may result in improved performance, but will lead to a choppier visual appearance.  Systems with older video cards are likely to be most affected by this change.
 
Determines the rate at which changes in game state are updated to screen.  This does not directly effect the underlying engine's actions (governed by FPS).  However, lowering this value (say, to 10) may result in improved performance, but will lead to a choppier visual appearance.  Systems with older video cards are likely to be most affected by this change.
 
=== Resolution to Grid Ratios ===
 
Taken from [http://www.bay12games.com/forum/index.php?topic=22302.msg241991#msg241991]
 
 
{| class="wikitable" border="1"
 
|-
 
!
 
! colspan="3" | Character Size
 
|-
 
! Resolution
 
! 8x8
 
! 12x12
 
! 16x16
 
|-
 
| 800x600
 
| 100 x 75
 
| 66 x 50
 
| 50 x 37
 
|-
 
| 1024x768
 
| 128 x 96
 
| 85 x 64
 
| 64 x 48
 
|-
 
| 1152x864
 
| 144 x 108
 
| 96 x 72
 
| 72 x 54
 
|-
 
| 1280x960
 
| 160 x 120
 
| 106 x 80
 
| 80 x 60
 
|-
 
| 1600x1200
 
| 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
 
|-
 
| 1920x1200 (16:10)
 
| ''240'' x 150
 
| 160 x 100
 
| 120 x 75
 
|-
 
| 1920x1080 (16:9)
 
| ''240'' x 135
 
| 160 x 90
 
| 120 x 68
 
|}
 
 
Note that ''italic'' numbers indicate a number past the limit 200.
 
  
 
== Editing Creatures ==
 
== Editing Creatures ==
Check the raws for further information.
+
Check [[Creature_standard.txt]] for further information.
 
[[Category:Guides]]
 
[[Category:Guides]]

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)