how to set syzygy for debug on codeblocks

Discussion of chess software programming and technical issues.

Moderator: Ras

acconcio
Posts: 22
Joined: Tue Feb 04, 2014 9:52 pm
Location: Italy Milan

how to set syzygy for debug on codeblocks

Post by acconcio »

Hi, i dont know C++ i have some rudiment of C, with a bit of optimism i changed and compiled, now i have to debug (using codeblocks) stockfish (syzygy) and i have to set Path and ProbeLimit, but i dont know how.
// I have 290 files 938,4Mb database, i suppose is 5men complete database (pawn and pieces)

SyzygyPath=/tmp/syzygy
// only 5 men
SyzygyProbeLimit=5

I tried to change this:

ucioption.cpp
void init(OptionsMap& o) {
...
o["SyzygyPath"] = Option("/tmp/syzygy", on_tb_path);

o["SyzygyProbeDepth"] = Option(1, 1, 100);
o["Syzygy50MoveRule"] = Option(true);
// I dont know how to change this line, to force 5 men complete database
o["SyzygyProbeLimit"] = Option(6, 0, 6);

any suggest welcome :)

purpose is debugging stockfish syzygy with Path and ProbeLimit available.
I hope im not off topic.


ciao & thanks you :oops: