Winboard.debug file missing.

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
George Tsavdaris
Posts: 1625
Joined: Thu Mar 09, 2006 11:35 am

Re: Winboard.debug file missing.

Post by George Tsavdaris » Wed Dec 11, 2019 4:25 pm

hgm wrote:
Wed Dec 11, 2019 1:26 pm
Well, in engine-engine games WinBoard would sent a "computer" command to both players (after the variant and level commands) to inform them their opponent is an engine, and this is a configurable command, which could be altered though the -computerString option (e.g. to send a hard-coded egtpath command again). For human-engine I cannot imagine a work-around. (Perhaps WinBoard should support a special -workAround option for such purposes, where you can define a stringthat should be sent to the engine at game start after everything else, both in homan and engine games.)

I think this should really be fixed in Stockfish. The most sensible implementation seems to be that it loads the EGT on reception of the 'ucinewgame' command, at which time both the variant and the egtPath should be known. It would also work when it loads EGT on both the setting of EGT Path and UCI_Variant, according to the most recent values of those, but this could lead to a lot of wasted loading (as under WinBoard the only way to start a new variant game is to first swicth back to normal chess with a 'new' command, after which you cannot rely on a 'variant' command to follow it, as for normal chess this would not come). And the loading might be slow. But I guess not all interfaces do send 'ucinewgame' (it was introduced in UCI only later), and to not break Stockfish for those interfaces it must load normal chess EGT on setting of the EGT Path. Or it should make a check each time it receives a 'position' or 'isready' command to see if the proper EGT are loaded, and if not, load them before proceeding.

It is also bad that you / the GUI would have to change the EGT Path when you want to do another variant. That would require the user to somehow define a new path for each variant. There really should be only a single SyzygyPath, and the engine should be able to use that for finding the Syzygy EGT for all variants. E.g. by adopting the convention that variant EGTs are in a sub-folder of the given path named after the variant.
Oh too bad then there is no easy workaround.
So i can't use Stockfish analysis for variants in Winboard with tablebases support.
I've opened an issue in Stockfish_variant page(https://github.com/ddugovic/Stockfish/issues/567) and i hope they support Winboard but i don't have big hopes. :cry:

Anyone knows any other GUI that supports Atomic Chess UCI engines for analysis(and not just for playing)? I'm sure there isn't any or else i would know.

EDIT: Hmm i remembered PyChess so let me try this. But i doubt it can replace the functionality of Winboard so that would be not 100 % satisfying solution.
EDIT2: Installed PyChess but it doesn't do what i wanted. It's just for playing games between humans or engines.
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....

User avatar
George Tsavdaris
Posts: 1625
Joined: Thu Mar 09, 2006 11:35 am

Re: Winboard.debug file missing.

Post by George Tsavdaris » Mon Dec 16, 2019 10:06 pm

hgm wrote:
Wed Dec 11, 2019 8:04 am
.....
Latest fix for Stockfish(variant) solved the problem with Winboard and now Stockfish can use Atomic Chess tablebases in Winboard.
One small issue remains that Winboard does not show TB hits. (in command prompt TB hits are shown normally with this new Stockfish)
It's not a big deal but maybe you have any idea how to fix this. :D
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....

User avatar
hgm
Posts: 24441
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Winboard.debug file missing.

Post by hgm » Tue Dec 17, 2019 5:43 pm

There is a header in the Engine Output window that shows which thinking info is displayed / possible to display; right-clicking the name of the info hides or shows that info from that time on.

If it shows 0 all the time for tbhits it must be a problem with UCI2WB.

User avatar
George Tsavdaris
Posts: 1625
Joined: Thu Mar 09, 2006 11:35 am

Re: Winboard.debug file missing.

Post by George Tsavdaris » Wed Dec 18, 2019 5:24 pm

hgm wrote:
Tue Dec 17, 2019 5:43 pm
There is a header in the Engine Output window that shows which thinking info is displayed / possible to display; right-clicking the name of the info hides or shows that info from that time on.

If it shows 0 all the time for tbhits it must be a problem with UCI2WB.
I know about right clicking but it shows 0 all the time, while SF it is using endgame TBs and gets TB hits.
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....

User avatar
hgm
Posts: 24441
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Winboard.debug file missing.

Post by hgm » Wed Dec 18, 2019 6:52 pm

Ughh... It seems UCI2WB does not transmit any of the new infos in the extended Thinking Output format (tbhits, seldepth and cpu use). Only Polyglot does this, and initially that was used for normal Chess, and UCI2WB only for variants, for which no EGT existed anyway. I never got to correcting that. I will work on it, it should be a trivial change.

Post Reply