many games in one PGN

Jump to forum:
 
22nd March 2008, 08:29pm
#1
by satisfice
Eastsound, WA United States
Member Since: Feb 2008
Member Points: 82

When I download a pack of games from chessgames.com, they come all in one PGN file (not a ZIP of different PGNs). The cool thing about that is that I can import them into BookUp and have a complete repertoire, ready to analyze and annotate. Shredder also treats PGN files as databases that hold multiple games.

 

I'd like to download the entire record of my games and import them into BookUp for study, but the way PGN downloads work makes it extremely laborious. 

 

I bet the code for doing this is very straightforward... 15 minutes of Perl coding...

 

Of course, I have a workaround. I could write a Perl program myself to do this, and I will. But I'm thinking of all the non-programmer chess players who wish to analyze their historical games, or who wish to prepare for a tough opponent.

 


22nd March 2008, 08:31pm
#2
by erik
Mountain View, CA United States
Member Since: May 2007
Member Points: 6398
we will do this :) you don't have to :))
22nd March 2008, 08:47pm
#3
by satisfice
Eastsound, WA United States
Member Since: Feb 2008
Member Points: 82
Thank you! That is so cool. I want to download all Reb's games and catapult myself to #1 on the site.
22nd March 2008, 09:05pm
#4
by satisfice
Eastsound, WA United States
Member Since: Feb 2008
Member Points: 82

Ooooh. But as soon as you provide that feature (it's like a discover attack) the next shoe to drop will be the desire for a filter so that, for instance, all the games where a player plays as white are selected, or all the wins are selected.

 

That feature will not be so easy to code, but perhaps one for the Big List of Future Cool Stuff for Students of Chess.

 


17th April 2008, 01:19pm
#5
by mcfrazier
Philadelphia United States
Member Since: Feb 2008
Member Points: 78

Well, put me on the list of those wanting to see this feature sooner than later. :)

 


18th April 2008, 12:19am
#6
by PerfectGent
St Andrews Scotland
Member Since: Feb 2008
Member Points: 853

take a look at the programme i put in the downloads section to do just that.

its called mergepgnfiles. 


18th April 2008, 09:42am
#7
by PerfectGent
St Andrews Scotland
Member Since: Feb 2008
Member Points: 853
satisfice wrote:

Ooooh. But as soon as you provide that feature (it's like a discover attack) the next shoe to drop will be the desire for a filter so that, for instance, all the games where a player plays as white are selected, or all the wins are selected.

 

That feature will not be so easy to code, but perhaps one for the Big List of Future Cool Stuff for Students of Chess.

 


 I had a couple of hours to spare this afternoon so i knocked up a little prog to do just that. Its called FilterPGNFiles and is in the download section now.

it will filter by players names, elo rating, game results or any combination of these. 


20th June 2008, 10:23pm
#8
by Monicker
Phoenix United States
Member Since: May 2008
Member Points: 390
I would also like to have downloaded pgn games already combined into one file.  What are the chances of being able to do the same for games in progress?
26th July 2008, 11:40am
#9
by Monicker
Phoenix United States
Member Since: May 2008
Member Points: 390

*bump*

26th July 2008, 01:00pm
#10
by erik
Mountain View, CA United States
Member Since: May 2007
Member Points: 6398

known issue :) we're working on it.

 

Add your comment:

Join Chess.com for free to add your comment! Already a member? Then login now to comment.