End Game Table Bases

What are they?

An End Game Table Base is a database that contain perfect knowledge about every chess game that ends with a given number of pieces. The database knows if each move will result in a draw, or the minimum number moves until checkmate. A full 6 man set of table bases can run upwards of 2 TB.

GaviotaProbe.NET

The creator of the Gaviota Chess Engine, Miguel Ballicora, created his own 5-man End Game Table Base format and made the probing code available under the MIT license. It uses the 7Zip compression library for which there is ample C# support. GaviotaProbe.Net is a C# implementation of the original Gaviota probing library. It uses the same cp4 compressed table base format as the C++ version so there is no need to generate new table base files.

EGTB Files

The complete set of Gaviota 5-man End Game Table Bases in a 6.5 Gig zip file is hosted here by the Pwned developers. These files were originally generated by Josh Shriver. If you don't need the entire set of tables, you can get individual cp4 files. If you want to generate your own table bases, Miguel's site explains how to do this.

EGTB Files included in Pwned

The maximum size limit for a game on Xbox Live Indie Games Channel is 500 Megs so there is only a partial set of table bases included. This is a list of the table base files you get in the Xbox version.

  • kbbpk 66 MB
  • kbbkp 65 MB
  • kppkn 47 MB
  • kppkp 43 MB
  • kppkb 36 MB
  • kbbkq 35 MB
  • kbnkn 30 MB
  • kbbkn 28 MB
  • kbbnk 24 MB
  • kbnkb 22 MB
  • kbbkr  8 MB
  • kpppk  8 MB
  • kbbbk  7 MB
  • knnkb  3 MB
  • knnkn  3 MB
  • kqkp   2 MB
  • krkp   2 MB
  • kbpk   1 MB
  • knpk   1 MB
  • kqpk   1 MB
  • krpk   1 MB
  • kpkp   1 MB
  • knkp   1 MB
  • kqkr   1 MB
  • kbkp   1 MB
  • kqkn   985 kb
  • kqkb   913 kb
  • kbnk   836 kb
  • kppk   650 kb
  • kqkq   603 kb
  • krnk   589 kb
  • krbk   568 kb
  • krkn   547 kb
  • kqbk   478 kb
  • kqnk   454 kb
  • kqrk   420 kb
  • krkr   409 kb
  • krkb   336 kb
  • kbbk   296 kb
  • krrk   222 kb
  • kqqk   201 kb
  • kbkb   145 kb
  • knkn   140 kb
  • kbkn   138 kb
  • knnk    54 kb
  • kpk     26 kb
  • krk     10 kb
  • kqk      9 kb