Article View: gnu.chess
Article #1362Re: Is it possible to make PGN book save opening positions?
From: Simon Waters
Date: Fri, 30 Jan 2004 18:48
Date: Fri, 30 Jan 2004 18:48
73 lines
3183 bytes
3183 bytes
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DD815830E050B5AAA53B360 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alex Holland wrote: > One of the additional features of the PGN standard is to save the > opening position to the PGN book in FEN format, which is handy for > Fischerrandom chess, amongst others. > > Is it possible to make GnuChess do this? I believe the 5.07 parser (thanks David!) is suppose to handle this in input. I wouldn't say it is extensively tested. If you do an "epdload" or a "set position" it doesn't yet add a FEN tag to the list of tags, however it shouldn't be that difficult to add if someone is minded to (anyone doing it would be well advised to add a "show tags" command as well I think, for debugging if nothing else). I'll add it to the "TODO" list, but that doesn't mean I have time to do it alas. (Oops "Board is wrong" bug discovered whilst looking at this- grr). Currently this is about your lot..... cat 1.pgn [Event ""] [Site ""] [Date "2004.01.30"] [Round ""] [White ""] [Black "GNU Chess 5.07"] [WhiteELO "0"] [BlackELO "0"] [FEN "nrbqkbrn/pppppppp/8/8/8/8/PPPPPPPP/NRBQKBRN w KQkq"] [Result ""] gnuchess pgnload 1.pgn force e4 Ng6 pgnsave 2.pgn exit cat 2.pgn [Event ""] [Site ""] [Date "2004.01.30"] [Round ""] [White ""] [Black "GNU Chess 5.07"] [WhiteELO ""] [BlackELO "GNU Chess 5.07"] [Result ""] [FEN "nrbqkbrn/pppppppp/8/8/8/8/PPPPPPPP/NRBQKBRN w KQkq"] 1. e4 Ng6 --------------enig2DD815830E050B5AAA53B360 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAGqbjGFXfHI9FVgYRAiNHAJ4jgDsktqNYcYdntD9b0kaWxnEKOgCgxC7m xvol9GDRMHjZRJQd3wj2btM= =eSfi -----END PGP SIGNATURE----- --------------enig2DD815830E050B5AAA53B360--
Technical Details
Message-ID:
<401AA6E3.3070607@wretched.demon.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mailReferences:
<401a811e$0$10061$cc9e4d1f@news.dial.pipex.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,44180c74ae32a77 X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 2004-01-30 10:48:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Waters <Simon@wretched.demon.co.uk> Newsgroups: gnu.chess Subject: Re: Is it possible to make PGN book save opening positions? Date: Fri, 30 Jan 2004 18:48:03 +0000 Organization: Eighth Layer Limited Lines: 74 Message-ID: <401AA6E3.3070607@wretched.demon.co.uk> References: <401a811e$0$10061$cc9e4d1f@news.dial.pipex.com> NNTP-Posting-Host: wretched.demon.co.uk Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2DD815830E050B5AAA53B360" X-Trace: news.demon.co.uk 1075488481 6097 193.237.109.203 (30 Jan 2004 18:48:01 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 30 Jan 2004 18:48:01 +0000 (UTC) In-Reply-To: <401a811e$0$10061$cc9e4d1f@news.dial.pipex.com> X-Enigmail-Supports: pgp-inline, pgp-mime X-Enigmail-Version: 0.71.0.0 X-Accept-Language: en-GB, en-US, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130