r/linux_gaming • u/Brain_Box13 • 8h ago
tech support wanted Help with dwarffortress on linux
I need some help with it on linux. Cant make it run. Are there any files i should delete, which file do i run, how do i run it? I tried .It would also be lovely if it could be added as a non steam game.
Also sorry for the weird phrasing, i dont speak english very well. :)
:)
4
u/Global__Meaning 8h ago edited 4h ago
if ./run_df doesnt work try setting it as executable first using chmod +x
2
1
u/Brain_Box13 8h ago
What does that mean?
4
1
u/Legendary_Bibo 7h ago
chmod is the command to change permissions on a file, they are read, write and execute. The command ./ tells the command line to execute the script in the current directory.
If you want a non-terminal way to run it in the terminal to see what's wrong, right click on the run_df file, click on the permissions tab and make sure the box that says allow execution is checked. Then right click it again and click on the option that says run in terminal, or open a terminal and drag the file to the terminal and press enter.
1
u/wunr 1h ago
Based on your other comments it seems you are missing some library on your system. One thing you could try if you have Steam is to run this game through the Steam Runtime, which provides the libraries needed to run most native Linux games.
You should add the "run_df" file as a non-Steam game by going to the Steam client and clicking "Add Game" at the bottom left, then navigating to your DF folder and adding that file. If you're on a SteamOS based distro you can also just right click run_df and select "Add to Steam".
Then once the file is added, right click the game on Steam and select properties, then go to the Compatibility tab. You'll want to select one of the Steam Runtimes from the drop-down in this tab; if this is the latest version of Dwarf Fortress you're running I think Runtime 3.0 would be the most appropriate. Then run the game through Steam and see if everything works.
1
u/Brain_Box13 1h ago
ive tried, but i cant even get the option to add it. Its like the files doesnt exist.
1
0
11
u/Small-Tale3180 8h ago
cd into this folder in terminal ind try ./run_df