XBoard bitmaps problem.

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

XBoard bitmaps problem.

Postby GiorgosK » 18 Sep 2014, 19:01

Hi! :D

I'm using the latest XBoard with latest Crafty, at OpenSUSE 13.1 x64 KDE.
I was trying to use Montauk pieces with XBoard.
I unzipped them to /usr/share/games/xboard/themes/ and I entered the path, at View -> Board -> Directory -> (path) -> OK.
(Or alternatively set -pieceImageDirectory "/usr/share/games/xboard/themes/xboard/alpha/montauk/" at ~/.xboardrc.

However, nothing was happened.
This setting, doesn't seems to work.

I also tried unzipping the bitmaps at my home directory (instead of /usr/share/games/xboard/themes/), with no visible difference.
Does someone knows, any details about that?

TIA! :D
Giorgos.
GiorgosK
 
Posts: 9
Joined: 18 Sep 2014, 15:53

Re: XBoard bitmaps problem.

Postby H.G.Muller » 18 Sep 2014, 21:26

The only Google hit I got for Montauk + Chess pieces led me to .xpm piece images.

XBoard does not support .xpm anymore. The only formats that are still supported are PNG and SVG. If it cannot find any SVG in the directory you specify it tries to find PNG, and if that doesn't work it falls back on its default SVG images. You could try to convert the .xpm to .png, e.g. through the command

convert k72ll.xpm WhiteKing.png

(and 11 similar commands for the other pieces), so that you at least have them in png format for 72x72 squares. XBoard could then use those for 72x72 (where they should give exactly the same result as you are used to for the XPM), and can scale them to nearby sizes without too much loss of quality (unlike SVG, PNG cannot be scaled to any size without getting very ugly). Or you could repeat the conversion process for other size bitmaps (putting them in another directory, as the image files now have the same name for all sizes), and use that directory as -pid when you run XBoard with that board size.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: XBoard bitmaps problem.

Postby GiorgosK » 18 Sep 2014, 23:46

MANY THANKS!!! :D
I'll try that.
"For the glorious men, every land is a grave". Pericles' Funeral Oration.Thucydides.
GiorgosK
 
Posts: 9
Joined: 18 Sep 2014, 15:53


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 2 guests