Moderator: Andres Valverde
H.G.Muller wrote:Hmm, it says -loadGameIndex 0, and to get automatic stepping through the opening lines you would need -loadGameIndex -1 (or -2,if you want to do two games per opening).
Are you sure you did tick "Step through lines/positions in file", when you specified the tourney parameters?
H.G.Muller wrote:I am a bit worried about the * left in the -results, actually. How did you abort the tourney? The * means the game is currently being played, but I programmed WinBoard to remove it when you quit it during a game, to make sure the game will get replayed when you restart the tourney. Apparently this did not work in this case. (And that is bad; it means the game would never be played, because any WinBoard you would now set to work on this tourney would not touch the game, assuming there is another WinBoard instance playing it. So you would have to edit the tourney file to replace it by a space (or just delete it when it is at the end), to make the game eligible for playing again. And editing files is something I would like to avoid as much as possible...)
H.G.Muller wrote:You can easily recover from this without losing the two games that had already been played: just edit the tourney file to change the -loadGameIndex to -2, (assuming you want to play each line twice), and remove the * at the end of the -results "=+*" string at the bottom, and then restart the tourney by double-clicking the tourney file.
Gábor Szots wrote:Thanks for all this. As for the *, I probably simply quit WB out of frustration...
H.G.Muller wrote:Gábor Szots wrote:Thanks for all this. As for the *, I probably simply quit WB out of frustration...
Well, this is what I also do, even when not frustrated, simply because it is the quickest and most obvious way. But this is exactly why I programmed it to handle the case (at least, I thought so...). Even hitting the cross in the upper-right window corner should not cause 'sudden-death', but sends a signal to WinBoard so it can orchestrate an organized exit, saving the (incomplete) game in the PGN (with result * and result message {XBoard exit}), sending quit commands to the engine (so no hanging processes are left), before it really terminates. But I programmed it also to replace the * for the interrupted game by a space. So this is why I am a bit shocked to see that it did not work. Normally I only see this when WB test versions really crash.
I guess I should test this some more...
-tourneyType 1
-tourneyCycles 1
-defaultMatchGames 32
-syncAfterRound false
-syncAfterCycle true
-saveGameFile "C:\Sakk\WinBoard-TM\WinBoard\games.pgn"
-loadGameFile "C:\Sakk\PGN-books\HS-Grand_10-moves[48617].pgn"
-loadGameIndex -2
-loadPositionFile ""
-loadPositionIndex 1
-rewindIndex 0
H.G.Muller wrote:That is intended behavior. In general there is no harm when two different engines start from the same opening. (You will get different games out-of-book anyway, because at least one of the engines is different.) The loadGameFile is intended to play each match from a carefully selected set of openings (like Nunn). For totally random selections of openings, the GUI book is provided.
Of course it would be possible (and not very difficut) to use -loadGameIndex -3 to indicate WinBoard should select lines from a given -loadGameFile totally at random. Possibly in combination with the -rewindIndex option, which could specify the maximum game number that can be selected. But currently only -1 and -2 have been assigned a special function for the game index.
H.G.Muller wrote:OK, done! (At the WinBoard-TM link.)
When you now tick that every opening line should be used twice without providing a loadGameFile, WinBoard will reset the random seed before every game, in such a way that two consecutive games will get the same opening line.
Note that (for the time being) this only gives a sensible result when the games per pairing is set to an even value. Otherwise the reversed opening will be played by different engines!
H.G.Muller wrote:I think I understand now what you really want: random openings in the odd (1st, 3rd, ...) games between opponents, but in the equalizing even games, the opening should be the same as in the previous game (but played with reversed colors).
Return to Winboard and related Topics
Users browsing this forum: Google [Bot] and 18 guests