xboard - set name of engines?

Discussion of chess software programming and technical issues.

Moderator: Ras

cyberfish

xboard - set name of engines?

Post by cyberfish »

Just a quick question -

For xboard protover 1 engines, is it possible to set names for them with command line arguments?

The default is to use the name of the binary, but I run them through "nice"... and now they are all called "nice" in my PGN.

Thanks
MattieShoes
Posts: 718
Joined: Fri Mar 20, 2009 8:59 pm

Re: xboard - set name of engines?

Post by MattieShoes »

I don't think engines specified their names before protover 2 but I'm not positive. I'm sure somebody else can give you a more definite answer... Perhaps one could work around with with a shell script with a better name that runs nice blah...
User avatar
hgm
Posts: 28447
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: xboard - set name of engines?

Post by hgm »

I don't think there is anything like that.

But there is no need to run them through nice in the latest alpha version, as this supports an option -niceEngines N to lower the priority of the engine processes.

The source can be obtained from:

http://home.hccnet.nl/h.g.muller/xboard44.zip

(Please, only for people that want to use it immediately, as in a few hours it will already be obsolete an replaced by a newer version.)
krazyken

Re: xboard - set name of engines?

Post by krazyken »

This reminds me of a slight cosmetic bug in Xboard. Sometimes when an engine takes too long to initialize or something, the the name of the engine is missed and the executable name is used in the window title. Not a big deal, it shows up fine in the engine output window. The part that annoys me about this is that the name is not properly recorded in the pgn file. It will use the executable name like it does for the window title.
Image
cyberfish

Re: xboard - set name of engines?

Post by cyberfish »

Thanks.

I think I'm going to go down the shell script route, since it's a more general solution (also works for "wine" for example).