Daniel Shawul wrote:Sure now I can send comfortable and standard names that winboard and other engines use such as minishogi,judkins_shogi. This should be standardized since all engines get the same variant name.
I am not sure it came across what I asked. WinBoard 4.7.0 does not understand the setup command if you send any name at all. So you should also not send things like 'minishogi' in the setup command. (You can of course in the variant command.) What I had in mind was something like:
- Code: Select all
void setup() {
char myName[80];
sprint(myName, " %dx%d+%d_%s\n",BOARDX,BOARDY,HOLDINGS,PARENT);
if(!strcmp(myName, requestedName)) myName[0] = '\0'; // equals name from variant command
print("setup (%s)%s %s\n",setup_str,myName,start_fen);
}
So if the name expands to a 'parentage name' that is exactly what the GUI asked, suppress its printing in the initial setup command, as the GUI obviously already was aware of this parentage. This would provide compatibility with WinBoard 4.6.x and 4.7.0.