Plotted Pixels
Posts
Binpatch to Disable Vanilla Dimensions Tooltip
The following are DFHack binpatches to disable the vanilla dimensions tooltip in dwarf fortress version 51.05 (no itch, sorry).
Applying the patch
- Download the version listed above for your OS and platform, and place it in your dwarf fortress directory.
- Via the dfhack launcher, run
binpatch apply disable-vanilla-dimensions.dif
. It may need to be run twice asbinpatch
is marked as unavailable. - Strike the earth! This patch is not permanent and will need to be reapplied each game start.
Adventures in Demangling
I have recently put time into improving symbol demangling in DFHack, which is frequently used in determining the name of the active UI screen. This initially seemed like a simplistic task, but ended up revealing a lot about the internals of MSVC mangling, and even some bugs in Wine’s demangling implementation.
The demangling implementation originally trimmed the mangled names down, removing certain leading numbers and postfix symbols. This works for basic non-namespaced types, but could quickly provide non-portable names as soon as a namespace was involved.