Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pgn]

PGN stands for Portable Game Notation. This is a file format for storing chess games (both the moves and various header data such as players' names) that is easily read by people while also easy for programs to parse.

2
votes
3answers
90 views

How to package PGN in Lichess analysis page format

I am trying to bundle together a couple of games on my own website. I would love to have an interface like Lichess's analysis page: You can turn on the Stockfish engine, try out different moves and ...
3
votes
1answer
78 views

What is %eval syntax in PGN

I've seen two formats of [%eval] syntax in PGN: [%eval 250,5] meaning white is +2.5 pawn up at depth 5 [%eval +0.25] means white is 0.25 pawn up Is any of those mentioned by some PGN standard? Which ...
4
votes
1answer
88 views

Standard for receiving live chess broadcast

I was making live broadcast recent days and I'm quite surprised how it technically worked. We were downloading whole new PGN file every 5 seconds with format shown it the code below. Is this how ...
2
votes
2answers
72 views

Can one use alternative identifiers (from languages other than English) for chesspieces in PGN?

I came across this in the PGN standard on this site, section 17, for alternative piece identifiers (emphasis mine): English language piece names are used to define the letter set for identifying ...
1
vote
2answers
93 views

Is there any software that will print a .pgn file in scoresheet layout

I'm looking for some software that will print the moves as 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 etc. Instead of 1.e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 etc.
0
votes
2answers
113 views

pgn-extract program troubleshoot

Anyone familiar with the program pgn-extract to possibly help with a little troubleshooting? I have tried to look through manual of the program and I am coming at a loss with addressing the issue. I ...
4
votes
3answers
3k views

Chess Puzzle Database with PGN or FEN

Is there a database of chess puzzles that have the game or positions PGN and or FEN?
4
votes
1answer
99 views

Comment/variation with different starting position

When annotating games, I sometimes want to add a comment which starts from a position that is different from the current position. Like: 1. d4 d5 2.c4 { Our previous game went 1.e4 c5 ...} Or: ...
1
vote
0answers
125 views

Storing tournaments for use in Arena

I want to store a collection of games (say 20) from a certain tournament as a single unit, so when I open the file, I can view all the matches of the tournament as one, instead of viewing each game ...
3
votes
2answers
688 views

Import and export of PGN

How do I perform the following related things? Export/import PGN of games from Droidfish. Import my games to Chess.com I found an option to export my games from Chess.com (Share PGN) but I couldn'...
2
votes
1answer
257 views

PGN with arrows and circles

I recently imported a PGN file that I got from chesscafe.com into lichess.org, and was surprised to see arrows and circles on the board! Looking at the file, I figured that these graphical elements ...
0
votes
1answer
392 views

Recording games on the Play Magnus app

I've downloaded the Play Magnus app, and want to record the games (the PGN) I play. There is an option like 'Export game as PGN'(something like that) which allows me to copy the PGN to the clipboard ...
2
votes
1answer
399 views

Valid PGN variations?

I've received the following PGN text that I suspect invalid: 8.f4 {0.22/17 0 last book move} 8...e5 ( 8...b5 ( 8...Qb6 ( 8...Qc7 9.a3 What exactly the position the ...
5
votes
1answer
1k views

Stockfish evaluation of a position from PGN

I am trying to get Stockfish's evaluation of a board position(which is in PGN format) using command line.I know it accepts board position in FEN format, but is there any way i can provide PGN format? ...
3
votes
2answers
204 views

What is valid PGN?

I want to build a program that makes and reads PGNs. What is valid PGN? What arguments are valid in the header? What values are mandatory, what can be omitted? Can I find somewhere rules for ...
0
votes
2answers
189 views

Where can I find a whole bunch of complicated PGN files?

I'm interested to test that the atom syntax highlighter for pgn files -- https://atom.io/packages/language-pgn -- can handle the full range of possible files. Is there a suite of difficult test files ...
2
votes
1answer
239 views

Watson's strategic chess pgn file

I am looking for the PGN file corresponding to Watson's strategic chess opening repertoire for white; is it available? If the PGN is not available, I would be interested to know what other opening ...
5
votes
2answers
474 views

PGN database with games of players with ELO 1000 - 2000

I do the research on a difference of players' behaviour on different levels. There is no problem to find games with players rated over 2000 ELO but I lack those below 2000. Does anybody know a source ...
-2
votes
1answer
93 views

How to add additional tags of png?

Is there any software that would allow me to add additional tags of pgn on existing pgn files? For example, the tags like WhiteTeam etc.
3
votes
1answer
120 views

pgn-extract suppress output

I installed pgn-extract_17.38 and want to suppress the output of $ FEN=$(echo "1.d4 Nf6 2.Nf3 e6 3. *" | pgn-extract -F) Processing stdin 1 game matched out of 1. I read about suppressing methods ...
3
votes
3answers
332 views

Deleting multiple games from a large PGN file

I have spent around half an hour searching Google and I have not found what I am looking for -perhaps I did recognise it as what I needed if I had come across it. I have just recently downloaded SCID ...
7
votes
1answer
712 views

Great Chess match resources (PGN) suggestions anyone?

Using Arena with a number of Chess engines, I love configuring Arena to use its 'book' feature. There are books of openings, books of famous games, books of particular players, surprise wins, etc. ...
2
votes
2answers
383 views

Where can I find a list of chess games (or PGN file) for games less than X number of moves (specifically 12 moves)?

I was reading a book on chess where the author suggested that a good way to practice getting good at the opening is look at miniature games (less than 12 moves specifically) played, that have led to ...
1
vote
2answers
108 views

software for a survey of chess openings

Is there any a free software or free pgn files that presents a survey of all openings and their variations (the deeper the best) similar to those found in chess opening references like MCO or ECO ? I ...
3
votes
2answers
106 views

How can we convert PGN format to Resource Description Framework (RDF)?

Is there any parser available in which we take PGN data as input and then convert it to RDF format? Has someone worked on this thing?
5
votes
2answers
269 views

Is there a Unicode-compatible alternative to PGN?

One of the problems with PGN is that it requires ASCII, while names of players often contain non-ASCII characters. (And of course, many names are not written in the Latin alphabet ...) The ...
0
votes
2answers
358 views

Delete annotations in pgn games

Using ChessBase 13, I saved a bunch of games in PGN format. Is there a simple way to suppress the comments of all annotated games? I would like to avoid doing it one by one.
1
vote
1answer
47 views

For team events, what is the correct way to record a player's team in PGN format?

More or less as the title. I'm helping transcribe some games for a team tournament that is happening, but I can't find any field in the software I'm using or even the PGN format specification for a '...
6
votes
2answers
853 views

Add comments in a pgn file

I have a pgn file containing a game. I want to add a comment into the game (like at move 23. - This is a ok move etc.) using words and not symbols. Is it possible to do this?
3
votes
3answers
768 views

What are all of the possible tags for PGN?

In a PGN file, there are tags like: [Event "Tournament"] [White "John Smith"] And so on. I would like to know all the possible tags for PGN files so I can use them in a PGN file that my friend is ...
6
votes
1answer
486 views

Scid PGN analysis using Stockfish

Scid outputs this analysis of a PGN file using the Stockfish engine: What does the D mean? And where (e.g. a web page) is this actually explained?
3
votes
1answer
89 views

Is there an Android viewer that understands international language comments in PGN?

I have a PGN file, in which I can view non-English (Cyrillic) comments on my PC in Chessbase or in Notepad++, but all Android apps (playchess, masterchess, scid on the go, droidfish) I tried instead ...
6
votes
2answers
273 views

How to create PGN notation with wrong moves in it?

I was as chess trainer with some young guys on a tournament, and wrote down some of their games. In nearly every game, there were wrong moves in it: king is in check, but does not move or react; ...
3
votes
1answer
1k views

How do you convert a scid database into a pgn database?

So I got a big scid database and ScidvsMac. I would like to convert the complete database into a pgn database. So far I have only found out how to convert single games into pgn, something I'm not keen ...
5
votes
1answer
172 views

How to add draw offer to PGN?

Does PGN have any annotation for draw offer? Just adding = after a move doesn't seem to work everywhere. Among the standard NAGs there's $10 (drawish position or even) which translate as = or I can ...
2
votes
1answer
265 views

Extracting features from chessboard

So i am implementing an intelligent chess agent with the use of reinforcement learning.I intend to use Java. After reading the master thesis of H.Mannen i decided to use some of the features listed ...
0
votes
2answers
109 views

Layering multiple chess games

Does anyone know if an application exists where you can import multiple PGN files and layer them on top of one another? It would be interesting to upload say 1,000 games and somehow visualise the ...
4
votes
1answer
780 views

Where can I find free training tools like detailed annotated chess openings, middle games and endgames in the PGN format?

I have decided to study chess after playing it leisurely for a while. I looked at some online chess courses like the ones offered by Igor Smirnov at the Remote Chess Academy, but these options seem to ...
3
votes
2answers
6k views

Freely available PGN databases

I am looking for a relatively large PGN-formatted database (with at least 500k+ games), that is downloadable, with possibly the following properties: Simple formatted (no time indication after moves, ...
5
votes
1answer
311 views

What is the best way to play chess via terminal?

I've recently learned about gnu chess, but it's poorly documented, and I'm having difficulties: Setting a reasonable difficulty level; Saving an entire game to a pgn: it's only saving the last move; ...
1
vote
1answer
82 views

Omitting piece letters in pgn

Is it possible or common practice to omit piece letters (other than P) in PGN as long as the move is unambiguous? E.g. h1xBh8 From what I understand from http://www.saremba.de/chessgml/standards/...
1
vote
1answer
168 views

PGN viewer / replayer for Atomic Chess

I'm looking for a PGN viewer that works with the Atomic chess variant, in that captures removes adjacent pieces. However, PGN viewers I've found so far have little to no support for chess variants, ...
4
votes
1answer
565 views

How can I open (or convert into .PGN) old Chessmaster .CMG files, without Chessmaster?

I have many old chess games saved from Chessmaster 7000, 8000, and maybe even 9000. They are all saved in the Chessmaster .CMG file format. How can I access these games today? I would like to either ...
2
votes
4answers
1k views

How do I create pgn files visually?

I'm looking for a way to create PGN files visually - so I don't want to type in the position and the moves manually, but I want to set up an initial position on a board, play some moves and then ...
1
vote
0answers
200 views

Issues downloading the latest version of chess database on chessdb!

I downloaded the lastest version of chessdb but while trying to download the large database (about 3.5M games), I have got errors and the download does not start. I deactivated my firewall and my ...
3
votes
3answers
3k views

Convert ChessBase format to PGN on Linux

I have some ChessBase-format database files, and I would like to convert them to PGN so thatlinux-compatible programs (like scid, chessdb, etc.) could read it. Since I am running on linux and not ...
3
votes
2answers
2k views

Reading PGN files using Stockfish engine

Is there a way to read a .PGN file using Stockfish engine? If there is can you please give a sample commmand? THanks
0
votes
2answers
76 views

Is there a way to automatically download KnightVision games from a chess blog?

Taking as an example, this blog: http://wellingtonchess2012.blogspot.com/. I can download the games manually by going to each game, clicking on "KVChess V2.31" in the bottom left corner, which then ...
3
votes
1answer
853 views

What is the TimeControl format for FIDE tournament?

The TimeControl formats I've found on the web split the TimeControl in time periods separated by a special character, for instance: G/90 (one period with 90min to end the game) G/90+30 (one period ...
1
vote
1answer
409 views

Is there any way to extract PGNs from a DGT live games presentation?

For example: http://www.budva2013.org/live/d/tfd.htm I have no particular interest in this tournament, but I often seen displays like this and wish to extract games without needing to type them out ...