You need use POLYGLOT for that.
http://rebel13.nl/download/books.html
Moderators: hgm, Rebel, chrisw
To strip duplicate EPDs, use "epdSingle" from "40H-EPD Tools". Readme is below. You can find the download at http://komodochess.com/pub/40H-pgn-utilities/
Code: Select all
=========================(24) epdSingle ============================
"epdSingle" removes records containing the same position as a previous
record in the "epd" file. The removed records are saved.
Positions having the same "piece placement", "side to move", "castling
rights' and valid "en passant" target square values, are considered to
be the same position.
Positions with the same "piece placement", but differing in either
side to move, castling rights or valid "en passant" rights are
considered to be different positions.
"epdSingle" requires false/invalid "enpassant" target square values
to be removed prior to use. The tool "epdEnPass" removes them.
Records with the same position can have different opcodes.
The order of records and the opcodes are not changed.
Blank lines are removed.
The output file is outA.epd. The removed records are saved in
excludeA.epd
Syntax: epdSingle filename.epd
Example: epdEnPass alpha.epd
epdSingle outEP.epd
Output: outA.epd, excludeA.epd