chess:programming:polyglot_book_format:file_format
This is an old revision of the document!
Chess - Programming - Polyglot Book Format - File Format
Polyglot files are usually named with a .bin extension.
The files contain one or more entries with each entry having the following information:
struct entry_t { uint64_t key; uint16_t move; uint16_t weight; uint32_t learn; };
NOTE: All integers are stored highest byte first (regardless of size).
- The entries are ordered according to key; Lowest key first.
Sometimes the file format is shown as:
struct entry_t { uint64_t key; uint16_t move; uint16_t count; uint16_t n; uint16_t sum; };
chess/programming/polyglot_book_format/file_format.1641910409.txt.gz · Last modified: 2022/01/11 14:13 by peter