Computer Chess Club Archives




Subject: Re: Conversion to dual positions for EPD testsuites?

Author: Andreas Stabel

Date: 00:53:49 11/27/01

Go up one level in this thread

On November 27, 2001 at 03:48:09, Andrew Williams wrote:

>On November 27, 2001 at 00:52:58, Leen Ammeraal wrote:
>>On November 26, 2001 at 17:58:38, Vincent Diepeveen wrote:
>>>On November 26, 2001 at 12:47:59, Dann Corbit wrote:
>>>>On November 26, 2001 at 12:43:49, Leen Ammeraal wrote:
>>>>By the permutator viewer of Les Fernandez.
>>>Or one mouse click in DIEP or in Shredder5 :)
>>This may be very useful for single positions, but
>>what I want is a conversion program to convert
>>a testsuite, say wac.epd, into another testsuite,
>>say wacDual.epd, in which the roles of White and
>>Black are reversed, including the final part
>>(bm ...) of each line, as I showed in my example.
>>Therefore I am afraid this permutation viewer
>>suggested by Dann is not precisely what I want
>>It might have been easier for me to write
>>this rather simple conversion program myself
>>than writing all these postings -:).
>There is such a tool. It's called rfen.c I'll
>send it to you, but you have to compile it
>yourself. I'm afraid I don't know the origin of
>it. I know that the author sent it to me a few
>years ago, then I lost it and someone else sent
>me a copy.

I think I have made the program. It can transform FEN positions in many was
like switch black and white, mirror left and right side (if no castling) and
it can even rotate a position 90 degrees if there are no pawns.
If I remember correctly, it processes a whole file of one line FEN positions.
I hope you find it useful (if it really is the program I wrote :)

Andreas Stabel

This page took 0.02 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.