Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: database software question

Author: Rémi Coulom

Date: 07:59:08 08/15/04

Go up one level in this thread


On August 15, 2004 at 08:59:28, Martin Grabriel wrote:

>if i have a database of 3.000 games, is there a software that can present ALL
>the moves of the 3.000 games in the form of a chess tree down to the result of
>the game?
>thnks in advance for any pointers.

TCB can do it. I am not sure exactly what you want to do, so the script below
does a lot of things. Assuming your collection of games is in wbec.pgn, run TCB
in the directory where you have your pgn file and do as indicated below. It will
produce a "merged.pgn" file, that is a pgn file with variations and a final
comment at the end of each line that indicates the result of the game, and the
name of the players. You can view this pgn file in any pgn viewer that supports
variations. It also produces a "tree.out" file that shows the tree in ASCII-art.
The treemap command shows a treemap view of this tree, but the treemap viewer
does not allow (yet) to visualize the result of each line.

Link to TCB:
http://remi.coulom.free.fr/tcb0052.zip

version 0052.
Copyright 1997-2004 by Remi Coulom. All Rights Reserved.
Permission is granted to freely use and distribute this program,
provided that no charge is made for it and it is distributed unmodified
This program comes with ABSOLUTELY NO WARRANTY.
Windows autoplayer based on work by Stefan Meyer-Kahlen & Ch. Donninger
Compressed EGTB code by Eugene Nalimov and Andrew Kadatch
(@n)EngineControl>chesslib
EngineControl|ChessLib>pgnfile wbec.pgn
EngineControl|ChessLib-GameFile>merge 1
EngineControl|ChessLib-GameFile>x
EngineControl|ChessLib>cbgame
EngineControl|ChessLib-Game>pgn >merged.pgn
EngineControl|ChessLib-Game>treeview >tree.out
EngineControl|ChessLib-Game>cursor
EngineControl|ChessLib-Game-GameCursor 1. d4>treemap
EngineControl|ChessLib-Game-GameCursor 1. d4>x
EngineControl|ChessLib-Game>x
EngineControl|ChessLib>p
(@n)EngineControl>x



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.