The idea is for this to be painless. If you are running xboard like I do, then you are all set and no problem. If you are using the shredder or fritz interface, then you have to do something else. I'm not sure some of these interfaces support an adapter. I once tried to build a batch (.bat) file for Larry on his windows machine which wrapped a chess program (and did a couple of other things) and I think Fritz would not allow it, it wanted an exe file. Windows is always a bit more difficult because there are fewer useful abstractions, everything is a special case to be handle separately and evidently a bat file has a different status than an exe and is not a proper shell. Of course I may not understand this properly as I am not very strong in windows but I could not make it work.hgm wrote:Well, actually WinBoard/Xboard already implements capturing the required information, and save it to file. The demo you see at http://80.100.28.169/chess/chess.html is actually just a WinBoard running an engine tournament, where I configured to to put the game data in the required folder of the server tree. Which is possible, because the games are played on the server machine itself.
Of course when each player uses its own machine, such a setup is impossible, and it is unavoidable that the moves should be transferred from the machine running the engine to the server. So what I had in mind is let each participant run an ftp watchdog program on his machine, which then uploads the moves and PVs to a specified place on the central server. For those using WinBoard / XBoard this would be all they have to do.
Those using other software would have to somehow let it create the required files with moves and PVs. Many GUIs produce log files in real time, including all engine-GUI communication, and these could provide a good place to extract the data from.
I don't expect remote desktop would change anything (although I never used it). You would simply let the remote machine upload the required files to the server directly, bypassing the machine running the front-end desktop.
Because of this I'm not sure there is a simple universal solution such as using a simple adapter. But the natural solution is for HG or someone to modify polyglot for UCI programs and have a separate adapter for winboard programs. You run the adapter which runs the chess program but also captures the data HG needs. The adapter would be trivial to write because it does not have to understand any of the communication passing back and forth - other than picking up the move and any scoring information it wants.
The reason I suggest modifying an existing adapter is that I don't want to run 2 adapters. It's like in the old days I remember trying to hook up a guitar or something and I did not have the right plugs but I had all kinds of adapters. I think I had to hook 2 or 3 together to get what I needed and it was pretty ugly

Nobody would be required to use one of these adapters if they were willing to provide the information in the right format of course.
Another solution is to the ICGA to purchase a bunch of the fancy auto-sensory boards for the tournament! Just raise the fees a few hundred dollars and we are all set!