Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011672Dwarf FortressTechnical -- Generalpublic2021-01-09 02:192021-01-10 13:51
Reporterpanda42 
Assigned Tolethosor 
PriorityurgentSeverityblockReproducibilityhave not tried
StatusresolvedResolutionno change required 
Platform?OSMacOS Version10.14.6 (Mojave)
Product Version0.47.04 
Target VersionFixed in Version 
Summary0011672: The df command does not work
Descriptionopening the df command simply creates this text:
#!/bin/sh
PWD=`dirname "${0}"`
#thanks to Iriel for figuring this out
OSREV=`uname -r | cut -d. -f1`
if [ "$OSREV" -ge 11 ] ; then
    export DYLD_LIBRARY_PATH=${PWD}/libs
    export DYLD_FRAMEWORK_PATH=${PWD}/libs
else
    export DYLD_FALLBACK_LIBRARY_PATH=${PWD}/libs
    export DYLD_FALLBACK_FRAMEWORK_PATH=${PWD}/libs
fi
cd "${PWD}"
if grep -q '\[PRINT_MODE:TEXT\]' data/init/init.txt ; then
    ./dwarfort.exe "$@"
else
    ./dwarfort.exe "$@" &
fi



Then nothing happens. Do i need an app to run this or is there a problem with the command line? i have nothing installed on my mac other than steam games and everything in the df folder because i just cleaned up my mac. I have tried to download the game again (vanilla version which i was using before)but same problem.
I should also mention last time i was using df, i accidentally unplugged my mac so it crashed. after that i cleand up my mac and then tried to launch df, but it didn't work.
Steps To Reproducedelete everything outside the df folder and run the command. obviously don't.
Additional Informationfile:///Users/mojave/Desktop/Screenshot%202021-01-09%20at%2009.31.30.png [^]
link to screenshot of my df folder and the command running
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0040852)
Ziusudra (reporter)
2021-01-09 10:12
edited on: 2021-01-09 11:30

Unfortunately we cannot see the screenshot on your computer. You'll have to upload it to an image hosting site, like imgur.com, and post the link to that.

Edit: or you can link to the discord upload: https://cdn.discordapp.com/attachments/580417881385467914/797397529477775360/Screenshot_2021-01-09_at_09.31.30.png [^]

(0040853)
Ziusudra (reporter)
2021-01-09 11:29

Anyway, your computer is openning the script for editting as a text file rather than running it as a script. On discord you say you "deleted terminal" - if you broke some thing with the OS you're gonna hav to sort that out. (https://discord.com/channels/329272032778780672/580417881385467914/797409876677623808 [^])

If you didn't break your OS, you could try redownloading and extracting the game. You could also try using one of the starter packs for Mac.
(0040855)
lethosor (manager)
2021-01-10 13:50

You need to open this file with a terminal, yes. Try right-clicking on it and selecting "open with" to see if "Terminal" is listed. If you've configured executable files like the "df" script to open in a text editor, or if you have deleted your Terminal application, you will need to undo those things somehow, but there is unfortunately nothing that can be done on the DF side to fix those things.

- Issue History
Date Modified Username Field Change
2021-01-09 02:19 panda42 New Issue
2021-01-09 10:12 Ziusudra Note Added: 0040852
2021-01-09 11:09 Ziusudra Note Edited: 0040852 View Revisions
2021-01-09 11:29 Ziusudra Note Added: 0040853
2021-01-09 11:30 Ziusudra Note Edited: 0040852 View Revisions
2021-01-10 13:50 lethosor Note Added: 0040855
2021-01-10 13:51 lethosor Status new => resolved
2021-01-10 13:51 lethosor Resolution open => no change required
2021-01-10 13:51 lethosor Assigned To => lethosor


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker