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.


From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.

Many of these settings are covered in detail here.

Folder-orange.svg Dwarf Fortress

Folder.svg prefs

Text-x-generic.svg d_init.txt

The d_init.txt file can be used to make many adjustments to the game's behavior, such as enabling autosave or changing the population limit, as well as some technical tricks to improve framerate by deactivating features like weather and temperature.

This file is located at <Dwarf Fortress>/prefs/d_init.txt. The default settings and an explanation of each can be found at <Dwarf Fortress>/data/init/d_init_default.txt. Changes made to this file take effect the next time the game is loaded, and apply to all worlds.

The contents of the default d_init_default.txt file can be found below.

Default settings[edit]


  • The text in the file says you need a population of 80 for a monarch, but you actually need 140.
Gameplay settings
Log files