Answers.Body: <p>I don't own a Mac, so I can't test these myself (and the solutions' efficacy might vary with software/firmware), but here are some solutions that have worked for others:</p>
  
  <p>Per ref. 1:<br></p>
  
  <ul>
  <li><p><i>Note: Invalid moves in the PGN file seem to prevent the file's opening.</i><br></p></li>
  <li><p>At the end of every line in the PGN file, add a space. Then they should open with the current version of Stockfish for Mac.<br></p></li>
  <li>Open the PGN files with a text editor and convert the line endings to CRLF (Windows line endings). Then they should open with the current version of Stockfish for Mac.<br></li>
  <li>Compile and run the latest Stockfish for Mac development version from GitHub. This has the fix.<br></li>
  </ul>
  
  <p>Per ref. 2:<br></p>
  
  <ul>
  <li>If you're playing a chess variant, then add a FEN tag to the PGN file (if there isn't one there already).</li>
  </ul>
  
  <p><i>FEN tag example:</i></p>
  
  <blockquote>
    <p>OTHER TAGS GO HERE
    [FEN "brkbqnrn/pppppppp/8/8/8/8/PPPPPPPP/BRKBQNRN w KQkq"]
    [SetUp "1"]</p>
    
    <p>MOVES GO HERE</p>
  </blockquote>
  
  <hr>
  
  <p><b>References:</b></p>
  
  <ol>
  <li><a href="http://support.stockfishchess.org/discussions/problems/3362-pgn-files-not-opening-stockfish-for-mac" rel="nofollow">http://support.stockfishchess.org/discussions/problems/3362-pgn-files-not-opening-stockfish-for-mac</a> </li>
  <li><a href="https://www.reddit.com/r/chess/comments/2w9zgf/how_do_i_use_stockfish_with_chess960/" rel="nofollow">https://www.reddit.com/r/chess/comments/2w9zgf/how_do_i_use_stockfish_with_chess960/</a> </li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-26T01:46:00.163Z
Answers.LastActivityDate: 2016-06-26T01:46:00.163Z
Answers.UserDisplayName: Charles Rockafellor
Answers.Body: <p>I'm having the same issue and I know why it happens. When I have a game with comments/annotations after any of the moves that are within the annotation tags (as viewed in a text editor) like "1.e4 {this is normal} e5, then if I add a variation in the app such as "1. e4 <em>this is normal</em> 1...e5 (1... d5!?)" and then hit save, then stockfish app has saved the file in a way that removes the {} from my comment, so that it is no longer readable as a pgn file.</p>
  
  <p>I've been using a text editor to correct this by adding my {}'s back in when necessary, but I agree this situation is not ideal.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-22T18:08:06.600Z
Answers.LastActivityDate: 2020-03-22T18:08:06.600Z
Answers.UserDisplayName: Matthew Greenhall
Answers.Body: <p>I am on El Capitan. I was previously using the following app on Yosemite and it also worked their. </p>
  
  <p>Assuming that your chess files aren't corrupted in some way, go to the App store on Mac and search Stockfish. Download that application and try using it. </p>
  
  <p>This is a gui version so you don't have to worry about any binary files or using the command line.</p>
  
  <p>If there is any question as to whether or not the site download is working, this app will answer that question.</p>
  
  <p><strong>EDIT August 25, 2016:</strong>
   I just tried opening a lichess game in stockfish and it was giving me a </p>
  
  <blockquote>
    <p>"Stockfish could not parse the move text. Edit your PGN file and try
    again."</p>
  </blockquote>
  
  <p>error. I think this issue is coming from lichess pgn generation (if you are using lichess). I tried opening a game from chessgames and it worked properly.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-25T06:12:23.103Z
Answers.LastActivityDate: 2016-08-26T00:38:40.440Z
Answers.LastEditDate: 2016-08-26T00:38:40.440Z
Answers.UserDisplayName: chackerian
Body: <p>I just downloaded Stockfish, input a couple games, and saved them. They look like generic documents when I save and try to open. I just used the default Save function in Stockfish. Finder tells me they are .pgn documents. The problem is when I try to open I get this message: </p>
  
  <p>The document “example” could not be opened. Stockfish cannot open files of this type.</p>
  
  <p>So what are the steps to save a game so that it can be opened later? 
  (This question is so basic that I couldn't find any forum help on it so I guess I'm the only one dumb enough.)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-16T21:22:28.933Z
Comments.Text: Is there a particular GUI you're using with Stockfish?
Comments.UserDisplayName: ETD
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-16T23:30:03.443Z
Comments.Text: David, I'm using the latest Stockfish version from the Mac App Store (@ETD this comes with its own UI) and save/open works exactly as I'd expect it to: Menu 'Save' saves a PGN and Menu 'Open' successfully opens one. I'm on OS X Yosemite btw.
Comments.UserDisplayName: Simon Jenkins
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-18T02:56:59.543Z
Comments.Text: I have OS X 10.9.5. I downloaded from here: https://stockfishchess.org/download/
  But maybe I only got the "engine binary" and need to download the whole app. I'll try again.
Comments.UserDisplayName: David Klausa
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-18T03:03:58.227Z
Comments.Text: I double checked and made sure it's the normal app... I also downloaded a random .pgn file and cannot open it with Stockfish.
Comments.UserDisplayName: David Klausa
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-23T23:30:52.790Z
Comments.Text: Post a screenshot?
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-24T17:47:15.273Z
Comments.Text: I don't quite have time to figure out how to get a screenshot onto here, but I don't think it would tell you anything that wasn't already described in the question.
Comments.UserDisplayName: David Klausa
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-26T00:39:23.153Z
Comments.Text: Are you using lichess? @DavidKlausa.
Comments.UserDisplayName: chackerian
Tags: <stockfish>
Title: How to save/open games on Stockfish for Mac
ThreadText: # How to save/open games on Stockfish for Mac
  
  (Asked by: username_0 on 2015-03-16)
  
  I just downloaded Stockfish, input a couple games, and saved them. They look like generic documents when I save and try to open. I just used the default Save function in Stockfish. Finder tells me they are .pgn documents. The problem is when I try to open I get this message:
  
  The document “example” could not be opened. Stockfish cannot open files of this type.
  
  So what are the steps to save a game so that it can be opened later?
  (This question is so basic that I couldn't find any forum help on it so I guess I'm the only one dumb enough.)
  
  **Tags:** stockfish
  
  > **Comments:**
  > **username_1**: Is there a particular GUI you're using with Stockfish?  
  > **username_2**: username_0, I'm using the latest Stockfish version from the Mac App Store (@username_1 this comes with its own UI) and save/open works exactly as I'd expect it to: Menu 'Save' saves a PGN and Menu 'Open' successfully opens one. I'm on OS X Yosemite btw.  
  > **username_0**: I have OS X 10.9.5. I downloaded from here: https://stockfishchess.org/download/ But maybe I only got the "engine binary" and need to download the whole app. I'll try again.  
  > **username_0**: I double checked and made sure it's the normal app... I also downloaded a random .pgn file and cannot open it with Stockfish.  
  > **username_3**: Post a screenshot?  
  > **username_0**: I don't quite have time to figure out how to get a screenshot onto here, but I don't think it would tell you anything that wasn't already described in the question.  
  > **username_4**: Are you using lichess? @username_0.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_5 on 2016-06-26. Score: 1
  
  I don't own a Mac, so I can't test these myself (and the solutions' efficacy might vary with software/firmware), but here are some solutions that have worked for others:
  
  Per ref. 1:
  
  * *Note: Invalid moves in the PGN file seem to prevent the file's opening.*
  * At the end of every line in the PGN file, add a space. Then they should open with the current version of Stockfish for Mac.
  * Open the PGN files with a text editor and convert the line endings to CRLF (Windows line endings). Then they should open with the current version of Stockfish for Mac.
  * Compile and run the latest Stockfish for Mac development version from GitHub. This has the fix.
  
  Per ref. 2:
  
  * If you're playing a chess variant, then add a FEN tag to the PGN file (if there isn't one there already).
  
  *FEN tag example:*
  
  > OTHER TAGS GO HERE
  > [FEN "brkbqnrn/pppppppp/8/8/8/8/PPPPPPPP/BRKBQNRN w KQkq"]
  > [SetUp "1"]
  >
  > MOVES GO HERE
  
  ---
  
  **References:**
  
  1. <http://support.stockfishchess.org/discussions/problems/3362-pgn-files-not-opening-stockfish-for-mac>
  2. <https://www.reddit.com/r/chess/comments/2w9zgf/how_do_i_use_stockfish_with_chess960/>
  
  
  ---
  
  ### Answer by username_6 on 2020-03-22. Score: 0
  
  I'm having the same issue and I know why it happens. When I have a game with comments/annotations after any of the moves that are within the annotation tags (as viewed in a text editor) like "1.e4 {this is normal} e5, then if I add a variation in the app such as "1. e4 *this is normal* 1...e5 (1... d5!?)" and then hit save, then stockfish app has saved the file in a way that removes the {} from my comment, so that it is no longer readable as a pgn file.
  
  I've been using a text editor to correct this by adding my {}'s back in when necessary, but I agree this situation is not ideal.
  
  
  ---
  
  ### Answer by username_4 on 2016-08-25. Score: 0
  
  I am on El Capitan. I was previously using the following app on Yosemite and it also worked their.
  
  Assuming that your chess files aren't corrupted in some way, go to the App store on Mac and search Stockfish. Download that application and try using it.
  
  This is a gui version so you don't have to worry about any binary files or using the command line.
  
  If there is any question as to whether or not the site download is working, this app will answer that question.
  
  **EDIT August 25, 2016:**
  I just tried opening a lichess game in stockfish and it was giving me a
  
  > "Stockfish could not parse the move text. Edit your PGN file and try
  > again."
  
  error. I think this issue is coming from lichess pgn generation (if you are using lichess). I tried opening a game from chessgames and it worked properly.
  
  
  ---
  
  