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?
I want Rebel to switch off its book. It cannot be done from the command line so I used to put BookOff\n in the Special Winboard Options field while installing the engine. This used to create the following line in
winboar47.ini:
"Rebel Century" -fcp "Century.EXE w6 century.eng" -fd "E:\Sakk\WB-engines\Rebel Century" -fn "Rebel Century" -firstProtocolVersion 1 -fNoOwnBookUCI /firstInitString="BookOff\n" /xreuse
/xreuse was put there by me afterwards.
This was under Vista. Now I have Win8.1 and use WB 4.8.0b. When I do the above, putting BookOff\n in the Special Winboard Options field, the line created is different, it looks like this:
"Rebel Century" -fcp "Century.EXE w6 century.eng" -fd "E:\Sakk\WB-engines\Rebel Century" -fn "Rebel Century" -firstProtocolVersion 1 -fNoOwnBookUCI BookOff\n
So, /firstInitString is missing.
I did a new install to reproduce things for you but, strangely, I now do not get the error message, maybe it occurred only in engine matches.