Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to start the games in console/terminal?  (Read 419 times)

roysubs

  • Escaped Lunatic
    • View Profile
How to start the games in console/terminal?
« on: January 26, 2025, 12:32:24 pm »

Hi,

I want to run Dwarf Fortress on a terminal (i.e. without graphics) in Debian. If this is the wrong area, sorry, but as this place says ASCII, it seems appropriate. I am connected to a headless Debian system via ssh from Windows Terminal on Windows. I downloaded Dwarf Fortress Classic, but it seems to need compilation, but there is no Makefile, and no instructions on how to compile on the page or in the archive.

- How can I compile Dwarf Fortress Classic to run on a Debian console only without graphics?
- How do I start the game? If I do "sudo apt install dwarf-fortress" something installs, but then I get the following
boss@hp2:~$ dwarf-fortress
Display not found and PRINT_MODE not set to TEXT, aborting.
boss@hp2:~$ export PRINT_MODE=TEXT
boss@hp2:~$ dwarf-fortress
Display not found and PRINT_MODE not set to TEXT, aborting.


So far, all of my attempts result in errors like the above (as above, I tried to set it to TEXT, but still won't start). I've also searched this forum and around the internet, still not found how to start this game on the console; any help would be great?

Also: What is the easiest way to get and run Kobold Quest and Squiggles on Debian?

Many thanks,
Roy.
Logged

Ziusudra

  • Bay Watcher
    • View Profile
Re: How to start the games in console/terminal?
« Reply #1 on: January 26, 2025, 04:20:46 pm »

Note that only versions prior to v50 can do PRINT_MODE:TEXT

To activate it you need to edit DF's config files, see:
https://dwarffortresswiki.org/index.php/DF2014:Installation#TEXT_mode
https://dwarffortresswiki.org/index.php/DF2014:Technical_tricks#Video_Card_Options
Logged
Ironblood didn't use an axe because he needed it. He used it to be kind. And right now he wasn't being kind.

roysubs

  • Escaped Lunatic
    • View Profile
Re: How to start the games in console/terminal?
« Reply #2 on: January 27, 2025, 09:04:51 am »

Thanks very much. I can't seem to find where versions prior to v50 are stored.
Could you point me to the download URL for the last pre-v50 version that exists, please?
Logged

Ziusudra

  • Bay Watcher
    • View Profile
Logged
Ironblood didn't use an axe because he needed it. He used it to be kind. And right now he wasn't being kind.