Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: the king in fritz gui

Author: Manfred Meiler

Date: 01:43:25 01/16/03

Go up one level in this thread


On January 15, 2003 at 13:54:26, Rajen Gupta wrote:

>i have correctly configured the king 3.23 to work in the fritz gui as a uci
>engine. my question is if i load the default engine (using the command select
>new engine) and under engine parameters if i change the necessary parameters to
>whatever i select, will this engine now play with the alterd settings or does it
>continue to play with as the default chessmaster personality?
>
>thanks any info would be appreciated.


I don't understand what you exactly mean with "loading the default engine by
using the command 'select new engine'...".
It depends on which Wb2Uci.eng you're using for the King engine in Fritz:

A) Advanced method (look at Engines.txt in Wb2Uci zip file of Odd Gunnar Malin)
-------------------------------------------------------------------------------

Create The King 3.23 as adapted UCI engine in Fritz - based on the following
Wb2Uci.eng:

[ENGINE]
Name=CM 9000
Author=Johan de Koning
Filename=Wb2Uci.exe

[OPTIONS]
Program=c:\Program Files\Ubi Soft\Chessmaster 9000\TheKing.exe <individual path
!>
InitString=cm_parm default\ncm_parm opk=123456
HashCommand=cm_parm tts=%i004096
ShowThinkingMove=true
;Logfile=true
Visible=Ponder,Hash,ShowThinkingMove,Logfile,Extras

[EXTRAS]
Opponents Pawn (opp)=cm_parm opp=%i|spin|100|0|4500
Opponents Knight (opn)=cm_parm opn=%i|spin|100|0|1500
Opponents Bishop (opb)=cm_parm opb=%i|spin|100|0|1500
Opponents Rook (opr)=cm_parm opr=%i|spin|100|0|900
Opponents Queen (opq)=cm_parm opq=%i|spin|100|0|498
Kings Pawn (myp)=cm_parm myp=%i|spin|100|0|4500
Kings Knight (myn)=cm_parm myn=%i|spin|100|0|1500
Kings Bishop (myb)=cm_parm myb=%i|spin|100|0|1500
Kings Rook (myr)=cm_parm myr=%i|spin|100|0|900
Kings Queen (myq)=cm_parm myq=%i|spin|100|0|498
Opponents Centre Control (opcc)=cm_parm opcc=%i|spin|100|0|600
Opponents Mobility (opmob)=cm_parm opmob=%i|spin|100|0|600
Opponents King Safety (opks)=cm_parm opks=%i|spin|100|0|600
Opponents Passed Pawn (oppp)=cm_parm oppp=%i|spin|100|0|600
Opponents Pawn Weakness (oppw)=cm_parm oppw=%i|spin|100|0|600
Kings Centre Control (mycc)=cm_parm mycc=%i|spin|100|0|600
Kings Mobility (mymob)=cm_parm mymob=%i|spin|100|0|600
Kings King Safety (myks)=cm_parm myks=%i|spin|100|0|600
Kings Passed Pawn (mypp)=cm_parm mypp=%i|spin|100|0|600
Kings Pawn Weakness (mypw)=cm_parm mypw=%i|spin|100|0|600
Contempt (cfd)=cm_parm cfd=%i|spin|0|-500|500
Strength (sop)=cm_parm sop=%i|spin|100|0|100
Attack Defend (avd)=cm_parm avd=%i|spin|0|-100|100
Randomness (rnd)=cm_parm rnd=%i|spin|0|0|100
Selective Search (sel)=cm_parm sel=%i|spin|9|0|16
Max Depth (md)=cm_parm md=%i|spin|999|0|999

Now define another UCI engine in Fritz - let's say with the CM9_Utz12n settings:

1.) menue "Engine | Create UCI Engine ..."

2.) with the button "Browse" go to your folder with the above mentioned
Wb2Uci.eng and choose the file "Wb2Uci.exe"

3. after loading process press the button "Parameter..." and modify in the
following window "Engine Parameters:..." the values to those of CM9_Utz12n
(myq=101, cc=102, mob=102, sel=12), then press "Save" and "OK"

4. in the window "Setup UCI engine" now change the engine name (in the
line "Name:") to "CM 9000_Utz12n", then press "OK"

Now it's a new UCI engine "CM 9000_Utz12n" defined which you can select in Fritz
with "F3".


B) Pre Setup method (of Odd Gunnar Malin)
-----------------------------------------

Create The King 3.23 as adapted UCI engine in Fritz - based on the following
Wb2Uci.eng:

[ENGINE]
Name=CM 9000
Author=Johan de Koning
Filename=Wb2Uci.exe

[OPTIONS]
Program=c:\Program Files\Ubi Soft\Chessmaster 9000\TheKing.exe <individual path
!>
InitString=cm_parm default\ncm_parm opk=123456
HashCommand=cm_parm tts=%i004096
ShowThinkingMove=true
;Logfile=true
Visible=Ponder,Hash,ShowThinkingMove,Logfile,Extras

[EXTRAS]
Personality=<readfile>|combo|Default|Default|CM9_Utz12n

For selecting pre-defined personalities/settings (in this case "Default" and
"CM9_Utz12n") create txt files (in the same folder as Wb2Uci.eng)

a) Default.txt:
;---- Default.txt
; Chessmaster 9000 Default personality
cm_parm opp=100 opn=100 opb=100 opr=100 opq=100
cm_parm myp=100 myn=100 myb=100 myr=100 myq=100
cm_parm mycc=100 mymob=100 myks=100 mypp=100 mypw=100
cm_parm opcc=100 opmob=100 opks=100 oppp=100 oppw=100
cm_parm cfd=0 sop=100 avd=0 rnd=0 sel=9 md=99
;--- File end

b) CM9_Utz12n.txt:
;---- CM9_Utz12n.txt
; A CM 9000 personality created by Kurt Utzinger, SWZ
cm_parm opp=100 opn=100 opb=100 opr=100 opq=100
cm_parm myp=100 myn=100 myb=100 myr=100 myq=101
cm_parm cc=102 mob=102 ks=100 pp=100 pw=100
cm_parm cfd=0 sop=100 avd=0 rnd=0 sel=12 md=99
;---- File end

To switch between these settings/personalities in Fritz do the following:
Right mouse click in window "Main engine Pain", select "Properties"; in the
following window "Engine parameters: ..."  now you can switch between
(King-)Default and CM9_Utz12n.
Important: Switching between the King settings with F3 (change main engine) and
button "Engine parameters" will be without effect: The King engine then will
always play with the Default settings.

Manfred



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.