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 key; uint16 move; uint16 count; uint32 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 key; uint16 move; uint16 count; uint16 n; uint16 sum; };
chess/programming/polyglot_book_format/file_format.1641908056.txt.gz · Last modified: 2022/01/11 13:34 by peter