Closed txtsd closed 1 year ago
I can't see why DF_DIR wouldn't be pointing to the actual DF directory - it's defined in df
and dfhack
, which definitely use it to locate libraries properly.
Should I close this? It's been open for years now :sweat_smile:
Didn't realize there was no activity on this repo for years
https://dwarffortresswiki.org/index.php/Utility:Lazy_Newb_Pack has a couple newer maintained packs. For what it's worth, I still don't understand why this change was needed, hence my comment above, and further investigation might have helped get it merged.
Thanks for the link and info.
Like the OP says though, I was trying to run df
and dfhack
from different directories for whatever reason at the time. And it only worked as intended after I made this change. In retrospect, I should've attached the error message. I had only been using Linux full-time for a year when I made this PR, so my Linux-fu in general must've been weak if it works as intended without my change.
distro_fixes.sh
would not find the Dwarf_Fortress executable if run from any folder other than the one in which thedf
anddfhack
script anddistro_fixes.sh
was located in. Only./df
and./dfhack
would make it work. With this you can rundf
anddfhack
from any folder level eg:../../dfhack
orherp/derp/df