Skip to content

Converter for the CTG chess format. Export CTG to polyglot and other formats.

License

Notifications You must be signed in to change notification settings

sshivaji/ctgexporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTG Exporter aims to export CTG books to a few formats.

  1. Export to Polyglot book format. This is the main feature.
  2. Export CTG extra book stats to leveldb format.

Usage:

  1. Run 'make'
  2. ./ctg_exporter 'examples/simple.ctg simple.bin' to test. Currently no ouput is written to simple.bin
  3. Simple CTG file with 3 book moves is in the examples folder (simple.ctg).

PLEASE NOTE: The code is not yet complete to export a CTG book to polyglot format. This will be done soon. Currently, only the ctg book position is printed out.

Credits and License: CTG parsing code was taken from https://github.com/AaronBecker/daydreamer. Code to parse CTG without using .cto and .ctb was taken from Sebastien Major. Code to output CTG to key value DBs was also derived from Sebastien Major.

About

Converter for the CTG chess format. Export CTG to polyglot and other formats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published