DFHack 51.04-r1.1This release is compatible with all distributions of Dwarf Fortress: Steam, Itch, and Classic.
Currently, each distribution channel of DF has a different version. This release of DFHack is specifically compatible with:
- Dwarf Fortress 51.04 on Steam
- Dwarf Fortress 51.03 on Itch
- Dwarf Fortress 51.02 Classic
----
Please report any issues (or feature requests) on the DFHack
GitHub issue tracker. When reporting issues, please upload a zip file of your savegame and a zip file of your mods directory to the cloud and add links to the GitHub issue. Make sure your files are downloadable by "everyone with the link". We need your savegame to reproduce the problem and test the fix, and we need your active mods so we can load your savegame. Issues with savegames and mods attached get fixed first!
Changelog
New Features
- stonesense:
- added option EXTRUDE_TILES to slightly expand sprite to avoid gaps (on by default)
- added option PIXELPERFECT_ZOOM to change the zoom scale to avoid gaps (off by default)
- added back minecart track graphics
Fixes
- Ctrl-a hotkeys have been changed to something else (Ctrl-n) for tools that also have an editable text field, where Ctrl-a is interpreted as select all text
- advtools: fix dfhack-added conversation options not appearing in the ask whereabouts conversation tree
- gui/launcher:
- ensure commandline is fully visible when searching through history and switching from a very long command to a short command
- flatten text when pasting multi-line text from the clipboard
- gui/rename: fix error when changing the language of a unit's name
- stonesense:
- fixed announcement text rendering off-screen with larger font sizes
- screen dimensions are now properly set when overriden by a window manager
- fixed glass cabinets and bookcases being misaligned by 1 pixel
- fixed unrevealed walls being hidden by default
- vampires no longer show their true name when they shouldn't
- fixed debug performance timers to show milliseconds as intended
- CACHE_IMAGES now disables mipmapping, stopping sprites from going transparent
- fixed issue where depth borders wouldn't be rendered for some walls
- fixed issue where tiles near the bottom edge would be culled
Misc Improvements
- assign-preferences: new --show option to display the preferences of the selected unit
- pref-adjust: new show command to display the preferences of the selected unit
- stonesense:
- improved the way altars look
- fog no longer unnecessarily renders to a separate bitmap
- added new connective tiles for pools of blood and vomit
Removed
- gui/control-panel: removed craft-age-wear tweak for Windows users; the tweak doesn't currently load on Windows
API
- Core :: getUnpausedMs: new API for getting unpaused ms since load in a fort-mode game
[ 2025-02-03 02:58:28 CET ] [ Original post ] DFHack is an add-on for
Dwarf Fortress that enables mods and tools to significantly extend the game. The default DFHack distribution contains a wide variety of these tools, including bugfixes, interface improvements, automation agents, design blueprints, modding building blocks, and more. Third-party tools (e.g. mods downloaded from Steam Workshop or the forums) can also seamlessly integrate with the DFHack framework and extend the game far beyond what can be done by just modding the raws.
DFHack’s mission is to provide tools and interfaces for players and modders to:
- expand the bounds of what is possible in Dwarf Fortress
- reduce the impact of game bugs
- give the player more agency and control over the game
- provide alternatives to toilsome or frustrating aspects of gameplay
- make the game more fun
Our online Quickstart Guide will help you get up to speed with how to use DFHack. It's also available in-game via the
quickstart-guide command.
The best way to make feature requests or report problems is to open an Issue at
our GitHub page.
When reporting problems, links to your zipped, uploaded savegame and mods are immensely helpful, and issues with attached savegames and mods get fixed faster. We need a zip of your mods because we can't load your savegame without them.
DFHack installs directly into your Dwarf Fortress directory, so
be sure to install it to the same Steam library and drive as Dwarf Fortress.It is not a problem if you already have DFHack manually installed. You can subscribe to the Steam version and it will absorb the installed files. Your data in dfhack-config/ is safe. No additional steps are necessary.