# DFHack/dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it

Repository: https://github.com/DFHack/dfhack
Canonical: https://ross.abutalabs.com/products/dfhack
Language: C++
License: NOASSERTION
License Family: other
Topics: dwarf-fortress, dfhack
Last push: 2026-08-26T07:47:50+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 6044, "days_push": 7, "days_rel": 25, "gap_med": 6, "n_releases_24m": 56}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2040, forks 502 (observed 2026-08-28T04:06:08.443947+00:00)

## What it is
DFHack is a memory access library for the game Dwarf Fortress, distributed with a large collection of scripts and plugins that extend and automate gameplay. It provides a plugin system and tooling for both end users and modders.

## Use cases
- automate tasks in Dwarf Fortress
- inspect and modify Dwarf Fortress game memory
- extend Dwarf Fortress with custom plugins
- fix bugs and add quality-of-life features to Dwarf Fortress
- write scripts to control Dwarf Fortress
- mod Dwarf Fortress gameplay

## When to choose
- you play Dwarf Fortress and want automation or quality-of-life tools
- you want to build plugins or scripts that interact with Dwarf Fortress memory
- you need a maintained, community-standard modding toolkit for Dwarf Fortress

## When to avoid
- you are modding a game other than Dwarf Fortress
- you need a general-purpose memory hacking or game cheating framework
- you want a graphical mod manager rather than a library and console toolset

## Facets
- artifact type: library
- maturity: active
- function: sdk, plugin-system, developer-tools
- domain: gaming-tools, developer-tools
- platform: windows, cpp
- tags: dwarf-fortress, memory-hacking, game-modding, plugins, scripts, automation, linux, macos

## Member repositories
- DFHack/dfhack (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.443947+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:58:20.975519+00:00, confidence not recorded.
  - readme: https://github.com/DFHack/dfhack (fetched 2026-08-28T04:06:08.443947+00:00, sha 6d7cf7e796e5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
