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).

v51.05 linux64 STEAM

v51.05 linux64 CLASSIC

v51.05 win64 STEAM

v51.05 win64 CLASSIC

Applying the patch

  1. Download the version listed above for your OS and platform, and place it in your dwarf fortress directory.
  2. Via the dfhack launcher, run binpatch apply disable-vanilla-dimensions.dif. It may need to be run twice as binpatch is marked as unavailable.
  3. 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.