Answers.Body: <ol>
  <li><p>I don't think you should hard-core SyzygyPath because the ASM engine follows the UCI protocol. You can just send the <code>SyzygyPath</code> option to the engine.</p></li>
  <li><p>If you insist to modify the assembly language (I don't recommend), goto <a href="https://github.com/tthsqe12/asm/blob/f34c20b25c2160b27efda5c5c388ff5e66636d3e/asmFish/guts/Uci.asm" rel="nofollow noreferrer">https://github.com/tthsqe12/asm/blob/f34c20b25c2160b27efda5c5c388ff5e66636d3e/asmFish/guts/Uci.asm</a>.</p></li>
  </ol>
  
  <p>Find this:</p>
  
  <pre><code>.SyzygyProbeDepth:
          lea    rcx, [sz_syzygypath]
          call   CmpStringCaseless
          lea    rbx, [.SyzygyPath]
          test   eax, eax
          jnz   .CheckValue
  </code></pre>
  
  <p>Try to replace the path with <code>'C:\MyPath\'</code>.</p>
  
  <p><strong>Note</strong>: My recommendation is not tested, but I am sure that's the code you'll need to change.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-07T11:22:53.920Z
Answers.LastActivityDate: 2016-11-07T11:22:53.920Z
Answers.UserDisplayName: SmallChess
Body: <p>Can someone point to me whereabouts in asmFish I can hardcode the SyzygyPath into the source code. I can do it in StockFish 8, however I've yet to find it in the source code of asmFish. I'll be using the Linux version.</p>
  
  <p>Any help much appreciated. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-07T11:10:56.477Z
Comments.Text: Assembly language...
Comments.UserDisplayName: SmallChess
Tags: <engines><software><endgame><linux>
Title: SyzygyPath in asmFish
ThreadText: # SyzygyPath in asmFish
  
  (Asked by: username_0 on 2016-11-07)
  
  Can someone point to me whereabouts in asmFish I can hardcode the SyzygyPath into the source code. I can do it in StockFish 8, however I've yet to find it in the source code of asmFish. I'll be using the Linux version.
  
  Any help much appreciated.
  
  **Tags:** engines, software, endgame, linux
  
  > **Comments:**
  > **username_1**: Assembly language...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-11-07. Score: 2
  
  1. I don't think you should hard-core SyzygyPath because the ASM engine follows the UCI protocol. You can just send the `SyzygyPath` option to the engine.
  2. If you insist to modify the assembly language (I don't recommend), goto <https://github.com/tthsqe12/asm/blob/f34c20b25c2160b27efda5c5c388ff5e66636d3e/asmFish/guts/Uci.asm>.
  
  Find this:
  
  ```
  .SyzygyProbeDepth:
          lea    rcx, [sz_syzygypath]
          call   CmpStringCaseless
          lea    rbx, [.SyzygyPath]
          test   eax, eax
          jnz   .CheckValue
  
  ```
  
  Try to replace the path with `'C:\MyPath\'`.
  
  **Note**: My recommendation is not tested, but I am sure that's the code you'll need to change.
  
  
  ---
  
  