Introducing ucitap and ucinetwork tools

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

Moderator: Ras

cpeters
Posts: 214
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: Introducing ucitap and ucinetwork tools

Post by cpeters »

AdminX wrote: PS: That will not work if using En Croissant. This method does however.
Hello!

Yes, I encountered problems (I think UCI-related) in En Croissant and the its fork, too:

Installing an emulated dedicated machine (openend a pipe through mame which works with almost everything, foremost cutechess(-cli)) fails in the sense that It got recognised and the emulator is initialized but it doesn't compute from there on (match against me).
But I think the fault is on my side (stupidity).


However:

In Pawn-Appetit adding remote-engines works (should be applicable to en croissant)

in engines.json:

Code: Select all

    {
        "type": "local",
        "version": "",
        "name": "Rodent-remote",
        "path": "/home/cp/schach/rod-remote/polyglot",
        "image": "",
        "loaded": true,
        "settings": []
    }
In the rod-remote directory lies a polyglot binary and a polyglot.ini:

Code: Select all

[PolyGlot]

EngineName = Rodent
EngineDir = /home/cp/schach/rod-remote
EngineCommand = ssh -p 5555 'cp@remote' /home/cp/schach/rodent-iv/builds/rodentIV
Log = true
LogFile = rodent.log
[Engine]
Works... but cumbersome :-)

But the chessbase-enthusiasts should test the ucinetwork tools!
I think it should be neat on a windows laptop and useful.


greetings
User avatar
jshriver
Posts: 1387
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Introducing ucitap and ucinetwork tools

Post by jshriver »

cpeters wrote: Wed Feb 11, 2026 9:48 pm an emulated dedicated machine (openend a pipe through mame
Off topic, but you have me curious. What are you using Mame for? I know it has emulation outside the arcade games it's known for but you're using it to play a uci version of Rodent? The whole process here is perplexing me in a curious way.
cpeters
Posts: 214
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: Introducing ucitap and ucinetwork tools

Post by cpeters »

Hello Josh!

I don't know whether I understood your question.

I used to do this:
viewtopic.php?t=76820&start=20

With mame, yes.

Nowadays I just offer a bot on LiChess:
https://lichess.org/@/Brettcomputer

Works just the same. Rarely - to get an idea about the strength elowise of an weakened engine - I set up matches between an emulated dedicated machine and an (modern) engine whithin cutechess.
The windows-people have got Franz Hubers CB-EMU-package (which uses mame also), for the unixlike systems on has just vanilla MAME (or a compiled fraction of this program with just the chess-related drivers and their dependencies included) or look (mount the iso) into the releases of pico-chess.
The difference is, that Franz offers a massive amount of playable machines whereas...

If you're interested in playing against emulated hardware on you mobile, you might want to install mame (it's on the google playstore) on your android-phone. For iOS I compiled and installed on my iphone 'mame4ios' in the past (no need to do that anymore, because it got accepted in the apple-store): one could load the chess-computers just fine there also, but playing with them is awkward, as there is currently no such thing as a 'touch ui' for these systems like on android: I had to map the coordinates to a translucent keyboard to enter some moves - nahhh.

greetings
User avatar
jshriver
Posts: 1387
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Introducing ucitap and ucinetwork tools

Post by jshriver »

AdminX wrote: Tue Feb 10, 2026 11:40 am Thanks for sharing this Josh! It works like a charm. I am using it on two Linux systems and with a Cutechess GUI. :D

PS: The next test will be using it with a outside network across the internet.
Sorry to bother you, was wondering if you had a chance to test it over the internet and if so any issues? I'm working on a modest update mostly to add authentication to it for a modicum of security so not anyone can randomly telnet into it (bots, scanners, etc).
User avatar
AdminX
Posts: 6380
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Introducing ucitap and ucinetwork tools

Post by AdminX »

jshriver wrote: Wed Feb 18, 2026 1:11 am
AdminX wrote: Tue Feb 10, 2026 11:40 am Thanks for sharing this Josh! It works like a charm. I am using it on two Linux systems and with a Cutechess GUI. :D

PS: The next test will be using it with a outside network across the internet.
Sorry to bother you, was wondering if you had a chance to test it over the internet and if so any issues? I'm working on a modest update mostly to add authentication to it for a modicum of security so not anyone can randomly telnet into it (bots, scanners, etc).
No not yet, hope to get to it by the weekend. I got sidetracked trying to get CSTal to work with it on Linux using wine. I have CSTal working with wine, but the two working together is problematic, at least with Cutechess. I have not tried other GUI's yet. It may just be a Cutechess thing.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
jshriver
Posts: 1387
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Introducing ucitap and ucinetwork tools

Post by jshriver »

AdminX wrote: Wed Feb 18, 2026 1:31 am
jshriver wrote: Wed Feb 18, 2026 1:11 am
AdminX wrote: Tue Feb 10, 2026 11:40 am Thanks for sharing this Josh! It works like a charm. I am using it on two Linux systems and with a Cutechess GUI. :D

PS: The next test will be using it with a outside network across the internet.
Sorry to bother you, was wondering if you had a chance to test it over the internet and if so any issues? I'm working on a modest update mostly to add authentication to it for a modicum of security so not anyone can randomly telnet into it (bots, scanners, etc).
No not yet, hope to get to it by the weekend. I got sidetracked trying to get CSTal to work with it on Linux using wine. I have CSTal working with wine, but the two working together is problematic, at least with Cutechess. I have not tried other GUI's yet. It may just be a Cutechess thing.
Hrm interesting, just grabbed CSTal Extreme. I'm a linux guy normally so will try seeing if I can get it to work too with wine. Then ucinetwork locally.

Curious do you do a lot of engine vs engine testing? I dont have a site setup yet but planning for the future. I'd love those raw logs compress/json that ucinetwork can do for my openchessdb project. Added that feature in hopes of the future even idle analsys people might be willing to help donate analsys logs to the project.
User avatar
AdminX
Posts: 6380
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Introducing ucitap and ucinetwork tools

Post by AdminX »

jshriver wrote: Wed Feb 18, 2026 4:48 am
AdminX wrote: Wed Feb 18, 2026 1:31 am
jshriver wrote: Wed Feb 18, 2026 1:11 am
AdminX wrote: Tue Feb 10, 2026 11:40 am Thanks for sharing this Josh! It works like a charm. I am using it on two Linux systems and with a Cutechess GUI. :D

PS: The next test will be using it with a outside network across the internet.
Sorry to bother you, was wondering if you had a chance to test it over the internet and if so any issues? I'm working on a modest update mostly to add authentication to it for a modicum of security so not anyone can randomly telnet into it (bots, scanners, etc).
No not yet, hope to get to it by the weekend. I got sidetracked trying to get CSTal to work with it on Linux using wine. I have CSTal working with wine, but the two working together is problematic, at least with Cutechess. I have not tried other GUI's yet. It may just be a Cutechess thing.
Hrm interesting, just grabbed CSTal Extreme. I'm a linux guy normally so will try seeing if I can get it to work too with wine. Then ucinetwork locally.

Curious do you do a lot of engine vs engine testing? I dont have a site setup yet but planning for the future. I'd love those raw logs compress/json that ucinetwork can do for my openchessdb project. Added that feature in hopes of the future even idle analsys people might be willing to help donate analsys logs to the project.
Yeah, it appears to be a Cutechess thing. It is working with Corechess using your adapter. As for engine testing it's been a while, I am just now getting back into it.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers