Ah, I see. Your engine command is:
C:\Program Files\nodejs\node.exe D:\SAKK\tomitankChess\js\tomitankChess.js
Notice the space between 'Program' and 'Files'. So Polyglot tries to run
C:\Program
with as arguments 'Files\nodejs\node.exe' and 'D:\SAKK\tomitankChess\js\tomitankChess.js'
And of course this fails, as there is no C:\Program.exe. That this command might work in the Windows command prompt is a special property of the command interpreter there, which makes several tries, taking subsequently more spaces as part of the exe name. The Windows API command CreateProcess used by Polyglot does not automatically do that, though.
You will have to group the words in the command more clearly by quoting. Like
-fcp '"C:\Program Files\nodejs\node.exe" D:\SAKK\tomitankChess\js\tomitankChess.js'
The outer single quotes are then 'used up' by WinBoard, to make it understand the whole thing is the engine command. And the double quotes then delimit the executable, despite it consisting of multiple words.
On-line engine blitz tourney July
Moderators: hgm, Rebel, chrisw
-
- Posts: 27807
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
-
- Posts: 276
- Joined: Sat Mar 04, 2017 12:24 pm
- Location: Hungary
Re: On-line engine blitz tourney July
Ok, i tried many version:
Error: Game not found in file
It is ok?
Error: C:\Program file not found.
Error: C:\Program file not found.
Code: Select all
"C:\Program Files\nodejs\node.exe" "D:\SAKK\tomitankChess\js\tomitankChess.js"
It is ok?
Code: Select all
'"C:\Program Files\nodejs\node.exe" D:\SAKK\tomitankChess\js\tomitankChess.js'
Code: Select all
'"C:\Program Files\nodejs\node.exe D:\SAKK\tomitankChess\js\tomitankChess.js"'
-
- Posts: 931
- Joined: Tue Mar 09, 2010 3:46 pm
- Location: New York
- Full name: Álvaro Begué (RuyDos)
Re: On-line engine blitz tourney July
I will be traveling at the time of the tournament, but I will leave RuyDos connected before I leave. Could you please add it? Thanks!
-
- Posts: 27807
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: On-line engine blitz tourney July
The first is certainly wrong, because it makes the node.exe and tomitankChess.js different arguments to WinBoard, only the first associated with the -fcp option, and the second not being preceded by any option name. Such arguments are considered by WinBoard to be game files, which explains the error message.tomitank wrote:Ok, i tried many version:
Error: Game not found in fileCode: Select all
"C:\Program Files\nodejs\node.exe" "D:\SAKK\tomitankChess\js\tomitankChess.js"
It is ok?
Error: C:\Program file not found.Code: Select all
'"C:\Program Files\nodejs\node.exe" D:\SAKK\tomitankChess\js\tomitankChess.js'
Error: C:\Program file not found.Code: Select all
'"C:\Program Files\nodejs\node.exe D:\SAKK\tomitankChess\js\tomitankChess.js"'
In the last one the single and double quotes should do exactly the same thing. Which makes it surprising you get a different error than with just the double quotes. Apparently single quotes outside double quotes are not understood.
Try this:
Code: Select all
""C:/Program Files/nodejs/node.exe" D:/SAKK/tomitankChess/js/tomitankChess.js"
-
- Posts: 276
- Joined: Sat Mar 04, 2017 12:24 pm
- Location: Hungary
Re: On-line engine blitz tourney July
I have found a bug!
Thanks for your help!
Thanks for your help!
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: On-line engine blitz tourney July
Maybe also you should not allow to let engines play that were not updated in last few months.
Otherwise there is nothing special about this tournament for one could download forty engines and run a tournament on their own computer.
If we want more spectators than we should broadcast the games live on chess.com or something similar.
Problem is that most engines play too good. So only grandmasters can understand their moves.
Otherwise there is nothing special about this tournament for one could download forty engines and run a tournament on their own computer.
If we want more spectators than we should broadcast the games live on chess.com or something similar.
Problem is that most engines play too good. So only grandmasters can understand their moves.
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: On-line engine blitz tourney July
Other idea is to give engines with high ratings far and far less time to make them play much worse but broadcast their move with a delay of say five seconds so you won't notice.
Re: On-line engine blitz tourney July
My biggest issue with making changes to icsdrone(ng) is, is that they're not merged by upstream.
-
- Posts: 27807
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: On-line engine blitz tourney July
'Upstream' is Michel van den Bergh?