Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Winboard.ini example

Author: Tim Mann

Date: 12:08:05 08/12/99

Go up one level in this thread


In Pete's example, whenever the engine doesn't need command line arguments of
its own, he puts an unmatched \" after the /fd= or /sd=.  That's a bad idea. It
would make sense to surround the argument to /fd= or /sd= with a *pair* of \"
sequences, though, because the directory name might have a blank space in it;
for instance, see the ArasanX case in the first example below.  Putting just one
is a recipe for confusion, though; for instance, see SSEChess in the first
example below, where if the closing \" were omitted, the /xreuse argument would
be quoted too and included as part of the directory name.

As mentioned elsewhere in this thread, it also seems good to surround the engine
command line with a pair of \" sequences even when the engine doesn't need
command line arguments, just for uniformity.

Here is an extract from an ini file I've used myself, with \" added everywhere
for uniformity.

/firstChessProgramNames="\"GNUChess\"
\"WCrafty-15_12\" /fd=\"D:\\Crafty\"
\"ArasanX\" /fd=\"C:\\Program Files\\Arasan\\Arasan 4.1\"
\"Comet-WB\" /fd=\"D:\\Comet\"
\"EXchess xb\" /fd=\"D:\\EXchess\"
\"SSEChess xboard\" /fd=\"D:\\SSEChess\" /xreuse
\"TCB tcbxinit.cui\" /fd=\"d:\\tcb\"
\"Tris336 wb hash=4m\" /fd=\"d:\\tristram\"
"

/secondChessProgramNames="\"GNUChess\"
\"WCrafty-15_12\" /sd=\"D:\\Crafty\"
\"ArasanX\" /sd=\"C:\\Program Files\\Arasan\\Arasan 4.1\"
\"Comet-WB\" /sd=\"D:\\Comet\"
\"EXchess xb\" /sd=\"D:\\EXchess\"
\"SSEChess xboard\" /sd=\"D:\\SSEChess\" /xreuse
\"TCB tcbxinit.cui\" /sd=\"d:\\tcb\"
\"Tris336 wb hash=4m\" /sd=\"d:\\tristram\"
"

Here is a cleaned-up version of Pete's example:

/firstChessProgramNames="\"wCrafty-16_6\" /fd=\"C:\\crafty16.6w\"
\"Crafty1\" /fd=\"C:\\crafty16.15w\"
\"Gromit20 -xboardquiet\" /fd=\"c:\\gromit-w.ccc\"
\"Phalanx -t8960 -r900\" /fd=\"c:\\Phalanx\"
\"Fortress\" /fd=\"C:\\fort-css\"
\"Comet-wb\" /fd=\"C:\\comet2\"
\"Exchess xb hash 8\" /fd=\"c:\\exchess.wb\"
\"Inmi216\" /fd=\"c:\\inmi3\"
\"AnMon426 xboard\" /fd=\"c:\\AnMon426\"
\"Bringer /winboard\" /fd=\"c:\\bringer2\"
\"LGol2000\" /fd=\"C:\\lgol2002\"
\"Tristram wb hash=8m\" /fd=\"c:\\tristram\"
\"Zchess\" /fd=\"C:\\zchess\"
\"Pierre14\" /fd=\"C:\\pierre\"
\"Pierre17\" /fd=\"C:\\pierre1.7\"
\"Skaki\" /fd=\"C:\\skaki\"
\"GNUChess\"
"
/secondChessProgramNames="\"wCrafty-16_6\" /sd=\"C:\\crafty16.6w\"
\"Crafty1\" /sd=\"C:\\crafty16.15w\"
\"Gromit20 -xboardquiet\" /sd=\"c:\\gromit-w.ccc\"
\"Phalanx -t8960 -r900\" /sd=\"c:\\Phalanx\"
\"Fortress\" /sd=\"C:\\fort-css\"
\"Comet-wb\" /sd=\"C:\\comet2\"
\"Exchess xb hash 8\" /sd=\"c:\\exchess.wb\"
\"Inmi216\" /sd=\"c:\\inmi3\"
\"AnMon426 xboard\" /sd=\"c:\\AnMon426\"
\"Bringer /winboard\" /sd=\"c:\\bringer2\"
\"LGol2000\" /sd=\"C:\\lgol2002\"
\"Tristram wb hash=8m\" /sd=\"c:\\tristram\"
\"Zchess\" /sd=\"C:\\zchess\"
\"Pierre14\" /sd=\"C:\\pierre\"
\"Pierre17\" /sd=\"C:\\pierre1.7\"
\"Skaki\" /sd=\"C:\\skaki\"
\"GNUChess\"
"




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.