andrei raevsky wrote:

Hi!

>> Name      : Toga II 1.3.1
>> Command   : /where/polyglot/lives/polyglot
>> Parameters: /path/to/eng/togaII-1.3.1.eng
>>
>> The other parameters are of no imporance as polyglot will
>> read the config from teh eng file.
> 
> I am struggling with this one.  First, I opened the analysis interface
> and here are the parameters I passed:
> 
> Name: Toga II 1.3.4
> Command: /usr/games/polyglot
> Parameters: /usr/games/toga2
> Directory: I tried both "." and "~/.scid

No, this is not correct. The parameter does NOT refer to the
engine as such but to a config file for polyglot. (I usually
call them something.eng to make clear it is such an engine
config.)

This eng-file is a plain text file that contains the setup
of the engine. You can set all UCI parameters there and
polyglot will do the translations. But again: you have to do
the configuration for the engine within this file, and it's
the path to this ENG file that you pass along to polyglot by
means of Scids parameter field.

> In both cases as soon as I pressed "ok" the analysis engine crashed.

Sure. It does not crash but not even start as polyglot does
not understand your binary as input.

> I realize that you wrote that I shoudl put
> /path/to/eng/togaII-1.3.1.eng in the parameters, but I don't have such
> a file:

You've ot create it yourself. See also polyglots docs. (I
think they call those files .ini) Here's a minimal version
of how it might look like for Toga:

------------------ 8< ----------------------------------------------

;===========================================
; PolyGlot INI=File for togaII-1.3.1
;===========================================

[PolyGlot]

EngineDir            = .
EngineCommand        = /opt/chess/bin/togaII-1.3.1

Log                  = true
LogFile              = /tmp/togaII-1.3.1.log

Book                 = true
BookFile             = /opt/chess/share/polyglot/book.pbk

Resign               = true
ResignMoves          = 3
ResignScore          = 600

------------------ >8 ----------------------------------------------

You have to adopt your path settings here. Note:
EngineCommand now points to your toga-binary, ie.
/usr/games/toga2. The BookFile to your opening book.

You may also tune the engine by means of the usual UCI
commands. For Toga II 1.3.1 you _can_ add the following
lines and adopt the parameters. All lines with ; are
comments and the list below also gives the ranges allowed
for the settings.


------------------ 8< ----------------------------------------------

;----- Additional commands
; ShowPonder         = true
; KibitzMove         = false
; KibitzPV           = false
; KibitzCommand      = tellall
; KibitzDelay        = 5

;----- Work arrounds
; UCIVersion         = 2
; CanPonder          = false
; SyncStop           = false
; PromoteWorkArround = false

;----------------------------------------------------------------------
; togaII-1.3.1
;----------------------------------------------------------------------

[Engine]

;----- General Options
Hash               = 256
NalimovPath        = /opt/chess/share/tablebases
NalimovCache       = 16
OwnBook            = false
; BookFile         =

;-------------------------------
;--- Engine specific section ---
;-------------------------------

; Type: spin = 0 min 0 max 3600 [0..3600]
Search Time = 0 min 0 max 3600

; Type: spin = 0 min 0 max 20 [0..20]
Search Depth = 0 min 0 max 20

; Type: check
Ponder = false

; Type: spin = 1 min 1 max 10 [1..10]
MultiPV = 1 min 1 max 10

; Type: combo= Always, Values: , Always , Fail High , Never,
NullMove Pruning = Always

; Type: spin = 3 min 1 max 4 [1..4]
NullMove Reduction = 3 min 1 max 4

; Type: combo= Always, Values: , Always , Endgame , Never,
Verification Search = Always

; Type: spin = 5 min 1 max 6 [1..6]
Verification Reduction = 5 min 1 max 6

; Type: check
History Pruning = true

; Type: spin = 70 min 0 max 100 [0..100]
History Threshold = 70 min 0 max 100

; Type: check
Futility Pruning = true

; Type: spin = 100 min 0 max 500 [0..500]
Futility Margin = 100 min 0 max 500

; Type: spin = 300 min 0 max 900 [0..900]
Extended Futility Margin = 300 min 0 max 900

; Type: check
Delta Pruning = true

; Type: spin = 50 min 0 max 500 [0..500]
Delta Margin = 50 min 0 max 500

; Type: spin = 1 min 0 max 2 [0..2]
Quiescence Check Plies = 1 min 0 max 2

; Type: spin = 100 min 0 max 400 [0..400]
Material = 100 min 0 max 400

; Type: spin = 100 min 0 max 400 [0..400]
Piece Activity = 100 min 0 max 400

; Type: spin = 100 min 0 max 400 [0..400]
King Safety = 100 min 0 max 400

; Type: spin = 100 min 0 max 400 [0..400]
Pawn Structure = 100 min 0 max 400

; Type: spin = 100 min 0 max 400 [0..400]
Passed Pawns = 100 min 0 max 400

; Type: check
Toga Lazy Eval = true

; Type: spin = 200 min 0 max 900 [0..900]
Toga Lazy Eval Margin = 200 min 0 max 900

; Type: check
Toga King Safety = false

; Type: spin = 1700 min 500 max 3000 [500..3000]
Toga King Safety Margin = 1700 min 500 max 3000

; Type: check
Toga Extended History Pruning = false

------------------ >8 ----------------------------------------------

HTH.

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to