computerchess on apple

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: computerchess on apple

Post by JoshPettus »

I take it you re downloaded the app, just now and it still says that....

Hmm, really got me.

I'm sure it is, but could you right click on the Xboard.app and click "open package contents" and verify that polyglot is in the Contents/Resources/bin folder? Maybe double click it see if a terminal pops up to try to execute it (it will fail without the .ini of course, but at least make sure it's there and able to run)

If push comes to shove, I can specify everything specifically, but it's a shame it's not working the way it is. :(
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: computerchess on apple

Post by hgm »

It is really strange that it does work on your own machine, but not on Thorstens's. Are you sure that when you test it on your machine, it is using the Polyglot from the App, and not some other Polyglot that you inadvertantly still have in a directory in your search path, which is searched before the App? This could mask the problem.
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: computerchess on apple

Post by JoshPettus »

Yah, I outright removed it. And typed polyglot in the Terminal to be sure
User avatar
mclane
Posts: 19027
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: computerchess on apple

Post by mclane »

I Downloaded your xboard stuff,
Before I installed I deleted the old versions and copy pasted the terminal
Commands to erase the config.

Before I had downloaded stockfish and I took Komodo and both copied them
Onto my HDD into a directory called schach.

I then started your app and tried to install it.
Is it right that I have to click on the button next to command and show the program where the file is ?

Or how to install it ?

In windowsno matter if you use shredder, hiarcs , arena or chess base GUIs, even on android under aart biks chess, you install an UCI by showing the app where the exe is you want to install. That's it.

You don't have to care for much else. After it is installed you can later setup the parameters e.g, thread 1,2 or 4 or the hash size or the path of opening books or table bases.

Guys I made this my whole life under windows or android with thousands of executables.

I never had an apple, why is this so difficult ???
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: computerchess on apple

Post by JoshPettus »

It's difficult because it's Beta, and I haven't worked out all the kinks. I appologize :( (But I promise, once it works it's easy)

I just need to be sure if polyglot even executes on your system. Could you open up Xboard.app by right clicking on it, and selecting "open package contents" then navigating to Contents/Resources/bin folder and double clicking on polyglot. It will open up a terminal and should say


Code: Select all

/Whatever/XBoard.app/Contents/Resources/bin/polyglot ; exit;
PolyGlot 2.0.1 by Fabien Letouzey.
tellusererror POLYGLOT: main(): Can't open config file "polyglot.ini": No such file or directory
logout

[Process completed]
User avatar
mclane
Posts: 19027
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: computerchess on apple

Post by mclane »

JoshPettus wrote:It's difficult because it's Beta, and I haven't worked out all the kinks. I appologize :( (But I promise, once it works it's easy)

I just need to be sure if polyglot even executes on your system. Could you open up Xboard.app by right clicking on it, and selecting "open package contents" then navigating to Contents/Resources/bin folder and double clicking on polyglot. It will open up a terminal and should say


Code: Select all

/Whatever/XBoard.app/Contents/Resources/bin/polyglot ; exit;
PolyGlot 2.0.1 by Fabien Letouzey.
tellusererror POLYGLOT: main(): Can't open config file "polyglot.ini": No such file or directory
logout

[Process completed]
Hi Joshua , my problem is that I have no experience with Mac and apple.
I just bought this for fun and thought, let's try out something different,
So whatever I do, I am a beginner and have no clue about the difference between windows / android and apple machines.

I guess somebody who has his apple machine for years could be a better help for you .

I will try it Joshua.


it says exacltly like you said:

Code: Select all

Last login: Mon Sep 22 18:59:44 on ttys000
users-Mac-mini:~ user$ /Volumes/Xboard-4.8beta-OSX/XBoard.app/Contents/Resources/bin/polyglot ; exit;
PolyGlot 2.0.1 by Fabien Letouzey.
tellusererror POLYGLOT: main(): Can't open config file "polyglot.ini": No such file or directory
logout

[Prozess beendet]
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: computerchess on apple

Post by JoshPettus »

Thats a good sign, though doesn't explain why it doesn't find polyglot. I'll have to put it in explicitly.

Thanks for your help!
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: computerchess on apple

Post by hgm »

Is there an easy way to check if the App bundle is in the search path? I suppose that if XBoard is supposed to start Polyglot with a plain "polyglot" command, then typing "polyglot" from a terminal would also work. Or would you first have to change to the directory Polyglot is in, before you can start it that way? If that is the case, there might be something wrong with the bundle path.
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: computerchess on apple

Post by JoshPettus »

Well $bundle_bin is only in path for the instance where xboard is running. I suppose I'll just add -polyglotdir and the ./prefix. Should be fine.
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: computerchess on apple

Post by JoshPettus »

Ok so here is a new build. This time polyglot is specified directly.

https://www.dropbox.com/s/m5e8dh3o6ms33 ... X.dmg?dl=0

I'm afraid this means you will have to remove the user conf again. :(

Code: Select all

rm ~/Library/Preferences/Xboard.conf