DFHack 0.40.24-r2 (Current):

Linux (gcc 4.9.2)

Linux (gcc 4.5.4)

Windows

Mac OSX

DFHack 0.40.24-r2

* Internals

* Lua scripts can set environment variables of each other with dfhack.run_script_with_env.

* Lua scripts can now call each others internal nonlocal functions with dfhack.script_environment(scriptName).functionName(arg1,arg2).

* eventful Lua reactions no longer require LUA_HOOK as a prefix: you can register a callback for the completion of any reaction with a name

* Filesystem module now provides file access/modification times and can list directories (normally and recursively)

* Units Module: New functions:

* isWar

* isHunter

* isAvailableForAdoption

* isOwnCiv

* isOwnRace

* getRaceName

* getRaceNamePlural

* getRaceBabyName

* getRaceChildName

* isBaby

* isChild

* isAdult

* isEggLayer

* isGrazer

* isMilkable

* isTrainableWar

* isTrainableHunting

* isTamable

* isMale

* isFemale

* isMerchant

* isForest

* isMarkedForSlaughter

* Buildings Module: New Functions:

* isActivityZone

* isPenPasture

* isPitPond

* isActive

* findPenPitAt

* Fixes

* dfhack.run_script should correctly find save-specific scripts now.

* Updated add-thought to properly affect stress.

* hfs-pit should work now

* Autobutcher takes gelding into account

* init.lua existence checks should be more reliable (notably when using non-English locales)

* New Plugins

* New Scripts

* New Tweaks

* Removed

* Misc Improvements

* Multiline commands are now possible inside dfhack.init scripts. See dfhack.init-example for example usage.



DFHack 0.40.24-r1 (Current):

Linux (gcc 4.5.4)

Windows

Mac OSX

DFHack 0.40.24-r1

* Internals

* CMake shouldn't cache DFHACK_RELEASE anymore. People may need to manually update/delete their CMake cache files to get rid of it.



DFHack 0.40.24-r0 (Current):

Linux (gcc 4.9.2)

Windows

Mac OSX

DFHack 0.40.24-r0

Internals

EventManager: fixed crash error with EQUIPMENT_CHANGE event.

key modifier state exposed to Lua

Fixes

dfhack script can now be run from other directories on OSX

New Plugins

blueprint: export part of your fortress to quickfort .csv files

New Scripts

hotkey-notes: print key, name, and jump position of hotkeys

Removed

embark.lua

needs_porting/*

New Tweaks

Misc Improvements

added support for searching more lists



'reveal' - reveals the map or portions of it.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use.



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.23-r1 (Current):

Linux

Windows

OSX

* Internals

* plugins will not be loaded if globals they specify as required are not located (should prevent some crashes)

* Fixes

* Fixed numerous (mostly Lua-related) crashes on OS X by including a more up-to-date libstdc++

* Alt should no longer get stuck on Windows (and perhaps other platforms as well)

* advfort works again

* autobutcher takes sexualities into account

* devel/export-dt-ini: Updated for 0.40.20+

* digfort: now checks file type and existence

* exportlegends: Fixed map export

* full-heal: Fixed a problem with selecting units in the GUI

* gui/hack-wish: Fixed restrictive material filters

* mousequery: Changed box-select key to Alt+M

* plugins/dwarfmonitor: correct date display (month index, separator)

* scripts/putontable: added to the readme

* siren should work again

* stderr.log: removed excessive debug output on OS X

* trackstop: No longer prevents cancelling the removal of a track stop or roller.

* Fixed a display issue with PRINT_MODE:TEXT

* Fixed a symbol error (MapExtras::BiomeInfo::MAX_LAYERS) when compiling DFHack in Debug mode

* New Plugins

* fortplan: designate construction of (limited) buildings from .csv file, quickfort-style

* New Scripts

* gui/stockpiles: an in-game interface for saving and loading stockpile settings files.

* position: Reports the current date, time, month, and season, plus

* some location info. Port/update of position.py

* hfs-pit: Digs a hole to hell under the cursor. Replaces needs_porting/hellhole.cpp

* Removed

* embark.lua: Obsolete, use `embark-tools`

* New tweaks:

* eggs-fertile: Displays an egg fertility indicator on nestboxes

* max-wheelbarrow: Allows assigning more than 3 wheelbarrows to a stockpile

* Misc Improvements

* embark-tools: Added basic mouse support on the local map

* Made some adventure mode keybindings in dfhack.init-example only work in adventure mode

* Added a default keybinding for "gui/companion-order"

* further work on needs_porting



Bugs should be reported here:

'reveal' - reveals the map or portions of it.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use.



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.19-r1 (Current):

Linux

Windows

OSX

DFHack 0.40.19-r1

* Internals:

* Fixes:

* typo fix in modtools/reaction-trigger

* modtools/item-trigger should now work with item types

* New plugins:

* savestock and loadstock: two commands for saving and loading stockpile settings to a file. They can be used to migrate stockpile settings between worlds and saves.

* New scripts:

* remove-stress [all]: set selected or all units unit to -1,000,000 stress. this script replaces removebadthoughts.rb

* Misc improvements:

* cmd-prompt can now access selected items, units, and buildings

* autolabor plugin: add an optional talent pool parameter



Bugs should be reported here:

DFHack 0.40.16-r1 (Current):

Windows

OSX

Linux (gcc 4.9)

Linux (gcc 4.5.4) Link

DFHack 0.40.16-r1

Internals:

EventManager should handle INTERACTION triggers a little better. It still can get confused about who did what but only rarely.

EventManager should no longer trigger REPORT events for old reports after loading a save.

lua/persist-table.lua: a convenient way of using persistent tables of arbitrary structure and dimension in Lua

Fixes:

mousequery: Disabled when linking levers

stocks: Melting should work now

scripts/full-heal: Updated with proper argument handling.

scripts/modtools/reaction-trigger-transition.lua

should produce the correct syntax now

scripts/superdwarf.rb should work better now

scripts/forum-dwarves.lua

update for new df-structures changes

New scripts:

scripts/

adaptation.rb

view or set the cavern adaptation level of your citizens

add-thought.lua

allows the user to add thoughts to creatures.

gaydar.lua

detect the sexual orientation of units on the map

markdown.lua

Save a copy of a text screen in markdown (for reddit among others).

devel/

all-bob.lua: renames everyone Bob to help test interaction-trigger

Misc improvements:

autodump:

Can now mark a stockpile for auto-dumping (similar to

automelt and autotrade)

buildingplan:

Can now auto-allocate rooms to dwarves with specific positions

(e.g. expedition leader, mayor)

dwarfmonitor

Now displays a weather indicator and date

lua/syndrome-util.lua

now you can remove syndromes by SYN_CLASS

scripts/modtools/add-syndrome.lua

now you can remove syndromes by SYN_CLASS

No longer writes empty .history files



digType?

stonesense not included

removebadthoughts

Bugs should be reported here:

'reveal' - reveals the map or portions of it.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use. This must be downloaded separately for technical reasons.



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.15-r1 (Current):

Fixes:

- mousequery: Fixed behavior when selecting a tile on the lowest z-level

Internals:

- EventManager: deals with frame_counter getting reset properly now.

- modtools/item-trigger: fixed equip/unequip bug and corrected minor documentation error

- teleport: Updated with proper argument handling and proper unit-at-destination handling.

- autotrade: Removed the newly obsolete "Mark all" functionality.

- search: Adapts to the new trade screen column width

- tweak fast-trade: Switching the fast-trade keybinding to Shift-Up/Shift-Down, due to Select All conflict



digType

interaction-trigger

conversion script from old autoSyndrome stuff

stonesense not included

removebadthoughts

Bugs should be reported here:

'reveal' - reveals the map or portions of it.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use. This must be downloaded separately for technical reasons.



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.14-r1 (Current):

Internals:

- The DFHack console can now be disabled by setting the DFHACK_DISABLE_CONSOLE

environment variable: "DFHACK_DISABLE_CONSOLE=1 ./dfhack"

Fixes:

- Stopped duplicate load/unload events when unloading a world

- Stopped "-e" from being echoed when DFHack quits on Linux

- automelt now uses a faster method to locate items

- autotrade: "Mark all" no longer double-marks bin contents

- drainaquifer.rb: replaced with a faster less buggy drain-aquifer.lua

- embark-tools no longer conflicts with keys on the notes screen

- fastdwarf: Fixed problems with combat/attacks

- forum-dwarves should work now

- manipulator now uses a stable sort, allowing sorting by multiple categories

- rendermax updated to work with 0.40

New plugins:

- trackstop: Shows track stop friction and dump direction in its 'q' menu

New tweaks:

- farm-plot-select: Adds "Select all" and "Deselect all" options to farm plot menus

- import-priority-category: Allows changing the priority of all goods in a

category when discussing an import agreement with the liaison

- manager-quantity: Removes the limit of 30 jobs per manager order

- civ-view-agreement: Fixes overlapping text on the "view agreement" screen

- nestbox-color: Fixes the color of built nestboxes



digType

interaction-trigger

conversion script from old autoSyndrome stuff

INVENTORY_CHANGE event

stonesense not included

removebadthoughts

Bugs should be reported here:

'reveal' - reveals the map or portions of it.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use. This must be downloaded separately for technical reasons.



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.13-r1 (Current):

Fixes

no more -e after terminating

Internals

unified spatter structs

Previously Undocumented

3dveins should no longer hang/crash on specific maps



Fixed some autotrade and search layout issues



Updated deathcause



reveal no longer allocates data for nonexistent map blocks



Various documentation fixes and updates

None known yet.

Bugs should be reported here:

'reveal' - reveals the map or portions of it.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use. This must be downloaded separately for technical reasons.



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.12-r1 (Current):

Fixes

possible crash fixed for hack-wish



updated search to not conflict with BUILDJOB_SUSPEND



workflow: job_material_category -> dfhack_material_category

New Plugins

hotkeys (by Falconne): Shows ingame viewscreen with all dfhack keybindings active in current mode.



automelt: allows marking stockpiles for automelt (i.e. any items placed in stocpile will be designated for melting)

Misc Improvements

now you can use @ to print things in interactive Lua with subtley different semantics



optimizations for stockpiles for autotrade and stockflow



updated exportlegends.lua to work with new maps, dfhack 40.11 r1+

Internals

support for global onLoadWorld.init and onUnloadWorld.init files, called when loading and unloading a world

Close file after loading a binary patch.

None known yet.

Bugs should be reported here:

'reveal' - reveals the map or portions of it.

'prospect' - counts available raw materials - mostly minerals.

'clean' - removes nasty bloodstains and other such materials from the map, items and creatures.

'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.

'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use. This must be downloaded separately for technical reasons.

'digFlood' - digs out a mineral vein as it is discovered without revealing the size



First, get the archive meant for your system. Extract the contents into your DF folder.

On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.

On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.

On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll

On Linux, remove the dfhack script.

DFHack 0.40.11-r1 (Current):

Plugins on OSX now use .plug.dylib instead of .plug.so.

hack-wish should work now.

Many df-structures updates.

Other updates people didn't bother to list in the NEWS file. Shame!

None known yet.

Bugs should be reported here:

DFHack 0.40.10-r1 (Current):

A few bugfixes.



There may be general instability, especially with old scripts. Proceed carefully and make detailed bug reports if you have problems.

Currently Available Versions:---Currently Available Versions:-----Currently Available Versions:===DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Currently Available Versions:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.DFHack has many developers so we don't take donations. Donate generously to Toady instead! You can say it's in honor of DFHack if you want.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ =====DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Currently Available Versions:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.DFHack has many developers so we don't take donations. Donate generously to Toady instead! You can say it's in honor of DFHack if you want.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ =====Currently Available Versions:Possible Problems:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.DFHack has many developers so we don't take donations. Donate generously to Toady instead! You can say it's in honor of DFHack if you want.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ =====DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Possible Problems:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.DFHack has many developers so we don't take donations. Donate to Toady instead! You can say it's in honor of DFHack if you want.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ ======DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Possible Problems:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.DFHack has many developers so we don't take donations. Donate to Toady instead! Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ ===========DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Possible Problems:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ ==================DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Possible Problems:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ =====================DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open-source so anyone can add changes and make their own releases.Some command examples:And many more...How to install DFHack:How to uninstall DFHack:Possible Problems:There's an IRC channel on freenode: #dfhack ( irc://irc.freenode.net/dfhack or web client The source code is available from github , please read the Compile document before building.Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/ ===========Possible Problems: