user11609: I'm trying to make syzygy browsing tool fathom.exe work. If you have experience with this, please let me know. I tried million of combinations of tokens to format the position command and the program always returns empty string.
When I run this command
FILE* pipe = _popen("c:\\fathom.exe --help", "r");

program returns this info string:
usage: c:\fathom.exe [--help] [--path=PATH] [--test] FEN

WHERE:
FEN
    The position (as a FEN string) to be probed.
--help
    Print this helpful message.
--path=PATH
    Set the tablebase PATH string.
--test
    Print the result only.  Useful for scripts.

DESCRIPTION:
This program is a stand-alone Syzygy tablebase probe tool.  The
program takes as input a FEN string representation of a chess
position and outputs a PGN representation of the probe result.

In addition to the standard fields, the output PGN represents the
following information:
- Result: "1-0" (white wins), "1/2-1/2" (draw), or "0-1" (black wins)
- The Win-Draw-Loss (WDL) value for the next move: "Win", "Draw",
  "Loss", "CursedWin" (win but 50-move draw) or "BlessedLoss" (loss
  but 50-move draw)
- The Distance-To-Zero (DTZ) value (in plys) for the next move
- WinningMoves: The list of all winning moves
- DrawingMoves: The list of all drawing moves
- LosingMoves: The list of all losing moves

The PGN contains a pseudo "principle variation" of Syzygy vs. Syzygy
for the input position.  Each PV move is rational with respect to
preserving the WDL value.  The PV does not represent the shortest
mate nor the most natural human moves.

Can you write me please an exact string command to analyse for example 
4k3/4n3/8/8/4K3/8/1B2B3/8 w - - 0 1
My wdl folder is C:/Tablebases/Syzygy/wdl
My dtz folder is C:/Tablebases/Syzygy/dtz

user825: I have experience working with Fathom in one of my iOS apps. Look at my recent post:
http://talkchess.com/forum/viewtopic.php?t=62378
My command was: fathom --path=YOUR_PATH --test "FEN_STRING"

Substitute YOUR_PATH with your path. You must have both WDL and DTZ files in the same directory.
Substitute FEN_STRING with your FEN string. You will need the quotation mark.

My console session posted in the link:


11609: <p>I'm trying to make syzygy browsing tool <strong>fathom.exe</strong> work. If you have experience with this, please let me know. I tried million of combinations of tokens to format the position command and the program always returns empty string.</p>

<p>When I run this command</p>

<pre><code>FILE* pipe = _popen("c:\\fathom.exe --help", "r");
</code></pre>

<p>program returns this info string:</p>

<pre><code>usage: c:\fathom.exe [--help] [--path=PATH] [--test] FEN

WHERE:
FEN
    The position (as a FEN string) to be probed.
--help
    Print this helpful message.
--path=PATH
    Set the tablebase PATH string.
--test
    Print the result only.  Useful for scripts.

DESCRIPTION:
This program is a stand-alone Syzygy tablebase probe tool.  The
program takes as input a FEN string representation of a chess
position and outputs a PGN representation of the probe result.

In addition to the standard fields, the output PGN represents the
following information:
- Result: "1-0" (white wins), "1/2-1/2" (draw), or "0-1" (black wins)
- The Win-Draw-Loss (WDL) value for the next move: "Win", "Draw",
  "Loss", "CursedWin" (win but 50-move draw) or "BlessedLoss" (loss
  but 50-move draw)
- The Distance-To-Zero (DTZ) value (in plys) for the next move
- WinningMoves: The list of all winning moves
- DrawingMoves: The list of all drawing moves
- LosingMoves: The list of all losing moves

The PGN contains a pseudo "principle variation" of Syzygy vs. Syzygy
for the input position.  Each PV move is rational with respect to
preserving the WDL value.  The PV does not represent the shortest
mate nor the most natural human moves.
</code></pre>

<p>Can you write me please an <strong>exact string command</strong> to analyse for example </p>

<p>4k3/4n3/8/8/4K3/8/1B2B3/8 w - - 0 1</p>

<p>My wdl folder is C:/Tablebases/Syzygy/wdl</p>

<p>My dtz folder is C:/Tablebases/Syzygy/dtz</p>
 825: <p>I have experience working with Fathom in one of my iOS apps. Look at my recent post:</p>

<p><a href="http://talkchess.com/forum/viewtopic.php?t=62378" rel="nofollow noreferrer">http://talkchess.com/forum/viewtopic.php?t=62378</a></p>

<p>My command was: <code>fathom --path=YOUR_PATH --test "FEN_STRING"</code></p>

<ul>
<li>Substitute <code>YOUR_PATH</code> with your path. You must have both WDL and DTZ files in the same directory.</li>
<li>Substitute <code>FEN_STRING</code> with your FEN string. You will need the quotation mark.</li>
</ul>

<p>My console session posted in the link:</p>

<p><a href="https://i.stack.imgur.com/jJ6sj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jJ6sj.png" alt="enter image description here"></a></p>
