Request for help: tool for converting Standard Alg Notation

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Dann Corbit, Harvey Williamson

guyhaw

Request for help: tool for converting Standard Alg Notation

Post by guyhaw »

I am looking to turn .pgn files in Standard Algebraic Notation into text in Long Algebraic Notation, i.e. 1.e4 --> 1.e2e4
Does anyone know of software tools to do this?
Thanks in advance - Guy
User avatar
Jim Ablett
Posts: 1338
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Request for help: tool for converting Standard Alg Nota

Post by Jim Ablett »

Hello Guy,

I am looking to turn .pgn files in Standard Algebraic Notation into text in Long Algebraic Notation, i.e. 1.e4 --> 1.e2e4
Does anyone know of software tools to do this?
pgn-extract can do this (and other output formats too)
http://www.cs.kent.ac.uk/people/staff/djb/extract.html

Example to convert san pgn to long algebraic using Pgn-extract.

Code: Select all

pgn-extract -Wlalg Input.pgn -oOutput.pgn
read manual for further details.

Jim.
guyhaw

Re: Request for help: tool for converting Standard Alg Nota

Post by guyhaw »

Hello Jim,

Thanks re PGN-Extract: d'loaded the various files, and tried v15 on Win32 'straight out of the box' with your commands. Seems to work just fine: excellent.
Will be useful: I'm matching SHREDDER UCI output in LAN with the original game moves, which are of course in SAN.
Do look me up at UoReading some time - www.tinyurl.com/law6k
Guy