Fritz question

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Gabor Szots
Posts: 1552
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Fritz question

Post by Gabor Szots »

Do you know a way to pass a command line parameter to Fritz when installing an engine? E.g. Absolute Zero requires '-u' in the command line but Fritz does not seem to accept it.
Gabor Szots
CCRL testing group
User avatar
hgm
Posts: 28503
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Fritz question

Post by hgm »

I think people make a batch file containing the engine command, and use that as an engine. It should also be possible to do this with InBetween as adapter.
User avatar
Gabor Szots
Posts: 1552
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: Fritz question

Post by Gabor Szots »

hgm wrote: Fri May 05, 2023 10:34 pm I think people make a batch file containing the engine command, and use that as an engine. It should also be possible to do this with InBetween as adapter.
Unfortunately Fritz does not accept batch files.
Gabor Szots
CCRL testing group
User avatar
hgm
Posts: 28503
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Fritz question

Post by hgm »

Ah. But InBetween should still work. What I remember of it is that you can put the executable in the engine's directory, and invoke it there without arguments. It then reads an ini file in that directory which specifies what engine to run and where. You can also define all kind of substitutions in the commands that go back and forth, but you won't need that.
User avatar
Gabor Szots
Posts: 1552
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: Fritz question

Post by Gabor Szots »

hgm wrote: Sat May 06, 2023 7:58 am Ah. But InBetween should still work. What I remember of it is that you can put the executable in the engine's directory, and invoke it there without arguments. It then reads an ini file in that directory which specifies what engine to run and where. You can also define all kind of substitutions in the commands that go back and forth, but you won't need that.
Thank you HG.
Gabor Szots
CCRL testing group
User avatar
Gabor Szots
Posts: 1552
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: Fritz question

Post by Gabor Szots »

Your InBetween suggestion works. And I have found another way. I have created an eng file manually, here is how it looks (example using Pedantic):
[ENGINE]
Name=Pedantic 0.2.1 64-bit
Author=JoAnn D. Peeler
Filename=E:\Sakk\UCI-engines\Pedantic\Pedantic_0.2.1-x64.exe
Parameter=uci
[OPTIONS]
OwnBook=false
MaxThreads=1
Fritz is able to read that file and run the engine. I did not know that the line 'Parameter=...' can be used with Fritz as well, I borrowed the idea from the Shredder GUI.
Gabor Szots
CCRL testing group