trim v1.2 update

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

trim v1.2 update

Postby Norm Pollock » 16 Aug 2006, 18:56

trim.exe is my utility to remove move-wrap from pgn files. Move-wrap is word-wrap of moves. trim is also able to change the width of the pgns. It can now also truncate pgn files to a maximum number of plies (half moves).

Temporarily you can download it from:

http://www.hoflink.com/~npollock/trim12.rar

I want to thank Jim Ablett for hosting trim and my other utilities on his excellent site. Hopefully trim 1.2 will be up there soon. Thanks Jim.

Here are the improvements from the previous released version (v1.0).

1. trim now removes comments. Before you had to use another program to remove comments from your pgn file before using trim.exe.

2. trim now is able to truncate the pgns to a maximum number of plies (half-moves).

notes on usage in a Windows command window:

trim.exe creates an output file "outR.pgn" without changing the input file.

Usage:

trim alpha.pgn

OR

trim alpha.pgn <widthNumber>

OR

trim alpha.pgn <widthNumber> <maxNumberPlies>

The optional widthNumber sets the width of the output data from 50 to 100 characters. The default width is 75 characters.

The optional maxNumberPlies sets the maximum number of plies (half-moves) that will be output.

Notice that a width number has to first be specified each time you want to specify a max number of plies.
Norm Pollock
 
Posts: 217
Joined: 27 Sep 2004, 02:52

Re: trim v1.2 update

Postby Roger Brown » 17 Aug 2006, 10:11

Norm Pollock wrote:trim.exe is my utility to remove move-wrap from pgn files. Move-wrap is word-wrap of moves. trim is also able to change the width of the pgns. It can now also truncate pgn files to a maximum number of plies (half moves).

Temporarily you can download it from:

http://www.hoflink.com/~npollock/trim12.rar

I want to thank Jim Ablett for hosting trim and my other utilities on his excellent site. Hopefully trim 1.2 will be up there soon. Thanks Jim.

Here are the improvements from the previous released version (v1.0).

1. trim now removes comments. Before you had to use another program to remove comments from your pgn file before using trim.exe.

2. trim now is able to truncate the pgns to a maximum number of plies (half-moves).

notes on usage in a Windows command window:

trim.exe creates an output file "outR.pgn" without changing the input file.

Usage:

trim alpha.pgn

OR

trim alpha.pgn <widthNumber>

OR

trim alpha.pgn <widthNumber> <maxNumberPlies>

The optional widthNumber sets the width of the output data from 50 to 100 characters. The default width is 75 characters.

The optional maxNumberPlies sets the maximum number of plies (half-moves) that will be output.

Notice that a width number has to first be specified each time you want to specify a max number of plies.






Hello Norm,

Thanks for your latest effort.

You are consolidating the pgn functions into one application - this is good.

Soon one application will truncuate, clean, output wins, draws, losses, output interesting positions etc.

Thanks for making the fruits of your intellectual labours free of cost to fans such as myself.

Later.
Roger Brown
 
Posts: 346
Joined: 24 Sep 2004, 12:31


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 40 guests

cron