aclap-dev / joclyboard

Multiplatform 3D/2D desktop application for playing board games
Other
44 stars 20 forks source link

Installed CECP engine does not play #16

Closed fsmosca closed 7 years ago

fsmosca commented 7 years ago

I use JoclyBoard 0.9.12 on windows 7 and installed fairy-max engine attempting to setup capablanca variant.

Engine Config:

image

Setup capablanca game, change player then save.

image

Play a move and the engine does not play.

I am using the following Fairy-Max, tested on winboard GUI and it would play.

feature myname="Fairy-Max 4.8V" feature memory=1 feature setboard=0 xedit=1 ping=1 done=0 feature variants="normal,nocastle,shatranj,asean,makruk,cambodian,ai-wok,courier ,knightmate,capablanca,gothic,falcon,cylinder,berolina,super,seirawan,spartan,gr

How this is done correctly to work in JoclyBoard?

leytilera commented 7 years ago

you are right. i testet it with faitymax from winboard 4.8 and it also dont worked. but yesterday it worked with the 4.7 version.

fsmosca commented 7 years ago

@MineProjectZ

I downloaded winboad 4.7.3 here. http://www.open-aurec.com/wbforum/viewtopic.php?f=19&t=51528&start=4

It contains fairy-max 4.8S

It still does not work.

What do you mean by 4.7 version? Winboard 4.7 or Fairy-Max 4.7?

leytilera commented 7 years ago

Fairy max

mi-g commented 7 years ago

Your setup is incorrect. In the engines documentation page, the fields Game, Protocol and Details are there to organize the manual and they should not appear in the config. Actually, your config should just be:

variant: capablanca

I gave it a try using FairyMax 4.8V (standard version on Ubuntu 17.04) and it worked without problem.

Please confirm it now works for you and close this issue.

fsmosca commented 7 years ago

@mi-g

I am now using the following setting, but still does not work. I am on windows 7.

image

Is there a log in Joclyboard that we can see how it communicates with the engine?

fsmosca commented 7 years ago

@MineProjectZ

Where did you get the Fairy-Max v4.7?, I assume your are using windows OS.

leytilera commented 7 years ago

In my winboard 4.7 was fairy Max 4.7

fsmosca commented 7 years ago

@MineProjectZ

I try to find the Fairy-Max 4.7 but could not find it.

Winboard 4.6.2, Fairy-Max 4.8Rt Winboard 4.5.3, Fairy-Max 4.8R Winboard 4.4.4, Fairy-Max 4.80 Winboard 4.7.3, Fairy-Max 4.8S

So perhaps Fairy-Max 4.7 is from an older winboard beyond 4.6.2.

I stop searching this version now. It is better to try the latest version of it.

fsmosca commented 7 years ago

@mi-g

I tried to log Fairy-Max sent and received commands, but get nothing because, Jocly failed to load the Fairy-Max engine. I can also observe Fairy-Max cannot be found in Windows Task Manager after starting the game.

I tried changing the engine paths but it seems like JoclyBoard failed to find the engine. The following has been tried but failed.

c:\engines\fmax.exe
c:\\engines\\fmax.exe
c:/engines/fmax.exe
mi-g commented 7 years ago

Can you run FairyMax manually from cmd or powershell by typing the command c:\engines\fmax.exe ?

mi-g commented 7 years ago

Try this as your Details field:

variant: capablanca
workingDir: c:\\engines
debug: 1
fsmosca commented 7 years ago

@mi-g

Can you run FairyMax manually from cmd or powershell by typing the command c:\engines\fmax.exe ?

fmax does not run, it has problem reading fmax.ini file.

image

fsmosca commented 7 years ago

@mi-g

This one works, thank you.

variant: capablanca
workingDir: c:\\engines
debug: 1