UCCI engine communication question

Discussion of chess software programming and technical issues.

Moderator: Ras

fire_varan
Posts: 22
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

UCCI engine communication question

Post by fire_varan »

Hi everyone.

The question is:

If I communicate with any UCCI engine I have (other than UFX) everything is OK
Image
But in case of UFX engine, it tends to play on the same side as I.
Image
But, if I connect UFX engine to WinBoard, everything is working just fine.
I have examined UCCI2WB code in order to determine what been sent to the stdin of engine, but did not find anything special.
Does anyone have a clue what I am missing?

Engines are here in case anyone needs them

https://easyupload.io/sybp7k
fire_varan
Posts: 22
Joined: Mon Dec 23, 2024 1:32 am
Full name: Anatoliy Sova

Re: UCCI engine communication question

Post by fire_varan »

Found out that it works ok if using position fen <fenstring> moves ... instead of position startpos moves ...
User avatar
hgm
Posts: 28273
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: UCCI engine communication question

Post by hgm »

I think 'position startpos' is not a valid command in UCCI. One always has to use 'fen' there to set up e position, even if it is the normal start postition for xiangqi. The idea of the designer of UCCI was probably that 'startpos' should be reserved for the initial position of orthodox chess.