Contents page | Winboard setup | *Command line parameters | Commands reference | Licence and Warranty

# Command line parameters

-book | - Select which opening book to use.
-hash | - Set the size of transposition table to use.
-log | - Switch on logging to help analyse bugs in the engine.
-td | - Switch on TD-Lambda evaluation function learning.
-name | - Change the engine name reported to Winboard.

##

The -book parameter

### Summary

The -book parameter is used if you want Green Light to use a an opening book file that doesn't have the default name of "primary.hbk".

### Format

`

      -book my-book-file.hbk

`

### Examples

`

      glcXXX -book small.hbk
      glcXXX -book my-primary.hbk

`

##

The -hash parameter

### Summary

The -hash parameter is used to set a different amount of hash to use from the default value of 6MB. GLC can only allocate memory for the hash table in certain sizes, but you can specify any value you wish here, and if it is not exactly the same as one of the supported sizes, it will be converted to the next smaller size.

The actual hash sizes available in the current engine are:

1MB | 1.5MB | 3MB | 6MB | 12MB | 24MB | 48MB | 96MB | 192MB | 384MB | 768MB
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

### Format

`

      -hash hash-size-in-MB

`

### Examples

`

      glcXXX -hash 24
      glcXXX -hash 100
      glcXXX -hash 1

`

##

The -log parameter

### Summary

If you specify the -log parameter, Green Light will write debugging information to a text file called glcXXX.log (where the XXX stands for the version of GLC that is being used.)

### Format

`

      -log

`

##

The -td parameter

### Summary

Specify the -td parameter if you would like Green Light to use TD-Lambda learning to modify it's evaluation constants.

When TD-Lambda is being used, Green Light will automatically load and save it's evaluation constants to a file called `"glcXXX-td.eval"` (where the XXX stands for the version of GLC that is being used.)

### Format

`

      -td

`

##

The -name parameter

### Summary

The -name parameter can be used if you want the name that WinBoard reports for the engine in it's saved PGN files to be different. For instance, you may want the name to show what opening book is being used.

### Format

`

      -name new-engine-name

`

### Examples

`

      glcXXX -book test2.hbk -name "GLC 3.00 Test2 book"
      glcXXX -name "GreenLight 3.00"

`

Send e-mail to chess@7sun.com.
Page last updated by Tim Foden on the 17th March 2003.