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.

Utility:DFHack

From Dwarf Fortress Wiki
Revision as of 01:14, 29 September 2013 by PeridexisErrant (talk | contribs) (Added quality rating "Fine" using the rating script)
Jump to navigation Jump to search

DFHack is an extensive standardized memory access library, packaged alongside a suite of basic tools that use it. Currently tools come in the form of plugins; external application is a planned feature for the future. For developers, DFHack is a comprehensive, standardized memory access package that unites the various ways tools access the Dwarf Fortress memory space, allowing for easier development of new tools. For users, it is a very useful utility complex that allows users to tweak their games in numerous ways in-game. This is probably one of the most useful and most-used utilities for the game, after Dwarf Therapist and the tilesets, and is included in recent versions of the Lazy Newb Pack on all platforms.

For an exhaustive list of and manual on the commands in the utility, see the GitHub documentation

Installation

If you use a recent edition of the Lazy Newb Pack, dfhack is already installed and configured; otherwise see the instructions on the Bay12 forum thread for seperate installation. The project is currently hosted on GitHub; for source, binaries, and a detailed discussion of how the program works, see http://github.com/peterix/dfhack. Releases can be downloaded from the downloads directory. All new releases are announced in a thread on the Bay12 forums. DFHack works on Windows XP, Vista, 7, any modern Linux distribution, and OSX. On Windows, you have to use the SDL version of DF. Currently, version 0.34.11 is supported (and tested). If you need DFHack for older versions, look for older releases.