daylen / stockfish-mac

Beautiful, powerful chess app for the Mac
http://stockfishchess.org/mac/
GNU General Public License v3.0
506 stars 116 forks source link

Endgame tablebase integration #7

Closed daylen closed 9 years ago

daylen commented 10 years ago

The Stockfish engine now supports Syzygy table bases. To use them, we just need to set the SyzygyPath UCI option to a fully qualified path, e.g. /Users/daylenyang/syzygy.

daylen commented 9 years ago

The challenge here is to get around sandboxing. The user will need to select their TB folder, and we need to preserve permission to access that folder across application launches. See: "Security-Scoped Bookmarks and Persistent Resource Access" in the Mac Developer Library.

daylen commented 9 years ago

This is useful http://objcolumnist.com/2012/05/21/security-scoped-file-url-bookmarks/