PGN 2 SquareSquare converter

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

PGN 2 SquareSquare converter

Postby BitSet » 23 Apr 2011, 12:41

Hi,
I'd like to rewrite my evaluation and use GLEM. I'll need to convert games in PGN format into simple "source square destination square" format. Before I start writing my own tool, I'd like to ask if there is already available some standalone tool or library (C++) for this purpose. Simple example of what I want to do is: 1. d4 (PGN) -> d2d4.
BitSet
 
Posts: 23
Joined: 27 Feb 2010, 16:25

Re: PGN 2 SquareSquare converter

Postby Dann Corbit » 23 Apr 2011, 14:55

I seem to recall that thinker's book manager can rewrite PGN games as single lines in the format you desire.
It may have been a different tool, though. It has been a while since I fiddled with it.
Dann Corbit
 

Re: PGN 2 SquareSquare converter

Postby BitSet » 24 Apr 2011, 07:18

Thanks for tip! But I have no idea how use BookThinker. There is no help available.
BitSet
 
Posts: 23
Joined: 27 Feb 2010, 16:25

Re: PGN 2 SquareSquare converter

Postby BitSet » 25 Apr 2011, 09:58

I've found C++ library that can be very useful:
http://pgnlib.sourceforge.net/
BitSet
 
Posts: 23
Joined: 27 Feb 2010, 16:25


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 16 guests