Search found 880 matches

by Ras
Mon Jul 08, 2019 8:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Need help to make Crafty work
Replies: 31
Views: 4007

Re: Need help to make Crafty work

* Banksia sends a 'cores' command, but Crafty did not specify 'feature cores=1' Does it have to? From http://hgm.nubati.net/CECP.html : cores N Specifies the engine can use at most N search threads in is parallel search. Only sent when the engine requested it through feature smp=1. And from the log...
by Ras
Sun Jul 07, 2019 4:50 pm
Forum: Computer Chess Club: General Topics
Topic: UCI_Elo
Replies: 60
Views: 7282

Re: UCI_Elo

Does anyone know of what is the base engine and rating of UCI_Elo? In my case (CT800), it's basically a hack to get some sort of throttling. I did some tests for figuring out elo vs. speed and settled for about 56 Elo per doubling above 2100 and 80 Elo below that. This is because going from 5 plies...
by Ras
Sat Jul 06, 2019 9:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 2865

Re: Xboard, CECP, how to handle long inits

The UCI equivalent of 'feature done=1' is 'uciok'. No, it isn't. "uciok" is only meant for acknowledging UCI mode, not for doing init. Therefore, "uciok" has to appear quickly after the GUI sent "uci", and lengthy init stuff is not allowed. "isready" is meant as ping/pong replacement AND feature do...
by Ras
Mon Jun 17, 2019 9:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10117

Re: UCI2WB 4.0

I usually do this through polling during the search with PeekNamedPipe(), and I don't see how I would need to do that any different to handle UCI. Well yeah, that will also work, and probably via ioctl() under Linux. You'll need some sort of node based internal timer anyway to avoid checking the cl...
by Ras
Mon Jun 17, 2019 4:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10117

Re: UCI2WB 4.0

This is all handled in the common code of WinBoard and XBoard Oh, I didn't realise it's a common base, though that makes sense of course. but of a engine is hanging, using CPU, what can you do? Shouldn't happen with UCI because isready and stop need to be evaluated during search, and the only clean...
by Ras
Mon Jun 17, 2019 2:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10117

Re: UCI2WB 4.0

I guess a command-line parameter of the adapter could be used to request the engine priority I'd still guess that this isn't necessary on Windows at all because you get that dynamic priority boost upon mouse / keyboard events, or whenever a thread wakes up from some wait (on event, network, I/O or ...
by Ras
Sun Jun 16, 2019 10:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10117

Re: UCI2WB 4.0

I also don't like the lowering of engine priorities to be applied to the adapter, but I don't know how it can be applied by the GUI to the engine without applying it to the adapter first. Is it the adaptor that actually launches the engine process for UCI engines? If so, you could start the adaptor...
by Ras
Sun Jun 16, 2019 8:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Explanation of the Cute Chess message 'connection stalls'
Replies: 15
Views: 2068

Re: Explanation of the Cute Chess message 'connection stalls'

When I look at alouette.pas, the parser for the "go" command is not really implementing the UCI spec. The order of arguments is not specified, but you rely on it in utils.pas. Also, the case where wtime, btime, winc, binc AND movestogo is given seems to be missing. I'd suggest that you do a WordPres...
by Ras
Fri Jun 14, 2019 1:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10117

Re: UCI2WB 4.0

Perhaps it floods WinBoard with unintended output which overruns some buffer. A function like this (from UCI2WB) looks like a buffer overflow waiting to happen: int ReadLine (FILE *f, char *line) { int x, i = 0; while((x = fgetc(f)) != EOF && (line[i] = x) != '\n') i++; line[++i] = 0; return (x != ...
by Ras
Mon Jun 10, 2019 11:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash collision?
Replies: 42
Views: 6000

Re: Hash collision?

The total size of the table only comes in when the the table only gets partly filled. Yeah I have to agree. In that case, my objection was wrong. (you tacitly assume that by taking it for granted that a key length of 64 bits is enough to have no key collisions) That's an unrelated issue for the pro...