Page 1 of 1

Bug in engine settings?

PostPosted: 21 Oct 2009, 09:10
by Miguel A. Ballicora
in Winboard (not xboard) when I request a path with a feature option like this

feature option="Alternative tablebase path 1 -path gtb\"
feature option="Alternative tablebase path 2 -path "

In the dialog the GUI will allow me to browse for a file, not a path. In the global settings, I could search for a path for egtpath, so I assume that not being able to do it in engine settings is a bug.

Miguel

Re: Bug in engine settings?

PostPosted: 21 Oct 2009, 16:21
by H.G.Muller
At this point this is an intentional bug; the -path options are not really implemented yet, and -path, -file and -string are all treated internaly like they were -file. In future versions we will change that. (But not 4.4.1 yet.) I was kind of disgusted that a different browsing function is needed for selecting files and folders. (For -string options there should of course be no browser at all, but that will put the burdon on Polyglot to decide how to pass the UCI string options to WB.) The browsing only serves to get the filename, though. It won't automatically do anything with the file you select. So an acceptble work-around is to just select any file in the folder you wanted to select, and then delete the filename part of that in the text edit.

Sorry about that, but the Engine Settings menu really needs a lot of work, still (like real spin controls, better formatting to not cut short option names, etc.).

Re: Bug in engine settings?

PostPosted: 22 Oct 2009, 07:58
by Miguel A. Ballicora
H.G.Muller wrote:At this point this is an intentional bug; the -path options are not really implemented yet, and -path, -file and -string are all treated internaly like they were -file. In future versions we will change that. (But not 4.4.1 yet.) I was kind of disgusted that a different browsing function is needed for selecting files and folders. (For -string options there should of course be no browser at all, but that will put the burdon on Polyglot to decide how to pass the UCI string options to WB.) The browsing only serves to get the filename, though. It won't automatically do anything with the file you select. So an acceptble work-around is to just select any file in the folder you wanted to select, and then delete the filename part of that in the text edit.

Sorry about that, but the Engine Settings menu really needs a lot of work, still (like real spin controls, better formatting to not cut short option names, etc.).


In global settings, you have implemented -path.

Miguel

Re: Bug in engine settings?

PostPosted: 22 Oct 2009, 10:35
by H.G.Muller
Global Settings does have nothing to do with option features, be it -path or other.