DFHack 53.07-r1
[p]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 [c]mods[/c] 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! [/p][h2]Highlights[/h2][h3]Expanded keybindings[/h3][p]We've expanded the ability to bind hotkeys in DFHack so that you can now bind nearly any key combination you can think of. You are no longer limited by the keys DF recognizes; any key combo that SDL understands can be bound now. We also added both a GUI and a Lua API for managing these bindings. [/p][h3]Edge scrolling[/h3][p]A much-requested accessibility feature, the [c]edgescroll[/c] plugin optionally enables automatically panning DF's viewport when the mouse is near the screen border. [/p][h3]Return of infinite-sky[/h3][p]The [c]infinite-sky[/c] plugin, which we had to disable in the last release, is back with this release, fully compatible with the changes made in the siege update. [/p][h3]Bug fixes and other improvements[/h3][p]Various other tools had bugs fixed or improvements added: [c]empty-bin[/c] will no longer dump powders out of bags (unless forced), DF's enhanced sort and filter support no longer causes DF to crash on exit (did you notice? we did), and the search widget for places has been moved out of the way of DF's new "siege engines" subtab and now also supports searching and filtering siege engines. The [c]fpause[/c] command can now be used to force worldgen to pause, [c]combine[/c] does a better job of identifying the current stockpile, and [c]createitem[/c] now supports placing newly created items in or on more types of furniture than before. [/p][h2]Announcements[/h2][h3]PSAs[/h3][p]As always, remember that, just like the vanilla DF game, DFHack tools can also have bugs. It is a good idea to save often and keep backups of the forts that you care about. Some DFHack tools that worked in previous (pre-Steam) versions of DF have not been updated yet and are marked with the "unavailable" tag in their docs. If you try to run them, they will show a warning and exit immediately. You can run the command again to override the warning (though of course the tools may not work). We make no guarantees of reliability for the tools that are marked as "unavailable". The in-game interface for running DFHack commands ([c]gui/launcher[/c]) will not show "unavailable" tools by default. You can still run them if you know their names, or you can turn on dev mode by hitting Ctrl-D while in [c]gui/launcher[/c] and they will be added to the autocomplete list. Some tools listed as "unavailable" in the docs do not compile yet and are not accessible at all, even when in dev mode. If you see a tool complaining about the lack of a cursor, know that it's referring to the keyboard cursor (which used to be the only real option in Dwarf Fortress). You can enable the keyboard cursor by entering mining mode or selecting the dump/forbid tool and hitting Alt-K (the DFHack keybinding for [c]toggle-kbd-cursor[/c]). We're working on making DFHack tools more mouse-aware and accessible so this step isn't necessary in the future. [/p][h2]Changelog[/h2][h3]New Tools[/h3]
- [c]fix/codex-pages[/c]: add pages to written content that have unspecified page counts.
- [c]gui/keybinds[/c]: gui for managing and saving custom keybindings
- [c]infinite-sky[/c]: Re-enabled with compatibility with new siege map data.
- [c]edgescroll[/c]: Introduced plugin to pan the view automatically when the mouse reaches the screen border.
- [c]sort[/c]: Places search widget can search "Siege engines" subtab by name, loaded status, and operator status
- [c]empty-bin[/c]: renamed [c]--liquids[/c] parameter to [c]--force[/c] and made emptying of containers (bags) with powders contingent on that parameter. Previously powders would just always get disposed.
- [c]sort[/c]:
- Using the squad unit selector will no longer cause Dwarf Fortress to crash on exit
- Places search widget moved to account for DF's new "Siege engines" subtab
- The [c]fpause[/c] console command can now be used to force world generation to pause (as it did prior to version 50).
- [c]combine[/c]: try harder to find the currently-selected stockpile
- [c]createitem[/c]: created items can now be placed onto/into tables, nests, bookcases, display cases, and altars
- [c]keybinding[/c]: keybinds may now include the super key, and are no longer limited to particular keys ranges of keys, allowing any recognized by SDL.
- [c]Hotkey[/c]: New module for hotkey functionality
- The [c]Lua interactive interpreter[/c] banner now documents keywords such as [c]unit[/c] and [c]item[/c] which reference the currently-selected object in the DF UI.
- [c]dfhack.hotkey.addKeybind[/c]: Creates new keybindings
- [c]dfhack.hotkey.getKeybindingInput[/c]: Reads the input saved in response to a request.
- [c]dfhack.hotkey.listActiveKeybinds[/c]: Lists all keybinds for the current context
- [c]dfhack.hotkey.listAllKeybinds[/c]: Lists all keybinds for all contexts
- [c]dfhack.hotkey.removeKeybind[/c]: Removes existing keybindings
- [c]dfhack.hotkey.requestKeybindingInput[/c]: Requests the next keybind-compatible input is saved