ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

good macintosh guy for UCI engine development
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
H.G.Muller



Joined: 10 Mar 2006
Posts: 12765
Location: Amsterdam

PostPost subject: Re: good macintosh guy for UCI engine development    Posted: Wed Jan 25, 2012 5:51 pm Reply to topic Reply with quote

UCI2WB is open source, ( http://hgm.nubati.net/cgi-bin/gitweb.cgi ), and compiles on Windows as well as Linux. I suppose you should haev no difficulty compiling it for Mac.

The easiest way to get rid of the fairymax error message is to actually install fairymax. I am not sure things like "apt-get install" work on a Mac-Intosh, but the XBoard binary package for Mac that is available from WinBoard forum should come with Fairy-Max pre-installed. (And probably also Mac binaries for Polyglot and UCI2WB).

Another way would be to edit the master settings file (on Linux /etc/xboard.conf) and change the -firstChessProgram setting from fairymax to another engine, or define -ncp mode to start without engine.

To run a UCI engine with UCI2WB from the command line, you could use

xboard -fcp "UCI2WB ENGINECOMMAND ENGINEFOLDER"

where ENGINEFOLDER is optional. (On Linux engines typically know where to find their own files.) Note that UCI2WB should be in your path, i.e. you should be able to type it from the command line. (If you put it in the current directory, you would have to give the command ./UCI2WB to run it.)

Normally XBoard is configured to automatically invoke Polyglot (for the first engine) when you use the argument -fUCI, or tick UCI in the Load Engine dialog. To configure it for using UCI2WB in stead, you would have to run it one time with the option

xboard -adapterCommand "UCI2WB %fcp %fd"

After that, use of -fUCI on an engine would automatically invoke UCI2WB. So you should be able to run, say, Fruit by

xboard -fcp fruit -fUCI

You could also just startup XBoard, select Engine->Load Engine, type "fruit" for engine command, tick UCI, and click OK to load Fruit (and next time you could then select it in that same dialog from the combobox).



To get the debug output you should start XBoard from a terminal window, by typing

xboard -debug -debugfile stderr

The debug output should then appear in the terminal window.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
good macintosh guy for UCI engine development Sam Hamilton Wed Jan 25, 2012 2:57 pm
      Re: good macintosh guy for UCI engine development Evert Glebbeek Wed Jan 25, 2012 3:04 pm
            Re: good macintosh guy for UCI engine development Sam Hamilton Wed Jan 25, 2012 5:00 pm
                  Re: good macintosh guy for UCI engine development Evert Glebbeek Wed Jan 25, 2012 8:38 pm
                        Re: good macintosh guy for UCI engine development H.G.Muller Wed Jan 25, 2012 10:19 pm
                              Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 12:58 am
                                    Re: good macintosh guy for UCI engine development H.G.Muller Thu Jan 26, 2012 6:57 am
                                          Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 9:04 am
                                                Re: good macintosh guy for UCI engine development H.G.Muller Thu Jan 26, 2012 9:15 am
      Re: good macintosh guy for UCI engine development H.G.Muller Wed Jan 25, 2012 3:09 pm
            Re: good macintosh guy for UCI engine development Sam Hamilton Wed Jan 25, 2012 5:17 pm
                  Re: good macintosh guy for UCI engine development Miguel A. Ballicora Wed Jan 25, 2012 5:27 pm
                  Re: good macintosh guy for UCI engine development H.G.Muller Wed Jan 25, 2012 5:51 pm
                  Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 6:18 am
                        Re: good macintosh guy for UCI engine development Andy Duplain Thu Jan 26, 2012 10:23 am
                        Re: good macintosh guy for UCI engine development Sam Hamilton Thu Jan 26, 2012 2:30 pm
                              Re: good macintosh guy for UCI engine development Robert Purves Thu Jan 26, 2012 9:55 pm
                                    Re: good macintosh guy for UCI engine development Andy Duplain Fri Jan 27, 2012 7:42 am
                                          Re: good macintosh guy for UCI engine development Evert Glebbeek Fri Jan 27, 2012 8:24 am
                                                Re: good macintosh guy for UCI engine development Sam Hamilton Fri Jan 27, 2012 9:44 am
                                                      Re: good macintosh guy for UCI engine development H.G.Muller Fri Jan 27, 2012 1:19 pm
                                                      Re: good macintosh guy for UCI engine development Andy Duplain Fri Jan 27, 2012 8:04 pm
                                                            Re: good macintosh guy for UCI engine development Robert Purves Fri Jan 27, 2012 10:40 pm
                                                                  Re: good macintosh guy for UCI engine development Sam Hamilton Sat Jan 28, 2012 6:10 am
                                                                        Re: good macintosh guy for UCI engine development Sam Hamilton Mon Jan 30, 2012 8:01 am
                                                Re: good macintosh guy for UCI engine development Andy Duplain Fri Jan 27, 2012 8:06 pm
      Cautionary note Steven Edwards Mon Jan 30, 2012 9:04 am
            Re: Cautionary note H.G.Muller Mon Jan 30, 2012 9:31 am
                  Re: Cautionary note Evert Glebbeek Mon Jan 30, 2012 10:11 am
            Re: Cautionary note Evert Glebbeek Mon Jan 30, 2012 10:08 am
                  Re: Cautionary note Steven Edwards Mon Jan 30, 2012 1:42 pm
                        Re: Cautionary note Jon Dart Mon Jan 30, 2012 5:10 pm
            Re: Cautionary note Ian Osgood Tue Jan 31, 2012 3:00 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads