Skip to content

Releases: DFHack/dfhack

DFHack 0.43.05-alpha2

23 Nov 03:35
Compare
Choose a tag to compare
DFHack 0.43.05-alpha2 Pre-release
Pre-release

This release is hopefully more stable than 0.43.05-alpha1. There have been some structure fixes, including one that was causing an exportlegends crash. Also, Ruby should work on all platforms and architectures now. This has not been tested as extensively, so please pay special attention to any problems you find with Ruby scripts and report them.

Update: there is a fairly common Ruby crash on 64-bit Windows. Also, Stonesense is not included.

The following changelog consists of changes since 0.43.03-r1:

Internals

  • 64-bit support on all platforms
  • Visual Studio 2015 now required on Windows instead of 2010
  • GCC 4.8 recommended on Linux and OS X (and now supported on OS X)
  • Several structure fixes to match 64-bit DF's memory layout

Lua

  • Lua has been updated to 5.3 - see http://www.lua.org/manual/5.3/readme.html for details
    • Floats are no longer implicitly converted to integers in DFHack API calls
  • df.new() supports more types: char, intptr_t, uintptr_t, long, unsigned long
  • String representations of vectors and a few other containers now include their lengths

Ruby

  • Added support for loading ruby 2.x libraries
  • Fixed some layouts on x64 (incomplete)

New Plugins

  • dwarfvet enables animal caretaking
  • labormanager (formerly autolabor2): a more advanced alternative to autolabor
  • title-folder: shows DF folder name in window title bar when enabled

New Scripts

  • load-save: loads a save non-interactively

Fixes

  • The DF path on OS X can now contain spaces and : characters
  • Buildings::setOwner() changes now persist properly when saved
  • devel/find-offsets: fixed a crash when vtables used by globals aren't available

Misc Improvements

  • Documented all default keybindings (from dfhack.init-example) in the
    docs for the relevant commands; updates enforced by build system.
  • lua and gui/gm-editor now support the same aliases (scr, unit, etc.)
  • remotefortressreader: Added support for
    • world map snow coverage
    • spatters
    • wall info
    • site towers, world buildings
    • surface material

DFHack 0.43.05-alpha1

16 Oct 00:51
Compare
Choose a tag to compare
DFHack 0.43.05-alpha1 Pre-release
Pre-release

This release has some support for 0.43.05. 32-bit support should be about as good as it was in 0.43.03, while 64-bit support is somewhat more experimental. Please report issues that you encounter. It's especially helpful if you can try to reproduce them with both 32-bit and 64-bit DFHack.

Important: Some alpha releases in the past have been stable. This is most likely not one of them. It's intended primarily for people to help test and find issues.

The following things are known to be missing or possibly broken, so please don't report them if they are:

  • Ruby
  • Stonesense
  • Some offsets (although do report any crashes that occur as a result)

Changelog since 0.43.03-r1:

Internals

  • 64-bit support on all platforms
  • Visual Studio 2015 now required on Windows instead of 2010
  • GCC 4.8 recommended on Linux and OS X (and now supported on OS X)
  • Several structure fixes to match 64-bit DF's memory layout

Lua

  • Lua has been updated to 5.3 - see http://www.lua.org/manual/5.3/readme.html for details
    • Floats are no longer implicitly converted to integers in DFHack API calls
  • df.new() supports more types: char, intptr_t, uintptr_t, long, unsigned long
  • String representations of vectors and a few other containers now include their lengths

Ruby

  • Added support for loading ruby 2.x libraries
  • Fixed some layouts on x64 (incomplete)

New Plugins

  • dwarfvet enables animal caretaking
  • labormanager (formerly autolabor2): a more advanced alternative to autolabor
  • title-folder: shows DF folder name in window title bar when enabled

New Scripts

  • load-save: loads a save non-interactively

Fixes

  • The DF path on OS X can now contain spaces and : characters
  • Buildings::setOwner() changes now persist properly when saved
  • devel/find-offsets: fixed a crash when vtables used by globals aren't available

Misc Improvements

  • lua and gui/gm-editor now support the same aliases (scr, unit, etc.)
  • remotefortressreader: Added support for
    • world map snow coverage
    • spatters
    • wall info
    • site towers, world buildings
    • surface material

DFHack 0.43.03-r1

07 Jul 02:32
Compare
Choose a tag to compare

This is a release for 0.43.03 (not 0.43.04, 0.43.05, or anything newer - support for those is in progress, but likely to take longer than usual, so we decided to make a release for 0.43.03 in the meantime). Please do let us know about any issues - we can always make another 0.43.03 release, even if support for newer versions isn't done.

Changes since 0.42.06:

Lua

  • Label widgets can now easily register handlers for mouse clicks

New Features

  • add-thought: allow syndrome name as -thought argument
  • gui/gm-editor
    • Added ability to insert default types into containers. For primitive types leave the type entry empty, and for references use *.
    • Added shift-esc binding to fully exit from editor
    • Added gui/gm-editor toggle command to toggle editor visibility (saving position)
  • modtools/create-unit:
    • Added an option to attach units to an existing wild animal population
    • Added an option to attach units to a map feature

Fixes

  • autofarm: Can now handle crops that grow for more than a season
  • combine-plants: Fixed recursion into sub-containers
  • createitem: Now moves multiple created items to cursor correctly
  • exportlegends: Improved handling of unknown enum items (fixes many errors)
  • gui/create-item: Fixed quality when creating multiple items
  • gui/mod-manager: Fixed error when mods folder doesn't exist
  • modtools/item-trigger: Fixed handling of items with subtypes
  • stockflow:
    • Can order metal mechanisms
    • Fixed material category of thread-spinning jobs

Misc Improvements

  • The built-in ls command now wraps the descriptions of commands
  • catsplosion: now a lua script instead of a plugin
  • fix/diplomats: replaces fixdiplomats
  • fix/merchants: replaces fixmerchants
  • Unified script documentation and in-terminal help options

Removed

  • tweak manager-quantity: no longer needed

DFHack 0.43.03-alpha1

14 Jun 18:50
Compare
Choose a tag to compare
DFHack 0.43.03-alpha1 Pre-release
Pre-release

This is an alpha release for 0.43.03. Please try to figure out how to make it crash or act strangely and tell us how!

New things since 0.42.06:

Lua

  • Label widgets can now easily register handlers for mouse clicks

New Features

  • gui/gm-editor it's now possible to insert default types to containers. For primitive types leave the type entry empty, for references use *.

Fixes

  • createitem: Now moves multiple created items to cursor correctly
  • exportlegends: Improved handling of unknown enum items (fixes many errors)
  • gui/create-item: Fixed quality when creating multiple items
  • gui/mod-manager: Fixed error when mods folder doesn't exist
  • modtools/item-trigger: Fixed handling of items with subtypes

Misc Improvements

  • catsplosion: now a lua script instead of a plugin
  • fix/diplomats: replaces fixdiplomats
  • fix/merchants: replaces fixmerchants

Removed

  • tweak manager-quantity: no longer needed

DFHack 0.42.06-r1

24 Apr 21:32
Compare
Choose a tag to compare

This is our first stable release for the DF 0.42 series. Thanks to everyone that tested out the pre-releases and reported issues!

Note: This release has local documentation this time! We're still ironing out our build process for it, but it's in the hack/docs folder. As always, it's also available online at https://dfhack.readthedocs.org/.

Linux note (mainly for people who've been avoiding pre-releases): The GCC 4.8 build should work out of the box now, without requiring libs/libstdc++.so.6 to be removed. It also avoids some weird compiler issues, so using it is recommended. GCC 4.5 builds may be available as well in case the GCC 4.8 builds still don't work.

Internals

  • Commands to run on startup can be specified on the command line with +

    Example:

    ./dfhack +devel/print-args example
    "Dwarf Fortress.exe" +devel/print-args example
    
  • Prevented plugins with active viewscreens from being unloaded and causing a crash

  • Additional script search paths can be specified in dfhack-config/script-paths.txt

Lua

  • building-hacks now supports auto_gears flags. It automatically finds and animates gears in building definition
  • Changed how eventful triggers reaction complete. Now it has onReactionComplete and onReactionCompleting. Second one can be canceled

New Plugins

  • autogems: Creates a new Workshop Order setting, automatically cutting rough gems

New Scripts

  • devel/save-version: Displays DF version information about the current save
  • modtools/extra-gamelog: replaces log-region, soundsense-season, and soundsense

New Features

  • buildingplan: Support for floodgates, grates, and bars
  • colonies: new place subcommand and supports any vermin (default honey bees)
  • confirm: Added a confirmation for retiring locations
  • exportlegends: Exports more information (poetic/musical/dance forms, written/artifact content, landmasses, extra histfig information, and more)
  • search: Support for new screens:
    • location occupation assignment
    • civilization animal training knowledge
    • animal trainer assignment
  • tweak:
    • tweak block-labors: Prevents labors that can't be used from being toggled
    • tweak hide-priority: Adds an option to hide designation priority indicators
    • tweak title-start-rename: Adds a safe rename option to the title screen "Start Playing" menu
  • zone:
    • Added unassign subcommand
    • Added only option to assign subcommand

Fixes

  • Fixed a crash bug caused by the historical figures DFHack uses to store persistent data.
  • More plugins should recognize non-dwarf citizens
  • Fixed a possible crash from cloning jobs
  • moveToBuilding() now sets flags for items that aren't a structural part of the building properly
  • autotrade, stocks: Made trading work when multiple caravans are present but only some can trade
  • confirm note-delete: No longer interferes with name entry
  • exportlegends: Handles entities without specific races, and a few other fixes for things new to v0.42
  • fastdwarf: Fixed a bug involving teleporting mothers but not the babies they're holding.
  • gaydar: Fixed text display on OS X/Linux and failure with soul-less creatures
  • manipulator:
    • allowed editing of non-dwarf citizens
    • stopped ghosts and visitors from being editable
    • fixed applying last custom profession
  • modtools/create-unit: Stopped making units without civs historical figures
  • modtools/force:
    • Removed siege option
    • Prevented a crash resulting from a bad civilization option
  • showmood: Fixed name display on OS X/Linux
  • view-item-info: Fixed density units

Misc Improvements

  • autochop: Can now edit log minimum/maximum directly and remove limit entirely
  • autolabor, autohauler, manipulator: Added support for new jobs/labors/skills
  • colonies: now implemented by a script
  • createitem: Can now create items anywhere without specifying a unit, as long as a unit exists on the map
  • devel/export-dt-ini: Updated for 0.42.06
  • devel/find-offsets: Automated several more scans
  • gui/gm-editor: Now supports finding some items with a numeric ID (with i)
  • lua: Now supports some built-in variables like gui/gm-editor, e.g. unit, screen
  • remotefortressreader: Can now trigger keyboard events
  • stockflow: Now offers better control over individual craft jobs
  • weather: now implemented by a script
  • zone: colored output

Removed

  • DFusion: legacy script system, obsolete or replaced by better alternatives

DFHack 0.42.06-beta1

13 Apr 02:36
Compare
Choose a tag to compare
DFHack 0.42.06-beta1 Pre-release
Pre-release

Internals

  • Commands to run on startup can be specified on the command line with +

    Example::

    ./dfhack +devel/print-args example
    "Dwarf Fortress.exe" +devel/print-args example
    
  • Prevented plugins with active viewscreens from being unloaded and causing a crash

  • Additional script search paths can be specified in dfhack-config/script-paths.txt

Lua

  • building-hacks now supports auto_gears flags. It automatically finds and animates gears in building definition
  • Changed how eventful triggers reaction complete. Now it has onReactionComplete and onReactionCompleting. Second one can be canceled

New Plugins

  • autogems: Creates a new Workshop Order setting, automatically cutting rough gems

New Scripts

  • devel/save-version: Displays DF version information about the current save
  • modtools/extra-gamelog: replaces log-region, soundsense-season, and soundsense

New Features

  • buildingplan: Support for floodgates, grates, and bars
  • confirm: Added a confirmation for retiring locations
  • exportlegends: Exports more information (poetic/musical/dance forms, written/artifact content, landmasses, extra histfig information, and more)
  • search: Support for new screens:
    • location occupation assignment
    • civilization animal training knowledge
    • animal trainer assignment
  • tweak:
    • tweak block-labors: Prevents labors that can't be used from being toggled
    • tweak hide-priority: Adds an option to hide designation priority indicators
    • tweak title-start-rename: Adds a safe rename option to the title screen "Start Playing" menu
  • colonies: new place subcommand and supports any vermin (default honey bees)

Fixes

  • Fixed a crash bug caused by the historical figures DFHack uses to store persistent data.
  • More plugins should recognize non-dwarf citizens
  • Fixed a possible crash from cloning jobs
  • moveToBuilding() now sets flags for items that aren't a structural part of the building properly
  • confirm note-delete: No longer interferes with name entry
  • exportlegends: Handles entities without specific races, and a few other fixes for things new to v0.42
  • fastdwarf: Fixed a bug involving teleporting mothers but not the babies they're holding.
  • gaydar: Fixed text display on OS X/Linux and failure with soul-less creatures
  • manipulator:
    • allowed editing of non-dwarf citizens
    • stopped ghosts and visitors from being editable
    • fixed applying last custom profession
  • modtools/create-unit: Stopped making units without civs historical figures
  • modtools/force:
    • Removed siege option
    • Prevented a crash resulting from a bad civilization option
  • showmood: Fixed name display on OS X/Linux
  • view-item-info: Fixed density units

Misc Improvements

  • autochop: Can now edit log minimum/maximum directly and remove limit entirely
  • autolabor, autohauler, manipulator: Added support for new jobs/labors/skills
  • colonies: now implemented by a script
  • createitem: Can now create items anywhere without specifying a unit, as long as a unit exists on the map
  • devel/export-dt-ini: Updated for 0.42.06
  • devel/find-offsets: Automated several more scans
  • lua: Now supports some built-in variables like gui/gm-editor, e.g. unit, screen
  • remotefortressreader: Can now trigger keyboard events
  • stockflow: Now offers better control over individual craft jobs
  • weather: now implemented by a script

Removed

  • DFusion: legacy script system, obsolete or replaced by better alternatives

DFHack 0.42.06-alpha2

10 Mar 23:29
Compare
Choose a tag to compare
DFHack 0.42.06-alpha2 Pre-release
Pre-release

Internals

  • Commands to run on startup can be specified on the command line with +

    Example::

    ./dfhack +devel/print-args example
    "Dwarf Fortress.exe" +devel/print-args example
    
  • Prevented plugins with active viewscreens from being unloaded and causing a crash

New Plugins

  • autogems: Creates a new Workshop Order setting, automatically cutting rough gems

New Scripts

  • devel/save-version: Displays DF version information about the current save

New Features

  • buildingplan: Support for floodgates, grates, and bars
  • confirm: Added a confirmation for retiring locations
  • exportlegends: Exports more information (poetic/musical/dance forms, written/artifact content, landmasses, extra histfig information, and more)
  • search-plugin: Support for new screens:
    • location occupation assignment
    • civilization animal training knowledge
    • animal trainer assignment
  • tweak:
    • tweak block-labors: Prevents labors that can't be used from being toggled
    • tweak hide-priority: Adds an option to hide designation priority indicators
    • tweak title-start-rename: Adds a safe rename option to the title screen "Start Playing" menu

Fixes

  • Fixed a crash bug caused by the historical figures DFHack uses to store persistent data.
  • More plugins should recognize non-dwarf citizens
  • Fixed a possible crash from cloning jobs
  • confirm note-delete: No longer interferes with name entry
  • exportlegends: Handles entities without specific races, and a few other fixes for things new to v0.42
  • fastdwarf: Fixed a bug involving teleporting mothers but not the babies they're holding.
  • gaydar: Fixed text display on OS X/Linux and failure with soul-less creatures
  • manipulator:
    • allowed editing of non-dwarf citizens
    • stopped ghosts and visitors from being editable
    • fixed applying last custom profession
  • modtools/create-unit: Stopped making units without civs historical figures
  • modtools/force:
    • Removed siege option
    • Prevented a crash resulting from a bad civilization option
  • showmood: Fixed name display on OS X/Linux

Misc Improvements

  • autolabor, autohauler, manipulator: Added support for new jobs/labors/skills
  • devel/export-dt-ini: Updated for 0.42.06
  • lua: Now supports some built-in variables like gui/gm-editor, e.g. unit, screen
  • stockflow: Now offers better control over individual craft jobs
  • weather: now implemented by a script

DFHack 0.42.06-alpha1

05 Mar 02:32
Compare
Choose a tag to compare
DFHack 0.42.06-alpha1 Pre-release
Pre-release

Internals

  • Commands to run on startup can be specified on the command line with +

    Example::

    ./dfhack +devel/print-args example
    "Dwarf Fortress.exe" +devel/print-args example
    
  • Prevented plugins with active viewscreens from being unloaded and causing a crash

New Plugins

  • autogems: Creates a new Workshop Order setting, automatically cutting rough gems

New Scripts

  • devel/save-version: Displays DF version information about the current save

New Features

  • buildingplan: Support for floodgates, grates, and bars
  • confirm: Added a confirmation for retiring locations
  • exportlegends: Exports more information (poetic/musical/dance forms, written/artifact content, landmasses, extra histfig information, and more)
  • search: Support for new screens:
    • location occupation assignment
    • civilization animal training knowledge
    • animal trainer assignment
  • tweak:
    • tweak block-labors: Prevents labors that can't be used from being toggled
    • tweak hide-priority: Adds an option to hide designation priority indicators
    • tweak title-start-rename: Adds a safe rename option to the title screen "Start Playing" menu

Fixes

  • More plugins should recognize non-dwarf citizens
  • Fixed a possible crash from cloning jobs
  • confirm note-delete: No longer interferes with name entry
  • exportlegends: Handles entities without specific races, and a few other fixes for things new to v0.42
  • gaydar: Fixed text display on OS X/Linux and failure with soul-less creatures
  • manipulator:
    • allowed editing of non-dwarf citizens
    • stopped ghosts and visitors from being editable
    • fixed applying last custom profession
  • modtools/create-unit: Stopped making units without civs historical figures
  • modtools/force:
    • Removed siege option
    • Prevented a crash resulting from a bad civilization option
  • showmood: Fixed name display on OS X/Linux

Misc Improvements

  • autolabor, autohauler, manipulator: Added support for new jobs/labors/skills
  • devel/export-dt-ini: Updated for 0.42.06
  • lua: Now supports some built-in variables like gui/gm-editor, e.g. unit, screen
  • stockflow: Now offers better control over individual craft jobs
  • weather: now implemented by a script

DFHack 0.42.05-alpha1

01 Feb 19:51
Compare
Choose a tag to compare
DFHack 0.42.05-alpha1 Pre-release
Pre-release

Another alpha release, with support for 0.42.05 (and 0.42.04). Reports seem to imply that this is stable, but as usual, make backups of your saves and report any issues you find on GitHub or the Bay12 Forums thread.

Internals

  • Commands to run on startup can be specified on the command line with +

    Example:

    ./dfhack +devel/print-args example
    "Dwarf Fortress.exe" +devel/print-args example
    
  • Prevented plugins with active viewscreens from being unloaded and causing a crash

New Plugins

  • autogems: Creates a new Workshop Order setting, automatically cutting rough gems

New Scripts

  • devel/save-version: Displays DF version information about the current save

New Features

  • buildingplan: Support for floodgates, grates, and bars
  • confirm: Added a confirmation for retiring locations
  • exportlegends: Exports more information (poetic/musical/dance forms, written/artifact content, landmasses, extra histfig information, and more)
  • search: Support for new screens:
    • location occupation assignment
    • civilization animal training knowledge
    • animal trainer assignment
  • tweak:
    • tweak block-labors: Prevents labors that can't be used from being toggled
    • tweak hide-priority: Adds an option to hide designation priority indicators
    • tweak title-start-rename: Adds a safe rename option to the title screen "Start Playing" menu

Fixes

  • exportlegends: Handles entities without specific races, and a few other fixes for things new to v0.42
  • showmood: Fixed name display on OS X/Linux

Misc Improvements

  • weather: now implemented by a script

DFHack 0.42.04-alpha2

09 Jan 16:29
Compare
Choose a tag to compare
DFHack 0.42.04-alpha2 Pre-release
Pre-release

This is an initial release for DF v0.42.04 only. The Linux build is using a new compiler, so please check for issues that weren't present in 0.42.04-alpha1. Making backups of your saves before and while using this is highly recommended. Please report any issues you find on GitHub or the Bay12 Forums thread.

Internals

  • Commands to run on startup can be specified on the command line with +

    Example:

    ./dfhack +devel/print-args example
    "Dwarf Fortress.exe" +devel/print-args example
    
  • Prevented plugins with active viewscreens from being unloaded and causing a crash

New Scripts

  • devel/save-version: Displays DF version information about the current save

New Features

  • confirm: Added a confirmation for retiring locations
  • search: Support for new screens:
    • location occupation assignment
    • civilization animal training knowledge
    • animal trainer assignment
  • tweak:
    • tweak block-labors: Prevents labors that can't be used from being toggled
    • tweak hide-priority: Adds an option to hide designation priority indicators
    • tweak title-start-rename: Adds a safe rename option to the title screen "Start Playing" menu

Fixes

  • exportlegends: Handles entities without specific races, and a few other fixes for things new to v0.42
  • showmood: Fixed name display on OS X/Linux