Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarf Fortress on Linux without Xorg  (Read 2045 times)

UristMcLurker

  • Bay Watcher
    • View Profile
Dwarf Fortress on Linux without Xorg
« on: August 05, 2012, 01:54:17 pm »

Hello!

I've been playing around with DF for a while, and want to install it on my netbook so that I can ignore the missus and torture gobbins even when we're out of the house.

The problem is that DF seems to need Xorg to be able to run.

I intend to run the game in text-mode, and I've successfully run it with Xorg installed, but due to a few dependency-related issues, I had to uninstall it again.

The question is: Is it possible to run DF with print mode text without having Xorg installed?

For the record, I'm running Debian stable.
Logged

KaminaSquirtle

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #1 on: August 05, 2012, 02:56:45 pm »

DF links to a bunch of X libs, so, lamentably, the answer to your question would be no.  :-\
Logged

UristMcLurker

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #2 on: August 05, 2012, 03:05:33 pm »

Darn! I was afraid that was the answer. :(

Thanks anyway!
Logged

UristMcLurker

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #3 on: August 05, 2012, 04:25:11 pm »

Actually, It can be done with xvfb, which can emulate the needed stuff without installing xorg. I just got it running, but wouldn't have been able to do it without your hint. Cheers! 8)
Logged

KaminaSquirtle

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #4 on: August 05, 2012, 06:08:52 pm »

Ah, my apologies. I had actually encountered that solution, but had figured that you wanted to get by without installing any X11 stuff at all. >.> Glad you got DF working to your liking!
Logged

acetech09

  • Bay Watcher
  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #5 on: August 06, 2012, 12:16:57 am »

DF via wine works like a dream.
Logged
I challenge you to a game of 'Hide the Sausage', to the death.

UristMcLurker

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #6 on: August 06, 2012, 05:47:24 am »

Ah, I should have been more specific - I'm running off a 4 GB drive and regularly use a few apps that freak out and demand 3 GB of libs and other crap whenever they detect Xorg. Subsequently, I need to run without Xorg, not X11 itself. :)

Wine, as good as it is, unfortunately won't work - I want to run with print mode:text, which can't be done with the Windows version. :(
Logged

acetech09

  • Bay Watcher
  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #7 on: August 06, 2012, 07:17:45 pm »

I wish the text print mode worked still on macs, at least. It was really cool.
Logged
I challenge you to a game of 'Hide the Sausage', to the death.

calrogman

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #8 on: August 06, 2012, 09:21:04 pm »

DF links against several X-related libraries, but it does not require an X server be installed.  The libraries can be installed separately.  Once they are, change the render mode to TEXT and set a console font with CP437 characters.

Thusly, to run DF on i386 Debian Unstable, it is sufficient to install the following packages.

Installing on amd64 is somewhat complicated by the need for i386 libraries.  Either download the required i386 libraries and extract them into df_linux/libs/ or configure multiarch and install them alongside your system libraries.

Alternatively, pester Toady for an amd64 build of Dwarf Fortress and hope he gets around to that before the heat death of the universe.
« Last Edit: August 07, 2012, 01:44:14 am by calrogman »
Logged

UristMcLurker

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress on Linux without Xorg
« Reply #9 on: August 07, 2012, 08:59:53 am »

All I needed

A virtual hat's off to you, good Sir!
Logged