Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with Linux TEXTMODE  (Read 715 times)

soupcan

  • Bay Watcher
    • View Profile
Help with Linux TEXTMODE
« on: April 25, 2010, 01:43:36 pm »

I'd like to run DF in PRINT_MODE:TEXT through xterm. I get a substantial FPS boost (~20fps) when I do, but the game is pretty much unplayable as none of my fonts seem to have the characters DF needs. I just found this, and I hoped that I could use one of those to play. However, DF continues to display like this:
Spoiler (click to show/hide)
Gameplay appears the same:
Spoiler (click to show/hide)
Judging by the screenshots provided by elvang, this is not the intended behavior. Example of the font I'd like to use:
Spoiler (click to show/hide)
My xterm font seems to be set to anikki_8x8 correctly. Any suggestions? Should this be in the d19 thread?
Logged

Jamp

  • Bay Watcher
    • View Profile
Re: Help with Linux TEXTMODE
« Reply #1 on: April 25, 2010, 01:49:30 pm »

You could try urxvt, it works for me and few other people.
Logged

Adeon

  • Bay Watcher
  • Obey.
    • View Profile
Re: Help with Linux TEXTMODE
« Reply #2 on: April 25, 2010, 01:57:31 pm »

This is not a font issue. You are probably using a DF version linked with ncurses (as opposed to ncursesw) which doesn't work properly with common encodings like UTF-8.

Download the linux 40d19 package, and then install 40d19-HEAD on top of it, which will link to ncursesw.

E.g.:
Code: [Select]
$ tar -xjf df_28_181_40d19_linux.tar.bz2
$ tar -xjf df-40d19-head.tar.bz2

Probably your terminal and locale should also be set to UTF-8.
Logged
I make dead people. Dfterm3

soupcan

  • Bay Watcher
    • View Profile
Re: Help with Linux TEXTMODE
« Reply #3 on: April 25, 2010, 02:05:05 pm »

This is not a font issue. You are probably using a DF version linked with ncurses (as opposed to ncursesw) which doesn't work properly with common encodings like UTF-8.

Download the linux 40d19 package, and then install 40d19-HEAD on top of it, which will link to ncursesw.

E.g.:
Code: [Select]
$ tar -xjf df_28_181_40d19_linux.tar.bz2
$ tar -xjf df-40d19-head.tar.bz2

Probably your terminal and locale should also be set to UTF-8.
AH-HA! That was it. The df_head didn't extract properly the first time, so the link to ncursesw must not have existed. Thanks, I'd never have checked that without this post. Fixed.
Logged