Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Graphical Errors with TEXT in linux  (Read 1735 times)

d00nut

  • Escaped Lunatic
    • View Profile
Graphical Errors with TEXT in linux
« on: February 09, 2012, 04:18:04 pm »

Howdy!
I just recently got DF running on a VPS through a putty SSH connection.  However i noticed some graphics errors that are very distracting and i was wondering if there was a way to fix it.
The over world map just looks wrong, simple as that.  On the over world there are elevation change indicators etc.  Basically there are some issues.

I already tried running DF through screen using the -U argument.  I tried using the "square" .bmp fonts as well.  I also tried getting Phoebus's prewrapped linux version.  However i got the error that graphical tilesets can't be used int TEXT mode.

TL;DR I am looking for a way to fix some graphics errors when running in TEXT mode through a putty SSH connection. 
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Graphical Errors with TEXT in linux
« Reply #1 on: February 09, 2012, 04:27:30 pm »

If you're running in TEXT mode, then whatever tileset BMP you specify is ignored.

Also, you included the wrong URL for your screenshots.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

d00nut

  • Escaped Lunatic
    • View Profile
Re: Graphical Errors with TEXT in linux
« Reply #2 on: February 09, 2012, 06:26:11 pm »

Hm, so is there any way to fix the graphics or is it kind of the downfall of playing the linux version?

also the images
Spoiler (click to show/hide)
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Graphical Errors with TEXT in linux
« Reply #3 on: February 09, 2012, 07:48:31 pm »

It looks like your terminal isn't set to the proper character set - when running Dwarf Fortress in TEXT mode, you must set it to UTF-8.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

d00nut

  • Escaped Lunatic
    • View Profile
Re: Graphical Errors with TEXT in linux
« Reply #4 on: February 09, 2012, 08:36:15 pm »

I think you were right i set putty to UTF-8 and it fixed some of the random garble characters that i was seeing.

However the game continues to look strangely, once i started playing i think i realized why.  Any character that is "special" is not being drawn, so elevation changes, trees, bushes, stock pile items etc.  Is that just what TEXT mode does? it seems strange that those old ascII wouldn't be displayed...

Spoiler (click to show/hide)

In this screenshot the highlighted bricks should be gathering plants and trees.  On the right side of the stock pile you can see a little grouping of black tiles, that is supposed to be some various plants and seeds etc.

I hate to keep pestering about minor graphic issues but it does make it much more difficult to have to guess where things are in my stock piles by looking at each tile one by one etc. 
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Graphical Errors with TEXT in linux
« Reply #5 on: February 10, 2012, 04:32:45 pm »

You need to make sure you've got a font that contains all of those characters - PuTTY's default font might not have them.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Graphical Errors with TEXT in linux
« Reply #6 on: February 10, 2012, 04:56:09 pm »

Aye on the font, but also PuTTY is kind of funky with DF. I've never gotten it to work.

It generally works great on a Linux terminal/ssh client; the terminal doesn't know DF is remote, and ssh just passes through binary data without modifying it. Windows is just.. not quite made for this.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Graphical Errors with TEXT in linux
« Reply #7 on: February 10, 2012, 08:38:50 pm »

I just got DF working correctly through PuTTY. Here's what I had to do:

1. Before running Dwarf Fortress, `export LC_ALL=en_US.utf8` (or equivalent) - make sure the remote terminal is using the correct locale + character set.
2. In PuTTY options, go to Window -> Translation, then set charset to UTF-8.
3. In PuTTY options, go to Window -> Appearance, then select a TrueType (or OpenType) font such as Courier New or Lucida Console - bitmap fonts such as Courier/Fixedsys lack the extended characters, and PuTTY doesn't seem to properly handle OEM fonts (such as Terminal) in this configuration.
4. In PuTTY options, go to Terminal -> Keyboard and set Function Keys mode to either "Xterm R6" or "VT100+" or hotkeys won't work.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.