syzygy and cutechess

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Ozymandias
Posts: 1534
Joined: Sun Oct 25, 2009 2:30 am

syzygy and cutechess

Post by Ozymandias »

I'm trying to set the path for the Syzygy tablebases in the engines.json file, but I'm not hitting the right syntax.
Has anyone here been successful, doing that?
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: syzygy and cutechess

Post by Adam Hair »

Either one of these two methods should work:

"initStrings" : [ "setoption name SyzygyPath value C:\\path to Syzygy files" ]


"options" : [
{
"name" : "SyzygyPath",
"value" : C:\\path to Syzygy files
}
]

Alternatively, you could use the following in the tournament commands:

-engine conf=[engine name] option.SyzygyPath=C:\\path to Syzygy files
User avatar
Ozymandias
Posts: 1534
Joined: Sun Oct 25, 2009 2:30 am

Re: syzygy and cutechess

Post by Ozymandias »

I had already tried to modify the josn file, but the cli solution is valid, thx!
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: syzygy and cutechess

Post by Ferdy »

Ozymandias wrote:I had already tried to modify the josn file, but the cli solution is valid, thx!
This is from my json file. Windows 7.

Code: Select all

{ 
      "command" : "Houdini_4_x64B.exe", 
      "name" : "Houdini_4_x64B_Syzygy", 
      "options" : [ 
         { 
            "name" : "Hash", 
            "value" : 64 
         }, 
         { 
            "name" : "SyzygyPath", 
            "value" : "C:\\MyFiles\\chess\\egtb\\syzygy"
         },
         { 
            "name" : "Threads", 
            "value" : 1 
         } 
      ], 
      "protocol" : "uci", 
      "workingDirectory" : "C:\\MyFiles\\Chess\\engines\\nobook\\Houdini 4 Chess" 
},
And from the log.
758 <Houdini_4_x64B_Syzygy(0): info string 64 MB Hash
1228 <Houdini_4_x64B_Syzygy(0): info string Syzygy 5 men EGTB available - 145 tablebases found
1228 <Houdini_4_x64B_Syzygy(0): info string 1 thread used
1228 <Houdini_4_x64B_Syzygy(0): readyok
User avatar
Ozymandias
Posts: 1534
Joined: Sun Oct 25, 2009 2:30 am

Re: syzygy and cutechess

Post by Ozymandias »

It gave me an unknown token error, without the quotes, I'll try that. It's always cleaner to have the engines configuration in the engines.json file :wink:
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: syzygy and cutechess

Post by Adam Hair »

D'oh! I forgot to put the quotation marks around the path in my example.