import The King into Fritz 13

p8q

Thank you! it's very nice to know with certainty that TheKing engine in my computer is running at its maximum depth. Now it's being confirmed that TheKing in middlegame has from 10 to 15 plies depth.

And it looks like that depth is deep enough, because in 6 games vs stockfish10 at level 19 (around 2900 elo), it got 3 points! That means that TheKing is around 2900 strength, which is what claims the Chessmaster GUI in my computer. I still will play some more tournaments at different time controls to confirm. In this games it was set at 10 minutes per game:

About Arena "engine analysis output" settings... this is strange. I have it set at "move number of the current game" which is the option to show those numbers. That's the reason it works with every chess engine in arena except with TheKing:

If it were because of any Arena setting, it would show the same for the rest of engines.

Another very strange thing: If I set any of TheKing engines i have as UCI it doesn't work at all. That's the reason i set them as winboard. How can it work in yours as UCI? I would like to have it with those nice integer numbers you have tongue.png

P.S. maybe it's because my Arena version is 3.5.1?

EscherehcsE

I doubt that it's due to the different Arena versions.

Odd, on the move number setting, I didn't try the second setting - I used the third setting "move number within the line". But, I wouldn't bet that that's the problem. I have nothing solid to back up my gut feeling, but I'd guess that it may be due to the UCI vs WB issue. I'm guessing that you didn't try using a Wb2Uci adapter? (I'm hoping I discussed the details of the adapter in one of my older threads?)

p8q

I just checked another winboard engine (Phalanx25). It doesn't show move number. So it could be a setting only for winboard engines, I have to delve deeper into Arena settings. But the depth number is correct unlike TheKing engines.

I checked "move number within the line" setting and still doesn't work.

 I'm guessing that you didn't try using a Wb2Uci adapter? Exactly, I didn't. I'm going to test that to see if that's the problem happy.png

EscherehcsE

There may be a number of versions of Wb2Uci that work, but the version I use is Wb2Uci_1.3_B21.zip

You can download it here: https://web.archive.org/web/20070604142131/http://home.online.no/~malin/sjakk/Wb2Uci/

 

Here's the info that I put into my Wb2Uci.eng file for my Chessmaster 11 (32-bit) patched engine:

[ENGINE]
Name=Chessmaster 11 w32
Author=Johan de Koning
Filename=Wb2Uci.exe

[OPTIONS]
Program=TheKing350.exe
InitString=cm_parm default\cm_parm opk=937652 opp=100 opn=100 opb=100 opr=100 opq=100 myp=100 myn=100 myb=100 myr=100 myq=100 mycc=100 mymob=100 myks=100 mypp=100 mypw=100 opcc=100 opmob=100 opks=100 oppp=100 oppw=100 cfd=0 sop=100 avd=0 rnd=5 sel=14 md=99
HashCommand=cm_parm tts=134217728 ttu=9
MateScore=10000
InitTime=4
Ponder=false
Logfile=false
Edit=edit
UseSAN=false
logfile=false
ownbook=false
Priority=normal
AddHintMove=false
Protocol=1
LevelExtend=Progressive
computer=true
Analyze=true
UseUndo=true
Visible=Ponder,Hash

 

You might need to make a few minor tweaks to the Wb2Uci.eng file, but this should get you mostly there. (You may need to adjust the hashtable size. I think mine's set for 128 MB.)

When you install the engine into Arena, you'll need to link to the Wb2Uci.exe file, NOT TheKing350.exe, and make sure you specify it to be a UCI engine. And don't put any info in Arena's "Init string" line, as it's already listed in the Wb2Uci.eng file.

p8q

Thank you very much! I was reading about all this stuff before you posted that helpful information, and it all looked sooo complicated. And the engine is working well already... and do you know what could happen when something already works and i try to fix it? hehehe tongue.png 

Anyways I will delve into it, because most sure I will want TheKing working in another different chess GUI that doesn't support winboard.

I'll update here if i succeded in all this software adventure grin.png I hope it helps to other users too that could one day read this forum.

EscherehcsE

Oh, also note that Arena won't display the correct hashtable size, but you can verify the correct hashtable size by opening up your Windows task manager.

p8q

ok, i'll take it into account, thank you happy.png All that information is very helpful, i think i'll be able do it. I'm modifying the .eng file right now

P.S. by the way, I'm going to do it with the unpatched engine, just to see if it works with that one (applying the correct opk number to .eng file).

p8q

yuuuhuuu!!! that was the problem, the underlines in the name of the engine!

Now it works flawlessly!! grin.pnggrin.pnggrin.pnggrin.png

omg i feel so happy grin.png

I paste here screenshots and what i wrote for other possible readers clarification:

 

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

[OPTIONS]
Program=TheKing350UCI.exe
InitString=cm_parm default\cm_parm opk=937652 opp=100 opn=100 opb=100 opr=100 opq=100 myp=100 myn=100 myb=100 myr=100 myq=100 mycc=100 mymob=100 myks=100 mypp=100 mypw=100 opcc=100 opmob=100 opks=100 oppp=100 oppw=100 cfd=0 sop=100 avd=0 rnd=0 sel=14 md=99
HashCommand=cm_parm tts=134217728 ttu=9
MateScore=10000
InitTime=4
Ponder=false
Logfile=false
Edit=edit
UseSAN=false
logfile=false
ownbook=false
Priority=normal
AddHintMove=false
Protocol=1
LevelExtend=Progressive
computer=true
Analyze=true
UseUndo=true
Visible=Ponder,Hash

EscherehcsE

If you changed the name of the King engine, make sure the name change is reflected in the first Options line in your .eng file.

p8q

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

[OPTIONS]
Program=D:\CHESS\arena_3.5.1\Engines\The king patched UCI\TheKing350_patched_UCI.exe
InitString=cm_parm default\cm_parm opk=937652 opp=100 opn=100 opb=100 opr=100 opq=100 myp=100 myn=100 myb=100 myr=100 myq=100 mycc=100 mymob=100 myks=100 mypp=100 mypw=100 opcc=100 opmob=100 opks=100 oppp=100 oppw=100 cfd=0 sop=100 avd=0 rnd=0 sel=14 md=99
HashCommand=cm_parm tts=134217728 ttu=9
MateScore=10000
InitTime=4
Ponder=false
Logfile=false
Edit=edit
UseSAN=false
logfile=false
ownbook=false
Priority=normal
AddHintMove=false
Protocol=1
LevelExtend=Progressive
computer=true
Analyze=true
UseUndo=true
Visible=Ponder,Hash

 

In Arena i installed engine Wb2Uci.exe with UCI configuration, and i didn't write anything else anywhere, didn't write anything in "Init string". I used the patched engine just in case.

EscherehcsE

In the first Options line (starts with Program), I never tried putting in the full file path - I don't know if that's allowed. Just make sure the Wb2Uci files are in the same folder as the engine file, and leave off the path info.

p8q

I also tried this:

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

[OPTIONS]
Program=TheKing350_patched_UCI.exe
InitString=cm_parm default\cm_parm opk=937652 opp=100 opn=100 opb=100 opr=100 opq=100 myp=100 myn=100 myb=100 myr=100 myq=100 mycc=100 mymob=100 myks=100 mypp=100 mypw=100 opcc=100 opmob=100 opks=100 oppp=100 oppw=100 cfd=0 sop=100 avd=0 rnd=0 sel=14 md=99
HashCommand=cm_parm tts=134217728 ttu=9
MateScore=10000
InitTime=4
Ponder=false
Logfile=false
Edit=edit
UseSAN=false
logfile=false
ownbook=false
Priority=normal
AddHintMove=false
Protocol=1
LevelExtend=Progressive
computer=true
Analyze=true
UseUndo=true
Visible=Ponder,Hash

 

And nothing happens when running the engine:

EscherehcsE

The name you gave the engine file - Did you use spaces or underscores? It might make a difference. I would avoid using spaces - it might cause a problem.

Everything else looks OK as far as I can tell.

EscherehcsE

Oh, and assuming you eventually get it working, you can also change the name of the engine in the Arena engine management window to something else, as long as you don't change the command line info.

p8q
EscherehcsE wrote:

Oh, and assuming you eventually get it working, you can also change the name of the engine to something else, as long as you don't change the command line info.

yuuuhuuuu!!! it worked!! the problem was the underline in the name of the engine!

 

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

[OPTIONS]
Program=TheKing350UCI.exe
InitString=cm_parm default\cm_parm opk=937652 opp=100 opn=100 opb=100 opr=100 opq=100 myp=100 myn=100 myb=100 myr=100 myq=100 mycc=100 mymob=100 myks=100 mypp=100 mypw=100 opcc=100 opmob=100 opks=100 oppp=100 oppw=100 cfd=0 sop=100 avd=0 rnd=0 sel=14 md=99
HashCommand=cm_parm tts=134217728 ttu=9
MateScore=10000
InitTime=4
Ponder=false
Logfile=false
Edit=edit
UseSAN=false
logfile=false
ownbook=false
Priority=normal
AddHintMove=false
Protocol=1
LevelExtend=Progressive
computer=true
Analyze=true
UseUndo=true
Visible=Ponder,Hash

Now it works flawlessly!

 

Thank you very very very much!!!!! :-D i feel so happy

EscherehcsE

Awesome! :-)

p8q
EscherehcsE wrote:

Awesome! :-)

happy.pngthumbup.png omg, i don't know what we would you without your help