fsmosca/chess-artist
A python script that can annotate chess games in pgn file with static evaluation or search score of an engine, can annotate an epd file with acd, acs, bm, and ce opcodes, can test engine with epd test suite and can generate chess puzzles.
📋 Changes
- In this release the exe file now supports the latest Stockfish 15 version.
- Readme from this release.
📦 Enhancements
- Add enginename option
- Examples:
- `--enginename "Stockfish 11 @i7-2600K"`
- `--enginename "Lc0 v0.23.2 w591000 10x128 blas"`
- Don't restart engine after every position is analyzed when creating puzzles from pgn and when solving positions from test suite.
🐛 A. Bug fixes
- Wait for readyok from uci engine after sending isready.
- Fix parsing of results when sending eval command to Stockfish engine.
✨ B. New Features
- Only supports python 3.
- Add --draw flag to only analyze games with draw results.
- Can analyze Fischer Random Chess games.
- Sample game header tags
- `[Variant "chess 960"]`, from weekinchess
- `[Variant "fischerandom"]`, from winboard/xboard
- `[Variant "Chess960"]`, from Lichess and Chess.com
- GUI that can view FRC (Fischer Random Chess) games
- + 4 more
📦 C. Improvements
- Modify writing of pgn output when there is threat move.
- Don't write empty comment as in `{ }` in pgn output comments.
- Improve logging when calculating piece mobility.
- Improve comment before the first move in the analyzed game. Analysis time and move score are easier to interpret.
- Example
- ```
- {Hash 256mb, Threads 2, analysis 15.0s per position, move score is in pawn unit,
- positive is good for white and negative is good for black}
- + 2 more
📦 D. Files
- The chess-artist.exe file inside chess-artist_v2.9.zip is only tested under windows 10.
📋 Major changes since v1.0.rc5
- Add --min-score-stop-analysis option
- Add --max-score-stop-analysis option
📦 Files
- chess-artist.exe
- stockfish 10 exe files under engine/stockfish/windows folder
- pgn files under pgn folder
- epd file under epd folder
- book.bin file (polyglot book format) under book folder
- run_chess_artist.bat, a batch file to run chess-artist to analyze games.
📦 Note
- This is the last version that supports Python 2.7.
📋 Major changes since v1.0.rc2
- Add --playerandopp option
- To analyze moves on games of Magnus including moves from his opponent:
- `chess-artist.exe --infile iommast19.pgn --outfile magnus.pgn --enginefile stockfish.exe --movetime 5000 --engineoptions "Hash value 128, Threads value 1" --playerandopp "Carlsen, Magnus"`
- Don't add a NAG (?, ?!) etc to a game move if there is a book move and movetime is below 20s
- Add --loss flag
- To analyze moves on lost games of Movsesian, Sergei including moves from his opponent:
- `chess-artist.exe --infile iommast19.pgn --outfile ms_loses.pgn --enginefile stockfish.exe --engineoptions "Hash value 128, Threads value 2" --movetime 5000 --playerandopp "Movsesian, Sergei" --loss`
📋 A. Major changes since v0.2.0
- am opcode in epd suite is now considered for engine epd test
- Add polyglot book support
- Add move comment "with a better passed pawn"
- Add comment on king safety
- Add depth option for epd analysis
- Refactor sending of commands and receiving of replies from engine
- Remove support for cerebellum book type
- Remove rating difference calculation
- + 11 more
📦 B. File
- chess-artist.zip
- Contains chess-artist.exe
📦 C. Help
- ```
- usage: Chess Artist v1.0.rc2 [-h] -i INFILE -o OUTFILE -e ENGINEFILE
- [-n ENGINEOPTIONS] [--bookfile BOOKFILE] --eval
- {static,search} [--movetime MOVETIME]
- [--depth DEPTH] [--movestart MOVESTART]
- [--moveend MOVEEND] [--log] --job
- {analyze,test,createpuzzle} [--wordycomment]
- [--player PLAYER] [--color COLOR]
- + 39 more
📦 D. Readme
- https://github.com/fsmosca/chess-artist/blob/master/README.md
📋 Changes
- Tune annotation symbols based on analysis time.
- Reduce position complexity number when center is closed.
- Remove annotator name after a variation line, the annotator tag in the tag section of the game is enough to determine the annotator.
- Calculate threat move when position is not easy, this threat move is added as move comment in the notation.
When analyzing a game use Stockfish and/or Brainfish engine. When using cerebellum book use the Brainfish engine together with cerebellum_light.bin. For testing engine with epd test suite, use any uci engines that supports movetime command. Have a look on the readme file for other info. The file chess-artist-exe.zip contains an executable file for windows, readme and a sample batch file.
