Changes

Jump to: navigation, search

CTG

3,463 bytes added, 19:51, 20 July 2019
Created page with "'''Home * Knowledge * Opening Book * CTG''' '''CTG''', (ChessBase Opening Tree of Games)<br/> an opening book format by ChessBase, supported by thei..."
'''[[Main Page|Home]] * [[Knowledge]] * [[Opening Book]] * CTG'''

'''CTG''', (ChessBase Opening Tree of Games)<br/>
an opening book format by [[ChessBase]], supported by their [[Fritz#FritzGUI|Fritz GUI]] and [[ChessBase (Database)|ChessBase GUI]], and therefore used by all chess engines compatible with these commercial user interfaces. While the book format is proprietary, a partial specification was leaked for the purpose of interoperability <ref>[http://rybkaforum.net/cgi-bin/rybkaforum/topic_show.pl?tid=2319 CTG specification] by [[Steinar H. Gunderson|Sesse]], [[Computer Chess Forums|Rybka Forum]], September 30, 2007</ref>. Each Chessbase book consists of four files, the binary '''CTG''' file contains the real data, the '''INI''' text file provides auxilliary information, the '''CTB''' file some kind of bitmap over free pages in the CTG file, and the '''CTO''' file, containing a lookup table into the CTG file for fast indexed access.
Only White to move [[Chess Position|positions]] along with its [[Moves|moves]], annotations and engine recommendations, and statistics are stored, probing black positions requires [[Color Flipping|color flipping]], of course including [[En passant|en passant]] square and [[Castling Rights|castling rigths]]. Further, if the white king is on files a-d, and neither side has any castling rights remaining, the board is [[Horizontal Mirroring|mirrored horizontally]]. The CTG file is organized in 4KiB pages, the first page contains header information such as the number of games, followed by consecutive data pages. Each data page starts with an header specifying the number of positions and bytes per page, followed by a [[Linked List|list]] of a variable length position entries.

=See also=
* [[ABK]] - [[Arena|Arena's]] book format
* [[PolyGlot|BIN]] - [[PolyGlot]] book format

=Open Source Engines=
* [[Brutus NL|Brutus]]
* [[Daydreamer]]

=Forum Posts=
* [http://rybkaforum.net/cgi-bin/rybkaforum/topic_show.pl?tid=2319 CTG specification] by [[Steinar H. Gunderson|Sesse]], [[Computer Chess Forums|Rybka Forum]], September 30, 2007
* [http://www.open-aurec.com/wbforum/viewtopic.php?f=2&t=50747 Brutus v8.5 released] by [[Stephan Vermeire]], [[Computer Chess Forums|Winboard Forum]], January 25, 2010 » [[Brutus NL|Brutus]]
* [http://www.open-aurec.com/wbforum/viewtopic.php?f=19&t=52972 CTG to polyglot format] by matematiko, [[Computer Chess Forums|Winboard Forum]], October 23, 2013 » [[PolyGlot]]
* [http://www.talkchess.com/forum/viewtopic.php?t=60237 My new book is out: Noomen.ctg] by [[Jeroen Noomen]], [[CCC]], May 22, 2016
* [http://www.talkchess.com/forum/viewtopic.php?t=61165 Scid / Scid vs. PC - ChessBase (.ctg) and Arena (.abk)] by [[Norbert Raimund Leisner]], [[CCC]], August 19, 2016 » [[ABK]], [[SCID]]
* [http://www.talkchess.com/forum/viewtopic.php?t=61176 Noomen.ctg: UPDATE] by [[Jeroen Noomen]], [[CCC]], August 20, 2016

=External Links=
* [http://www.hiarcs.com/chess-opening-book-free.htm Free Opening Book Downloads] from [[HIARCS|HIARCS Chess Software]]
* [https://github.com/sshivaji/ctgexporter GitHub - sshivaji/ctgexporter: Converter for the CTG chess format. Export CTG to polyglot and other formats] by [[Shivkumar Shivaji]] <ref>[http://www.open-aurec.com/wbforum/viewtopic.php?f=19&t=52972 CTG to polyglot format] by matematiko, [[Computer Chess Forums|Winboard Forum]], October 23, 2013</ref>

=References=
<references />
'''[[Opening Book|Up one Level]]'''

Navigation menu