Geschrieben von:/Posted by: Clay Hofmeister at 17 August 2004 14:30:00:
Als Antwort auf:/In reply to: Re: Winboard + shredder8 + bookthinker geschrieben von:/posted by: Volker Pittlik at 17 August 2004 11:18:51:
hi all. I am having a very hard time tring to get this to work correctly.
I can get the bookthinker to load and I also see my shredder running in the background but i keep getting the error "Error: first chess program ("c:\program files\winboard\shredder8\shredder8.exe" polyglot)exited unexpectedly" right after coming out of book.
I am running a shortcut that has the commandline looking like this.
"C:\Program Files\WinBoard\winboard.exe" -zp -ics -icshost chessclub.com -fcp '"c:\program files\winboard\shredder8\shredder8.exe" polyglot' -scp c:\thinker\thinker.exe -icshelper timestamp -zippyPassword nope
my polyglot.ini file has this in it.
[Polyglot]
EngineName=Shredder8_UCI
EngineDir=c:\program files\winboard\shredder8
EngineCommand=shredder8.exe
any ideas why this is crashing?
First of all: it is running fine here. I use Shredder 7.04 but it seems S8 should run the same way. What has to be happen: Bookthinker has to be loaded first and then when it is out of book it should give control to Polyglot which should start Shredder.
...
How did you control this? Do you find something similar in your winboard.debug?
Your error message looks like as if you have started Shredder directly. Also check the second double quotes. Don't forget: Polyglot has to start Shredder and Polyglot is started by Bookthinker. Look at the line with "StartChildProces...". Bookthinker+Shredder-704 is a renamed Bookthinker. The corresponding winboard.ini line looks like this:
You have to start Bookthinker not Shredder.
If Bookthinker is out of book control must be given to Polyglot! Do you find something similar in your wb.debug?
*** Compare this line with your error message! It looks as you try to start Shredder directly. But Bookthinker has to be started which starts Polyglot what starts Shredder. ****
...
See above.
Regards
Volker
>StartChildProcess dir="d:\schach\polyglot-shredder-704")Bookthinker+Shredder-704 polyglot
>657 >first : xboard
>657 >first : new
>random
>657 >first : level 40 40 0
>657 >first : post
>657 >first : hard
>657 >first : easy
>688 <first : BookThinker 2.1b. Copyright (c) Lance Perkins
>
>"Bookthinker+Shredder-704 polyglot" /fd=d:\schach\polyglot-shredder-704 /firstProtocolVersion=1
>
>16907 >first : time 11865
>otim 11773
>16907 >first : b8a6
>17047 <second: 
>17047 <first : PolyGlot xxx by Fabien Letouzey
>52563 <first : 1 -19 5 4 Bxa6 Bxa6 dxc5 Bxf1 Kxf1
>
Ok. I was wrong. It was not starting my Shredder8 engine. I got it to work last night before I came back here and read the forms. So now I do have Shredder8 working with Bookthinker. The reason why I was getting the error message was that it was not finding polyglot.exe. I discovered this by running polyglot.exe by its self. Instead of having polylglot.exe and polyglot.ini in my sub folder where Shredder8 is. I placed both polyglot.exe and ployglot.ini in my main Winboard folder. and it worked like a champ.
But i got a new problem that is well known. I can only play one game and then its crashes. So now I need to know how to setup Bookthinker + Shredder8 using Winboard.ini so that i can use the "/secondProtocolVersion=1". I was trying to do this last night and had no luck and ran out of time. I am not able to get Bookthinker or Shredder8 to start up using the Winboard.ini. Somehow i must have my syntax totally wrong for it not to work. I have looked on these form but I don't think the information is totally correct on what you have to type in excatly. Here is what is in my winboard.ini right now.
/firstChessProgramNames={GNUChess
\"bookthinker polyglot\" /fd=c:\\program files\\winboard\\shredder8
"
/firstProtocolVersion=1
}
/secondChessProgramNames={GNUChess
\"thinker\" /sd=c:\thinker\thinker
/secondProtocolVersion=1
}
I did not change the file names.
Here is my polyglot.ini
[Polyglot]
EngineName=Shredder8_UCI
EngineDir=c:\program files\winboard\shredder8
EngineCommand=shredder8.exe
UciVersion=1
SendDone=true
Resign=true
ResignScore=900
LogFile=Shredder8_UCI.log
Log=false
AutoQuit=true
[Engine]
Hash=128
Use Tablebases=true
NalimovPath=f:\fritz7\fritz7\tbs
NalimovCache=256
Ponder=false
ShowCurrLine=false
MultiPV=1
Keep Hash Tables=true
Position Learning=true
Prefer Open Positions=false
Queen=100
Queen (Endgame)=100
Rook=100
Rook (Endgame)=100
Bishop=100
Bishop (Endgame)=100
Knight=100
Knight (Endgame)=100
Pawn=100
Pawn (Endgame)=100
Style=Intelligent
Combinations=All
Forward Pruning=2
Selectivity=-1
Draw Score=0
King Safety=100
Center Control=100
Pawn Structure=100
Pawn Structure (Endgame)=100
Passed Pawns=100
Passed Pawns (Endgame)=100
Bishop Pair=100
Bishop Pair (Endgame)=100
Time Usage=100
Knowledge or Speed=0
Threads=1
With this setup none of my engines start up at all.