I want to solve a problem with Thomas Maeder's excellent Popeye engine, and to specify that a possible en passant in the diagram is ok. How can I do this please? The documentation seems opaque. Thanks so much!

See https://github.com/thomas-maeder/popeye/releases/tag/v4.81

EDIT: Outside chess, I see stackexchange used widely to ask technical questions about software use (indeed use it myself like this sometimes), and I think this is fair use in chess too.

  • 1
    Thanks for your interest. Software is only marked as a grey areas in chess.stackexchange scope, so any vote for closure should reasonably include an indication of why this particular question is deemed inappropriate. More broadly, one of the big wins of stackexchange is to give answers how to use technology, and it seems odd to exclude this usage here. Please vote to reopen thanks – Laska Oct 8 '19 at 6:46
  • 1
    @Rewan Demontay And whoever it is chose not to explain their action. Just a little fun for them, I can only conclude... – Laska Oct 9 '19 at 15:42
  • 2
    Hi Laska, this post seems to be well answered please consider accepting either of the answers to give the post closure. Your answer seems to be nice working example, so do feel free to accept your own answer, in fact it is even encouraged! Thanks for considering it! – user929304 Oct 12 '19 at 11:41
  • Hi @user929304 thanks I have accepted Brian’s answer because it’s helpful beyond the original question – Laska Oct 13 '19 at 5:03

The github page lists several help files in various languages: English, French and German. These are text files which can be downloaded. English is clearly not Thomas Maeder's mother tongue, I'm guessing German. Perhaps the German help file is clearer than the English.

As far as I can tell from the English file there is a long list of options you can pass to the program to define the problem you want it to solve. For en passant it defines the "EnPassant" option as follows:

EnPassant - Must be followed by 3-4 squares which indicate the pawn move just played:

  • departure square
  • avoided squares
  • arrival square
| improve this answer | |

Thanks, inspired by Brian's response, I have tried the following input:

prot outputp.txt 
piec White Kf5 Qf8 Ph5 Black Kh7 Pg5 
stip #1
opti enpa g7g6g5S 
piec White Kf5 Pg4 Rf6 Black Kh4 Pf4 
stip h#1
opti enpa g2g3g4

which successfully gives the following outputs:

1.h5*g6 ep. #
1.f4*g3 ep. Rf6-h6 #

So I think that's it. Thanks again.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.