PGN Files for Opening Book

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
cms271828
Posts: 316
Joined: Wed Apr 12, 2006 10:47 pm

PGN Files for Opening Book

Post by cms271828 »

Hi, I'm building a large opening book.

I was using a pgn file with 1.7 million games, but after scanning through them, theres quite a few mistakes in some games(algebraic notation has errors), and some games contain no moves at all.

Can anyone recommend a large collection of pgn files covering a broad range of openings. I'm thinking 1-1.5 million games which I can store on server database for my engine to use.

Thanks
Colin
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: PGN Files for Opening Book

Post by Jim Ablett »

cms271828 wrote:Hi, I'm building a large opening book.

I was using a pgn file with 1.7 million games, but after scanning through them, theres quite a few mistakes in some games(algebraic notation has errors), and some games contain no moves at all.

Can anyone recommend a large collection of pgn files covering a broad range of openings. I'm thinking 1-1.5 million games which I can store on server database for my engine to use.

Thanks
Hi Colin,

Norm Pollock has some excellent pgn collections and also some superb pgn tools for cleaning up and processing pgn files on his site >

http://www.hoflink.com/~npollock/chess.html

Jim.
User avatar
cms271828
Posts: 316
Joined: Wed Apr 12, 2006 10:47 pm

Re: PGN Files for Opening Book

Post by cms271828 »

Thanks, I've decided to use 1.1 million games from here instead...
http://www.pgnmentor.com/files.html#openings

Thats about 6.8 million positions.

Feel free to use the opening book I built from them...
http://www.colin-java.co.uk/J-C4/ChessOB.htm

Theres an applet to explore the moves, the top 4 for each position is stored in MySql database, and the most popular is shown in red in the applet.

To use with an engine, you need to pass the FEN for the position as POST parameter to the servlet www.colin-java.co.uk/JC4/BookServlet, this should return a list of moves, or "NONE".

Let me know if there are any ideas for changes/improvements, thanks.[/url]
Colin