Re: gnuchess 6, trouble to build book.bin

Vincent Legout <[email protected]> Tue, 07 Feb 2012 18:21:31 +0100
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <[email protected]>
Hi,

Antonio Ceballos <[email protected]> writes:

> I have verified your report, i.e. that the command below works for GNU Chess
> v5, but not for v6, due to the different way to handle the user input.
>
> The obvious way to compile a book in v6 is to run GNU Chess, enter the 'book
> add <filename>' command, and quit once the book is done. However, I presume
> that you want to avoid the interactive use of the program.

Yes, that's exactly my problem.

> Therefore, I have added a new option --addbook <filename> that allows to do
> what you want. I think this is a nice improvement to the program. Now you can
> type the following command:
>
> gnuchess --addbook book_1.02.pgn
>
> That will create book.bin and will exit.
>
> This is uploaded in the SVN repository in savannah (http://svn.savannah.gnu.org
> /viewvc/trunk/?root=chess). I will include it in the next release, along with a
> few other updates. Let me know if this works for you.

Thanks a lot, it works fine. Do you plan to release a new version soon ?
It would be easier for me if you do a release with this option because I
won't have to take a svn snapshot.

Thanks,
Vincent