Moderator: Andres Valverde
H.G.Muller wrote:I don't understand what exactly you want to do and did.
If rebel.exe would need a parameter BookOff in its engine command, this should be done by entering "rebel.exe" in the 'Engine' field of the Load Engine dialog, and "BookOff" in the 'command-line parameters' field. WinBoard should then combine this into a properly quoted -fcp "rebel.exe Bookoff" in the engine list. The error message you get suggests that the quotes are missing, so that WinBoard thinks the -fcp valule is just "rebel.exe", and that BookOff is a new WinBoard option. (And because it does not start with '-' it then assumes it is a PGN file, and imagines a -lgf in front of it.)
Can you show the line it makes of it in the engine list?
H.G.Muller wrote:OK, now I understand what you are trying to achieve, and the connection with the initString.
But the first time, where it worked, you must have typed /firstInitString "Bookoff\n" in the 'special WinBoard options' field. Not just "BookOff\n", like you are doing now. The contents of this field is simply appended to the line in the engine list, and not prefixed by anything. (It should also be usable for other options than /initString, like /firstTimeOdds, /firstNPS, /firstScoreIsAbs etc.)
Btw, note that the default value for /first/secondInitString is "new\nrandom\n", and that it is important to keep at least the "new\n" in there, otherwise the engine would not receive the WB "new" command when it is supposed to start a new game. So you probably should use /firstInitSting "BookOff\nnew\nrandom\n". (I must admit this is weird, and I have no idea why it was designed this way. "new" is mandatory in WB protocol, and I cannot imagine there ever would have been engines that would not need it, or would need something else instead of it to start a new game. So it would be much more logical to have WinBoard always send the "new", and have options /firstPreNew and /firstPostNew that by default would be "" and "random\n", respectively.)
Return to Winboard and related Topics
Users browsing this forum: No registered users and 38 guests