Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is there a tool ... ?

Author: Christopher Conkie

Date: 12:06:18 01/30/06

Go up one level in this thread


On January 30, 2006 at 14:39:11, David Dahlem wrote:

>On January 30, 2006 at 14:15:26, Christopher Conkie wrote:
>
>>On January 30, 2006 at 11:27:09, David Dahlem wrote:
>>
>>>Is there a tool that will convert the final positions in a pgn file into an epd
>>>file, for example ...
>>>
>>>[Event "?"]
>>>[Site "?"]
>>>[Date "????.??.??"]
>>>[Round "?"]
>>>[White "?"]
>>>[Black "?"]
>>>[Result "*"]
>>>
>>>1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 Nc6 6. Bg5 e6 7. Qd2 a6 8.
>>>O-O-O *
>>>
>>>[Event "?"]
>>>[Site "?"]
>>>[Date "????.??.??"]
>>>[Round "?"]
>>>[White "?"]
>>>[Black "?"]
>>>[Result "*"]
>>>
>>>1. c4 c6 2. Nc3 d5 3. d4 Nf6 4. Nf3 dxc4 5. a4 Bf5 6. e3 e6 7. Bxc4 Bb4 8. O-O
>>>Nbd7 *
>>>
>>>converted to this epd ...
>>>
>>>r1bqkb1r/1p3ppp/p1nppn2/6B1/3NP3/2N5/PPPQ1PPP/2KR1B1R b kq - 0 1
>>>r2qk2r/pp1n1ppp/2p1pn2/5b2/PbBP4/2N1PN2/1P3PPP/R1BQ1RK1 w kq - 0 1
>>>
>>>Thanks
>>>Dave
>>
>>I have not tried it.
>>
>>http://www.chess-database.com/Downloads/downloads.html
>>
>>Regards
>>
>>Christopher
>
>Hi Christopher
>
>This tool is close, but it doesn't do exactly what i want. I get this type of
>output ...
>
>r1bqkb1r/1p3ppp/p1nppn2/6B1/3NP3/2N5/PPPQ1PPP/R3KB1R w KQkq -  bm O-O-O; hmvc 0;
>fmvc 7; id "? - ?";
>rn1qk2r/pp3ppp/2p1pn2/5b2/PbBP4/2N1PN2/1P3PPP/R1BQ1RK1 b kq -  bm Nbd7; hmvc 2;
>fmvc 8; id "? - ?";
>
>I just want the final position in epd format without any moves.
>
>Regards
>Dave

Hi Dave,

There is this as well......

http://annocpan.org/dist/Chess-PGN-EPD

You need Perl installed which you can get at.....

http://www.activestate.com

Regards

Christopher




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

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