Answers.Body: <p>You can use the [] syntax in the PGN spec and add the eval key like this:</p>
  <pre><code>1. e4 {[%eval +0.23]} e5 {[%eval +0.16]} 2. Nf3 {[%eval +0.30]} Nc6 {[%eval +0.11]}
  3. Bb5 {[%eval +0.35]} a6 {[%eval -0.17]} 4. Ba4 {[%eval +0.40]} Nf6 {[%eval +0.03]}
  5. O-O {[%eval +0.50]} Be7 {[%eval +0.01]} 6. Re1 {[%eval +0.54]} b5 {[%eval +0.13]}
  7. Bb3 {[%eval +0.59]} d6 {[%eval +0.08]} 8. c3 {[%eval +0.45]} O-O {[%eval +0.14]}
  9. h3 {[%eval +0.46]} Nb8 {[%eval +0.16]} 10. d4 {[%eval +0.52]} Nbd7 {[%eval +0.12]}
  </code></pre>
  <p>But the application reading this pgn would have to know about the &quot;eval&quot; keyword here to parse it correctly.</p>
  <p>Similar question was answered here:</p>
  <p><a href="https://chess.stackexchange.com/questions/21786/what-is-eval-syntax-in-pgn">What is %eval syntax in PGN</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-31T12:47:33.307Z
Answers.LastActivityDate: 2024-05-31T12:47:33.307Z
Answers.UserDisplayName: Þorvaldur Rúnarsson
Answers.Body: <p>Take a Chess GUI like Arena, Chessbase GUI or Shredder Chess, load your PGN and start an Automatic Analysis with a chess engine, this will add comments from the engine. There are several options you can chose from before running this analysis.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-29T20:08:23.740Z
Answers.LastActivityDate: 2024-04-29T20:09:24.627Z
Answers.LastEditDate: 2024-04-29T20:09:24.627Z
Answers.UserDisplayName: MikeTrans
Body: <p>I have pgn file of thousands of game, with the clock only, every move have comment like this, this is a pgn file downloaded from lichess:</p>
  <p><code>{[%clk 0:10:00]}</code></p>
  <p>I need to add engine eval to every move like this</p>
  <p><code>{[%eval 0.82] [%clk 0:10:00]}</code></p>
  <p>the reason is, when browsing the pgn file with scid, I want the eval bar to show it.</p>
  
Tags: <engines><evaluation><pgn><lichess>
Title: How to add engine evaluation to a pgn file?
ThreadText: # How to add engine evaluation to a pgn file?
  
  (Asked by: username_0 on 2024-04-17)
  
  I have pgn file of thousands of game, with the clock only, every move have comment like this, this is a pgn file downloaded from lichess:
  
  `{[%clk 0:10:00]}`
  
  I need to add engine eval to every move like this
  
  `{[%eval 0.82] [%clk 0:10:00]}`
  
  the reason is, when browsing the pgn file with scid, I want the eval bar to show it.
  
  **Tags:** engines, evaluation, pgn, lichess
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2024-05-31. Score: 1
  
  You can use the [] syntax in the PGN spec and add the eval key like this:
  
  ```
  1. e4 {[%eval +0.23]} e5 {[%eval +0.16]} 2. Nf3 {[%eval +0.30]} Nc6 {[%eval +0.11]}
  3. Bb5 {[%eval +0.35]} a6 {[%eval -0.17]} 4. Ba4 {[%eval +0.40]} Nf6 {[%eval +0.03]}
  5. O-O {[%eval +0.50]} Be7 {[%eval +0.01]} 6. Re1 {[%eval +0.54]} b5 {[%eval +0.13]}
  7. Bb3 {[%eval +0.59]} d6 {[%eval +0.08]} 8. c3 {[%eval +0.45]} O-O {[%eval +0.14]}
  9. h3 {[%eval +0.46]} Nb8 {[%eval +0.16]} 10. d4 {[%eval +0.52]} Nbd7 {[%eval +0.12]}
  
  ```
  
  But the application reading this pgn would have to know about the "eval" keyword here to parse it correctly.
  
  Similar question was answered here:
  
  [What is %eval syntax in PGN](https://chess.stackexchange.com/questions/21786/what-is-eval-syntax-in-pgn)
  
  
  ---
  
  ### Answer by username_2 on 2024-04-29. Score: 1
  
  Take a Chess GUI like Arena, Chessbase GUI or Shredder Chess, load your PGN and start an Automatic Analysis with a chess engine, this will add comments from the engine. There are several options you can chose from before running this analysis.
  
  
  ---
  
  