Answers.Body: <p>If you search &quot;tablebase chess&quot; on google, this link should be the first result:
  <a href="https://syzygy-tables.info/" rel="nofollow noreferrer">https://syzygy-tables.info/</a></p>
  <p>Once there, scroll down to the table with the columns &quot;Host, &quot;Info&quot;, &quot;List&quot;. These should give you access to all the possible endgames with seven or fewer pieces. Note that the files for each endgame aren't human readable though. I'm not sure if you program, but if you do there should be ways to work with the files. E.g., see:
  <a href="https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp" rel="nofollow noreferrer">https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp</a>
  for how Stockfish accesses the tablebases in C++. You could start at the probe_dtz function.</p>
  <p>Note that the combined file sizes of all the tablebases is a number of terabytes, but if you're only interested in 5 or fewer pieces, this should be exponentially lower (easily stored on a modern computer I'd imagine).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-21T14:29:40.063Z
Answers.Text: > I'm not sure if you program, but if you do there should be ways to work with the files. E.g., see: https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp for how Stockfish accesses the tablebases in C++. You could start at the probe_dtz function.
  
  I'm not a programmer, my total programming background is the equivalent of 2 high school courses I took. Still, I think I will try that or find someone else to help if I can't do it.
Answers.UserDisplayName: user32700
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-21T03:17:47.460Z
Answers.LastActivityDate: 2022-06-21T03:17:47.460Z
Answers.UserDisplayName: Inertial Ignorance
Body: <p>I am looking for a spreadsheet such as the one here: <a href="https://data.world/uci/chess-king-rook-vs-king" rel="nofollow noreferrer">https://data.world/uci/chess-king-rook-vs-king</a>, except that it covers all 5 or less men endgames. Ideally it would also have PGNs of the ideal continuation and/or FENs for each position.</p>
  <p>Does that exist? How could I go about making one?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-21T17:16:00.370Z
Comments.Text: Does this answer your question? [Is there a freely available online 7 piece Endgame tablebase?](https://chess.stackexchange.com/questions/5253/is-there-a-freely-available-online-7-piece-endgame-tablebase)
Comments.UserDisplayName: SecretAgentMan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-23T02:30:40.650Z
Comments.Text: Edited for bad grammar
Comments.UserDisplayName: Savage47
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-24T07:18:36.810Z
Comments.Text: Is the word "spreadsheet" essential in your question, or did you use this "innocently" (maybe not knowing common file formats for endgame table bases)? In the link you gave the data is indeed in an excel (or similar) spreadsheet, but this is a very unusual because inefficient formait for tablebases. I don't think it is suitable for "all 5 or fewer men" tablebases, and I doubt you can find this anywhere. Most answers point you to places where you can find syzygy tables, IDK whether this is relevant for you or not.
Comments.UserDisplayName: Max
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-24T07:42:15.817Z
Comments.Text: The Nalimov tablebases, which use advanced compression techniques, require 7.05 GB of storage space for all 5-piece endings, 30 MB for the 4-piece endings, and 
   62 kB for 3-pieces. (These are just KRK, KQK and KPK, unless I'm wrong.) Now the size of the KRK **spreadsheet** (~500KB as CSV)  should correspond to a fraction of the 3-piece tablebase, say 15k. So the **spreadsheet** tablebase for 5 pieces would use at least 30 x 7 GB = 210 GB (as CSV). I think you can't use such a spreadsheet with EXCEL or similar (it takes up even much more space in memory than as CSV file on the disk).
Comments.UserDisplayName: Max
Tags: <endgame><database><tablebases>
Title: Is there a spreadsheet of all 5 or fewer men endgame tablebase continuations/results? How could one be made?
ThreadText: # Is there a spreadsheet of all 5 or fewer men endgame tablebase continuations/results? How could one be made?
  
  (Asked by: username_0 on 2022-06-21)
  
  I am looking for a spreadsheet such as the one here: <https://data.world/uci/chess-king-rook-vs-king>, except that it covers all 5 or less men endgames. Ideally it would also have PGNs of the ideal continuation and/or FENs for each position.
  
  Does that exist? How could I go about making one?
  
  **Tags:** endgame, database, tablebases
  
  > **Comments:**
  > **username_1**: Does this answer your question? [Is there a freely available online 7 piece Endgame tablebase?](https://chess.stackexchange.com/questions/5253/is-there-a-freely-available-online-7-piece-endgame-tablebase)  
  > **username_2**: Edited for bad grammar  
  > **username_3**: Is the word "spreadsheet" essential in your question, or did you use this "innocently" (maybe not knowing common file formats for endgame table bases)? In the link you gave the data is indeed in an excel (or similar) spreadsheet, but this is a very unusual because inefficient formait for tablebases. I don't think it is suitable for "all 5 or fewer men" tablebases, and I doubt you can find this anywhere. Most answers point you to places where you can find syzygy tables, IDK whether this is relevant for you or not.  
  > **username_3**: The Nalimov tablebases, which use advanced compression techniques, require 7.05 GB of storage space for all 5-piece endings, 30 MB for the 4-piece endings, and   62 kB for 3-pieces. (These are just KRK, KQK and KPK, unless I'm wrong.) Now the size of the KRK **spreadsheet** (~500KB as CSV)  should correspond to a fraction of the 3-piece tablebase, say 15k. So the **spreadsheet** tablebase for 5 pieces would use at least 30 x 7 GB = 210 GB (as CSV). I think you can't use such a spreadsheet with EXCEL or similar (it takes up even much more space in memory than as CSV file on the disk).  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2022-06-21. Score: 2
  
  If you search "tablebase chess" on google, this link should be the first result:
  <https://syzygy-tables.info/>
  
  Once there, scroll down to the table with the columns "Host, "Info", "List". These should give you access to all the possible endgames with seven or fewer pieces. Note that the files for each endgame aren't human readable though. I'm not sure if you program, but if you do there should be ways to work with the files. E.g., see:
  <https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp>
  for how Stockfish accesses the tablebases in C++. You could start at the probe\_dtz function.
  
  Note that the combined file sizes of all the tablebases is a number of terabytes, but if you're only interested in 5 or fewer pieces, this should be exponentially lower (easily stored on a modern computer I'd imagine).
  
  > **Comments:**
  > **username_0**: > I'm not sure if you program, but if you do there should be ways to work with the files. E.g., see: https://github.com/official-stockfish/Stockfish/blob/master/src/syzygy/tbprobe.cpp for how Stockfish accesses the tablebases in C++. You could start at the probe_dtz function.  I'm not a programmer, my total programming background is the equivalent of 2 high school courses I took. Still, I think I will try that or find someone else to help if I can't do it.  
  
  ---
  
  