Mac GUI ?

383 views
Skip to first unread message

Francis Codron

unread,
May 18, 2018, 4:11:29 AM5/18/18
to LCZero
Hello,

Anybody managed to get a GUI working on a Mac ? For playing against lczero, analysis etc.

The client for self-play is working well (8 games sent already, macbook pro 2013 on CPU...).

I use Hiarcs chess explorer as my database / playing software ; but when trying to add the lczero executable I get a "not a valid UCI engine" error message.

Thanks for any help,

Francis

François Pays

unread,
May 18, 2018, 5:37:57 AM5/18/18
to LCZero
I was able to use lczero with Deep Shredder 12 for macOs.
But this is commercial software.

Ric Pan

unread,
May 18, 2018, 8:50:38 AM5/18/18
to LCZero
Hi, yes, I regularly play with the latest versions of Leela on a Mac and with Hiarcs Chess explorer. Indeed, for it to work there are some preliminary steps to do with the lczero executable, otherwise I get the same error message you mentioned:
1) on the Terminal, I have first to start the lczero executable (./lczero). This somehow "initializes" the program.
2) then I gave the "uci" command to the executable, so that it responded "uciok".
3) Close the Terminal.

After that, I was able add the engine to Hiarcs without problems. Steps 1) to 3) are just needed once (that is, once for every new version of the executable of course).
By the way, when I change network (the "weights.txt" file), I'd first remove the engine from Hiarcs, and then add it again, just to be sure.

Hope this works,
Ric

Ric Pan

unread,
May 18, 2018, 8:52:11 AM5/18/18
to LCZero
P.S. make sure the lczero and weights.txt files are in the same folder...

Jeremy Zucker

unread,
May 18, 2018, 10:21:17 AM5/18/18
to Francis Codron, LCZero
Try Scid vs Mac. Following the instructions here worked for me

--
You received this message because you are subscribed to the Google Groups "LCZero" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lczero+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lczero/d783ad6c-ff42-4ee1-bbe8-d61acd37fdbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Francis Codron

unread,
May 18, 2018, 5:12:50 PM5/18/18
to LCZero
Thanks a lot,

I finally got it to work with Hiarcs, after a number of tries. As you said, important steps seemed 
1) put weights.txt in the same folder as lczero executable. After this, lczero was recognised as a UCI engine (no more "not valid" error message).
2) Analysis of a position did not start first try, but I could run an engine vs engine match inside Hiarcs (lczero as black), and after that analysis worked normally...maybe another way to "initialise" things ? (Does not seem that we can add command-line options like -uci in Hiarcs)
Note that lczero had run before with the self-play client.

We'll see how it works if / when I update the weights or executable...

Francis 

Brandon Harris

unread,
May 18, 2018, 8:30:19 PM5/18/18
to LCZero
Thanks from a fellow Hiarcs user for posting this!
Reply all
Reply to author
Forward
0 new messages