Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Looking for PGN Utility

Author: Marc Lacrosse

Date: 07:21:25 08/27/05

Go up one level in this thread


On August 27, 2005 at 09:34:48, Günther Simon wrote:

>On August 27, 2005 at 09:30:27, Jeff Lischer wrote:
>
>>Is there any utility that will take a pgn file of complete games and export a
>>file with only the first N moves of the games? Thanks!
>
>Yace can do this, but I don't have the commands handy right now.
>I believe Dieter even explained it again here, in the last two days :)
>
>Guenther

PGNsplit is able to do that and even more : If your original file has games with
variations it can either ignore variations or create one new game per variation.

You find it at
http://home.online.no/~malin/sjakk/download/PgnSplit.zip

*  PgnSplit v.1.1 by Odd Gunnar Malin
*
*  Syntax: PgnSplit [options] inputfile outputfile

*  Options:
*     /c 0|1      - Write comment to outpufile, default=1
*     /m <number> - Max moves/game. ex /m 10, default=999
*     /n 0|1      - Expand nag values, default=1
*     /v 0|1      - Extend variation, default=1
*
*  This tool will take an inputfile in pgn-format with variations
*  and output each variation as a separate game into the outputfile.

IMHO this is one of the most useful PGN utilities.

Marc



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.