github DFHack/dfhack 0.47.04-beta1
DFHack 0.47.04-beta1

latest releases: 50.13-r2, 50.13-r1.1, 50.13-r1...
pre-release4 years ago

DFHack 0.47.04-beta1

0.47.04 support is hopefully nearly complete. We're relying on community testing to promote this to a stable release, so let us know what you find!

To download, scroll down to "assets".

Updates since this was released:

  • There is a fixed exportlegends script that can generate maps here. To use, click "Raw", download the file, and save it to your hack/scripts folder (this should replace the file that is already there - if not, make sure you only give it the .lua extension).

New Scripts

  • color-schemes: manages color schemes
  • devel/print-event: prints the description of an event by ID or index
  • gui/color-schemes: an in-game interface for color-schemes
  • light-aquifers-only: changes heavy aquifers to light aquifers
  • on-new-fortress: runs DFHack commands only in a new fortress
  • once-per-save: runs DFHack commands unless already run in the current save
  • resurrect-adv: brings your adventurer back to life
  • reveal-hidden-units: exposes all sneaking units
  • workorder: allows queuing manager jobs; smart about shear and milk creature jobs

Fixes

  • Fixed a crash when starting DFHack in headless mode with no terminal

  • devel/visualize-structure: fixed padding detection for globals

  • exportlegends:

    • added UTF-8 encoding and XML escaping for more fields
    • added checking for unhandled structures to avoid generating invalid XML
    • fixed missing fields in history_event_assume_identityst export
  • full-heal:

    • when resurrected by specifying a corpse, units now appear at the location of the corpse rather than their location of death
    • resurrected units now have their tile occupancy set (and are placed in the prone position to facilitate this)

Misc Improvements

  • Added "bit" suffix to downloads (e.g. 64-bit)

  • Tests:

    • moved from DF folder to hack/scripts folder, and disabled installation by default
    • made test runner script more flexible
  • dfhack-run: added color output support

  • embark-assistant:

    • updated embark aquifer info to show all aquifer kinds present
    • added neighbor display, including kobolds (SKULKING) and necro tower count
    • updated aquifer search criteria to handle the new variation
    • added search criteria for embark initial tree cover
    • added search criteria for necro tower count, neighbor civ count, and specific neighbors. Should handle additional entities, but not tested
  • devel/export-dt-ini: updated some field names for DT for 0.47

  • devel/visualize-structure: added human-readable lengths to containers

  • exportlegends:

    • added evilness and force IDs to regions
    • added profession and weapon info to relevant entities
    • added support for many new history events in 0.47
    • added historical event relationships and supplementary data
  • full-heal:

    • made resurrection produce a historical event viewable in Legends mode
    • made error messages more explanatory
  • install-info: added DFHack build ID to report

  • modtools/create-item: added -matchingGloves and -matchingShoes arguments

  • modtools/create-unit:

    • added -duration argument to make the unit vanish after some time
    • added -locationRange argument to allow spawning in a random position within a defined area
    • added -locationType argument to specify the type of location to spawn in

Internals

  • Improved support for tagged unions, allowing tools to access union fields more safely
  • Added separate changelogs in the scripts and df-structures repos
  • Moved reversing scripts to df_misc repo

Structures

  • Added an XML schema for validating df-structures syntax
  • Added divination_set_next_id and image_set_next_id globals
  • activity_entry_type: new enum type
  • adventure_optionst: identified many vmethods
  • agreement_details: identified most fields of most sub-structs
  • artifact_claim: identified several fields
  • artifact_record: identified several fields
  • caste_raw_flags: renamed and identified many flags to match information from Toady
  • creature_raw_flags: renamed and identified many flags to match information from Toady
  • crime_type: new enum type
  • dfhack_room_quality_level: added enum attributes for names of rooms of each quality
  • entity_site_link_type: new enum type
  • export_map_type: new enum type
  • historical_entity.flags: identified several flags
  • historical_entity.relations: renamed from unknown1b and identified several fields
  • historical_figure.vague_relationships: identified
  • historical_figure_info.known_info: renamed from secret, identified some fields
  • historical_figure: renamed unit_id2 to nemesis_id
  • history_event_circumstance_info: new struct type (and changed several history_event subclasses to use this)
  • history_event_reason_info: new struct type (and changed several history_event subclasses to use this)
  • honors_type: identified several fields
  • interaction_effect_create_itemst: new struct type
  • interaction_effect_summon_unitst: new struct type
  • item: identified several vmethods
  • layer_type: new enum type
  • plant.damage_flags: added is_dead
  • plot_role_type: new enum type
  • plot_strategy_type: new enum type
  • relationship_event_supplement: new struct type
  • relationship_event: new struct type
  • specific_ref: moved union data to data field
  • ui_look_list: moved union fields to data and renamed to match type enum
  • ui_sidebar_menus.location: added new profession-related fields, renamed and fixed types of deity-related fields
  • ui_sidebar_mode: added ZonesLocationInfo
  • unit_action: rearranged as tagged union with new sub-types; existing code should be compatible
  • vague_relationship_type: new enum type
  • vermin_flags: identified is_roaming_colony
  • viewscreen_justicest: identified interrogation-related fields
  • world_data.field_battles: identified and named several fields

Don't miss a new dfhack release

NewReleases is sending notifications on new releases.