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.

Difference between revisions of "Game folders and files"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (→‎Game folder: Proton has nothing to do with this - the native version would install in the same place)
Line 17: Line 17:
 
* '''Steam''': The default locations are listed below. You can also find it through the app by right-click Dwarf Fortress in the Steam library and choose Properties, then go to the Local files tab and click Browse local files.
 
* '''Steam''': The default locations are listed below. You can also find it through the app by right-click Dwarf Fortress in the Steam library and choose Properties, then go to the Local files tab and click Browse local files.
 
:* '''Windows''': <code>C:\Program Files (x86)\Steam\steamapps\common\Dwarf Fortress\</code>
 
:* '''Windows''': <code>C:\Program Files (x86)\Steam\steamapps\common\Dwarf Fortress\</code>
:* '''Linux (via proton)''': <code>~/.steam/debian-installation/steamapps/common/Dwarf Fortress</code>
+
:* '''Linux''': <code>~/.steam/debian-installation/steamapps/common/Dwarf Fortress</code>
 
* '''Itch.io''': The default location is <code>%APPDATA%\itch\apps\Dwarf Fortress\</code> {{Verify}}
 
* '''Itch.io''': The default location is <code>%APPDATA%\itch\apps\Dwarf Fortress\</code> {{Verify}}
  

Revision as of 12:44, 23 July 2025

This article is about the current version of DF.
Note that some content may still need to be updated.

Dwarf Fortress's default game folder location depends on the game version, platform or operating system. It is possible that users will change the install drive or directory, thus these locations may vary.

Non-portable (AppData) game folders were added in version 52.01.


Game folder

The game's installation folder is where all the game's content is stored. You might want to go to this folder to browse raw files or to check logs.

  • Dwarf Fortress Classic is distributed in a zip archive. Depending on the operating system the game folder is either df_##_##_win (with the version number, or the name chosen for the folder during extraction), df_osx or df_linux and will be located where you choose to extract it. Essentially its where you run the game from. For example: C:\Games\Dwarf Fortress\
  • Steam: The default locations are listed below. You can also find it through the app by right-click Dwarf Fortress in the Steam library and choose Properties, then go to the Local files tab and click Browse local files.
  • Windows: C:\Program Files (x86)\Steam\steamapps\common\Dwarf Fortress\
  • Linux: ~/.steam/debian-installation/steamapps/common/Dwarf Fortress
  • Itch.io: The default location is %APPDATA%\itch\apps\Dwarf Fortress\[Verify]

Note: On Windows, %APPDATA% is a hidden folder that points to C:\Users\(Username)\AppData\Roaming. You can use winkey+R and type 'appdata' to quickly jump there.

Savegame folder

Further information: Saved game folder

The savegame folder contains the saved games, and backup saves from the game. The location of this depends on the settings, defaulting to non-portablev52.01. Adding portable.txt to \(gamefolder)\data\prefs\ (or setting the corresponding option in-game) makes the game save files to the installation directory.

  • Non-Portable:
    • Windows: C:\Users\(Your username)\AppData\Roaming\Bay 12 Games\Dwarf Fortress\save
    • Linux: /home/(Your username)/.local/share/Bay 12 Games/Dwarf Fortress/save.
  • Portable:
    • The folder is located within the Dwarf Fortress gamefolder (gamefolder)\save\.

Mod folder

Further information: Modding

The mod folders are where mods are stored. It is in the same game directory as the saves folder.

  • Non-portable:
    • C:\Users\(Your username)\AppData\Roaming\Bay 12 Games\Dwarf Fortress\mods
    • C:\Users\(Your username)\AppData\Roaming\Bay 12 Games\Dwarf Fortress\data\installed_mods
  • Portable:
    • (gamefolder)\mods\
    • (gamefolder)\data\installed_mods\

Key

Folder-orange.svg Dwarf Fortress : Game folder
 ● Folder.svg data : Contains game content.
   ● Folder.svg art : Any images not loaded from vanilla graphics modules, primarily for the main menu.
   ● Folder.svg init : Default versions of the settings.
   ● Folder.svg installed_mods : Folder of mod copies used when loading a world.
   ● Folder.svg sound : Contains all audio and music files used in the game.
   ● Folder.svg vanilla : Contains all the vanilla modules and raw files.
 ● Folder.svg mods : Folder for mods before being loaded.
   ● Folder.svg mod_upload : Folder for uploading mods to Steam.
 ● Folder.svg prefs : Contains all game setting files.
 ● Folder.svg save : Contains all save game files.
Settings
Gameplay settings
Log files
Other