H.G.Muller wrote:OK, I think I have implemented most of your suggestions now:
Individual debug files
It is now possible to specify a name for the debug file that contains a unique tournament game number: simply put a %d anywhere in it, and that will be replaced by the game number. Like
winboard -debug -debugfile game%d.debug
would produce files game1.debug, game2.debug, ... for the respetive games. These would be created in the WinBoard folder, like debug files normally would; If you want them in a separate folder, say C:\MyTourneyDebugs, you should specify that yourself by
winboard -debug -debugfile {C:\MyTourneyDebugs\game%d.debug}
where you should make sure that folder exists.
Game number in PGN
I added a persistent option -pgnNumberTag true|false (default false), which controls whether (in a tournament!) a Number tag is included in the saved PGN, like
[Number "1"]
The number is unique in the tourney, and corresponds to the number in the debug file name. It can be different from the Round tag, which needs not be unique: in one round (of a round-robin) all players play one game (save a bye).
Move number in Eval Graph title
I changed the title to put the move number as the first thing between the braces, like:
Eval Graph {14: +0.37/8 3}
I am still not sure what you would want for the Eval Graph colors. There are two display modes (depending on space), histogram or line. With histogram the colors of the bars alternate (they could be set the same through command-line options). In line mode, there are two different lines, of different color. Setting the colors the same would just make the lines indistinguishable.
Is that what you mean, that the score of both engines should be displayed as a single line? Often engines disagree very much about the score, so this could be a highly oscillating line. Nevertheless, I could make it do that in case the colors were specified as exactly the same.
Max number of engines
As announced above, I inreased that to 2000. And I allow grouping to make such large numbers easier to handle. Unfortunately this activated a latent bug in readout of comboboxes, so when you used it in the Tourney dialog, it would crash when you pressed OK. (I had tested on Load Engine, and to see if I could correctly selected tourney participants, but I never actually tried to start a tourney...) This should be fixed now.
Altering settings not in menus
I added an undocumented kludge, which I am not sure we will keep, but which could be useful for experienced users that know what they are doing: You can now type options in the Move Type-In dialog! This can be used, for instance, for setting -afterGame or -debugfile during the session, by typing things like
!!! -debugfile game%d.txt -afterGame "crosstable.exe mygames.pgn"
The leading "!!! " is required to 'unlock' the feature, as a safety measure against accidental use by a typo. This because the patch in the current form is quite dangerous: a typo in the option would cause a fatal error, an make WinBoard exit. Furthermore, options that have effects during initialization (like board colors) will not work, as the initialization is not redone. This could lead to inconsistent states. Their new values would be written in the ini file on saving settings, though. (If they are persistent, that is). So this feature is only to be used for options that are just consulted during the session for an instantaneous decision, such as the -debugfile when a new tourney game starts, or -afterGame when it finishes.
I did some first tests now.
1. Individual debug files set up at winboard startup works
2. Move number in title bar of the eval graph works
3. The bug I had reported last night due to max engines > 1000 is gone
4. Inserting
!!! -debugfile game%d.txt in the type move dialogue did not work and no debug was written at all.
May be it should be
!!! -debug -debugfile game%d.txt, because the debug switch is not set before the file is specified?
Or I did something wrong, I will test that later again.
5. A minor problem with tournaments. I still load WB with the startup dialogue and with the default loaded engine wich is
the one in the special first lines of fd and sd directories of the WB.ini, e.g.
- Code: Select all
}
/firstChessProgramNames={'Abrok_50 hash 256' /fd=c:\Engines\WB\Abrok_50
...
}
/secondChessProgramNames={'Abrok_50 hash 256' /sd=c:\Engines\WB\Abrok_50
...
If I start now a tournament with the internal tournament manager the deafult engine is not unloaded and stays
in memory(does not use cpu because it still waits...for commands). It should be unloaded before a tournament starts.
Ah and for the colours in the eval graph, this was just a suggestion for an alternative display mode and I try to
explain it more clearly. I would like to have a mode(if possible) where the colour follows the SCORE not the PLAYER,
e.g. positive score alwways GREEN (or whatever), negative score RED (or whatever), the default now is that the
colour is set for the player.(this doesn't lose too much info because I can still click on a single move in the histogram
to see who made what move)
Guenther