Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect EPD formatting #40

Open
gahtan-syarif opened this issue Feb 21, 2024 · 2 comments
Open

Incorrect EPD formatting #40

gahtan-syarif opened this issue Feb 21, 2024 · 2 comments

Comments

@gahtan-syarif
Copy link

the EPD files in this repository is incorrectly formatted as it contains raw FEN strings instead of EPD strings. for example the string rnb2rk1/pp2nppp/4p3/q1ppP3/3P2Q1/P1P5/2PB1PPP/R3KBNR w KQ - 5 9 should be rewritten as rnb2rk1/pp2nppp/4p3/q1ppP3/3P2Q1/P1P5/2PB1PPP/R3KBNR w KQ - hmvc 5; fmvn 9;. it is important to fix this as chess programs such as cutechess would automatically reset the halfmove clock and full move number to 0 and 1 respectively when fed with the FEN input. Fixing this is easy and can be done by using a basic python script.

@gahtan-syarif
Copy link
Author

fen2epd.zip

@gahtan-syarif
Copy link
Author

attached is a python script that can be used to fix the strings contained in the EPD files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant