You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several places in DFHack that assume that the hack folder is in the current working directory, an assumption that we can no longer assume to be true. These hardcoded references need to be rewritten to use Core::getInstance().getHackPath().
There is one library reference:
library/DFSteam.cpp
There are three plugins:
plugins/dig.cpp
plugins/orders.cpp
plugins/pathable.cpp
I didn't find any in Lua scripts - it appears that all Lua scripts are already using getHackPath
On further investigation i did find several scripts with hardcoded hack references. These have been addressed in #5753 and in DFHack/scripts#1569. Further investigation may still be needed.
Activity
ab9rf commentedon Mar 17, 2026
On further investigation i did find several scripts with hardcoded
hackreferences. These have been addressed in #5753 and in DFHack/scripts#1569. Further investigation may still be needed.