likeawizard / polyglot-composer

A library to compose polyglot opening books from PGN game collections
GNU General Public License v3.0
6 stars 0 forks source link

Error parsing SAN moves #19

Closed irciks closed 1 year ago

irciks commented 1 year ago

Error parsing SAN moves. Error not written to the error log, but printed in console.

Error message examples: 2022/11/23 22:31:05 move: Ng1xe2 pgn: {Event:Rated Bullet game Result:0-1 Moves:1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Nxe4 Nf6 5. Ng3 Bg4 6. Be2 Bxe2 7. Ng1xe2 e6 8. Bg5 Be7 9. Qd2 Nbd7 10. O-O-O Qb6 11. Kb1 a5 12. Nc3 a4 13. a3 Bxa3 14. Qc1 Nd5 15. Nge4 Nxc3+ 16. Nxc3 Ra5 17. Ka1 Rxg5 18. bxa3 Rxg2 19. Rhg1 Rxg1 20. Rxg1 Qxd4 21. Kb2 Ke7 22. Qg5+ Nf6 23. Qxg7 Rg8 0-1}

2022/11/23 22:31:05 move: Nd2xf3 pgn: {Event:Rated Blitz game Result:1-0 Moves:1. d4 f6 2. Nf3 d6 3. e3 e5 4. dxe5 dxe5 5. Qxd8+ Kxd8 6. Bc4 Bf5 7. Bxg8 Rxg8 8. c3 Bd6 9. O-O Re8 10. Nbd2 e4 11. Nd4 Bg6 12. f3 exf3 13. Nd2xf3 c5 14. Nb5 Nc6 15. Nxd6 Re6 16. Nxb7+ Kc8 17. Nxc5 Re8 18. Nd4 Nxd4 19. exd4 Kc7 20. Bf4+ Kc6 21. Rfe1 Rab8 22. Bxb8 Rxb8 23. Re6+ Kd5 24. Re2 h5 25. b4 Rb5 26. Ne6 Rb7 27. Rae1 Bd3 28. Nf4+ Kc4 29. Nxd3 Kxd3 30. Re7 Rb6 31. Rxg7 Ra6 32. d5 Rxa2 33. Rge7 Kxc3 34. d6 Rd2 35. Rc7+ Kxb4 36. d7 Kb5 37. Rb1+ Ka6 38. Rb8 f5 39. d8=Q Re2 40. Qd3+ 1-0}