Polyglot + Rybka not working

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

Moderator: Ras

Audmeister
Posts: 135
Joined: Sun Jun 01, 2008 9:38 am

Polyglot + Rybka not working

Post by Audmeister »

I have done it before, using rybka online under polyglot... now when I open up the .bat file, it just opens and exits....

How do I see a debug with polyglot? so i can possibly post here to see if there is any problems.

Here is the .bat file I have and the .ini file



.ini file

[PolyGlot]

EngineDir = C:\Program Files (x86)\WinBoard\Polyglot\Rybka\
EngineCommand = Rybka 3.exe

Book = true
;;Indicates whether a PolyGlot book should be used. This has no effect on the engine own book (which can be controlled with the UCI option "OwnBook" in the [Engine] section).
BookFile = C:\Documents and Settings\Administrator\Desktop\scid_exp\bin\books\ginormous.bin


[Engine]
Hash=32
Max CPUs=2048
NalimovPath=<empty>
NalimovCache=1
NalimovUsage=Rarely
Preserve Analysis=false
Saved Hash File=<empty>
Persistent Hash Enabled=false
Persistent Hash File=<empty>
Persistent Hash Play Depth=64 min 8 max 64
Persistent Hash Write Depth=10 min 8 max 64
Persistent Hash Size=16 min 8 max 65536
Persistent Hash Merge File=<empty>
Ponder=false
MultiPV=1 min 1 max 100
MultiPV_cp=32768 min 0 max 32768
Contempt Play=15 min -250 max 250
Contempt Analyze=0 min -250 max 250
UCI_LimitStrength=false
UCI_Elo=1200 min 1200 max 2400
UCI_EngineAbout=www.rybkachess.com
Time Buffer=0 min 0 max 900



.bat file

REM --
REM -- wbrecon.bat
REM -- Start WinBoard in Zippy mode, and restart it each time it exits.
REM -- Add or change parameters as needed for your application.
REM --
:loop
start /w winboard -zp -fd="C:\program files (x86)\winboard\polyglot" -fcp "polyglot.exe rybka.ini" -ics -icshost=freechess.org -icshelper=timeseal -icslogon=rybkaics.ini
goto loop

Oh and I am using WinBoard 4.3.14j.. if it matters
User avatar
Peter Skinner
Posts: 1763
Joined: Sun Feb 26, 2006 1:49 pm
Location: Edmonton, Alberta, Canada
Full name: Peter Skinner

Re: Polyglot + Rybka not working

Post by Peter Skinner »

Here is my bat file for FICS:

REM -- Azkikr on FICS
:loop
"D:\Chess\Winboard\winboard.exe" -zp -ics -icshost freechess.org -icshelper timeseal.exe -fd D:\Chess\Polyglot1 -fcp "polyglot Hiarcs12mp.ini" -icslogon Az.ini
goto loop

Works just fine here...
I was kicked out of Chapters because I moved all the Bibles to the fiction section.
Audmeister
Posts: 135
Joined: Sun Jun 01, 2008 9:38 am

Re: Polyglot + Rybka not working

Post by Audmeister »

Thanks for the reply!

But I tried that setup, and it would just do the same thing... I'm thinking it is the engine itself getting booted or something?!

I really don't know what it is, but I was wondering if there is a debug command so I or we could look at it and see what is wrong.
Gian-Carlo Pascutto
Posts: 1260
Joined: Sat Dec 13, 2008 7:00 pm

Re: Polyglot + Rybka not working

Post by Gian-Carlo Pascutto »

Polyglot can log all communication with the engine. How to enable it is described in the docs...
Charles B.

Re: Polyglot + Rybka not working

Post by Charles B. »

Audmeister wrote:
EngineDir = C:\Program Files (x86)\WinBoard\Polyglot\Rybka\
EngineCommand = Rybka 3.exe

Possible the space in the name might be a problem?
User avatar
hgm
Posts: 28386
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Polyglot + Rybka not working

Post by hgm »

First go to the Polyglot director and check if you can run "Polyglot Rybka.ini" from the command line. (Typing "xboard", "protover 2", "post", "new" and "go" to it to see if the engine starts running.)

Then at least you will know if this is a Polyglot problem or a WinBoard problem.
Audmeister
Posts: 135
Joined: Sun Jun 01, 2008 9:38 am

Re: Polyglot + Rybka not working

Post by Audmeister »

Yes that would be a good idea, except I do not know how to do that :oops:

Could you take me step by step on how to do so?

I know to go in the Polyglot directory. Do I open up polyglot.exe and type xboard", "protover 2", "post", "new" and "go"?

When I did that it gives me...

feature done =0
feature analyze=1
feature colors=0
feature draw=1
feature ics=1
feature myname="Glaurung"
feature name=1
feature pause=0
feature ping=1
feature playother=1
feature reuse=1
feature san=0
feature setboard=1
feature sigint=0
feature sigterm=0
feature time=1
feature usermove=1
feature variants="normal,fischerandom"
feature done=1

I don't see what that does :?

I am not a programmer or anything like that so please bare with me :)
Audmeister
Posts: 135
Joined: Sun Jun 01, 2008 9:38 am

Re: Polyglot + Rybka not working

Post by Audmeister »

I tried both ways, unfortunately it didnt work...

I have worked it before, I dont know why it decides to stop working.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Polyglot + Rybka not working

Post by Guenther »

Audmeister wrote:Yes that would be a good idea, except I do not know how to do that :oops:

Could you take me step by step on how to do so?

I know to go in the Polyglot directory. Do I open up polyglot.exe and type xboard", "protover 2", "post", "new" and "go"?

When I did that it gives me...

feature done =0
feature analyze=1
feature colors=0
feature draw=1
feature ics=1
feature myname="Glaurung"
Well that certainly doesn't look like you are starting with a 'real' Rybka.ini ;-)

Guenther