Comments (12)
I can also do that in windows if I set some environment variables. Just type stockfish in console and it will run.
So what really is the issue here. Can you not run chess artist in linux?
from chess-artist.
I am not so familiar with linux and I don't clearly understand what is this
system installation of engine
In windows one can specify an engine or an engine with a path like,
-eng C:\chess\engines\nobook\BrainFish\BrainFish_170106_x64_modern.exe
So the engine in this case does not necessarily be in the same dir with the chess-artist script.
from chess-artist.
In Linux, almost everything is installed via a package manager. As long as this is done (which is what people will do for something as readily available as stockfish), the package can be called from any directory simply by name (no extension needed).
So whether I am in /downloads or /turtlepictures/lastsunday/onthebeach/, endering "stockfish", I can simply type "stockfish" and it will start. No need to specify install directory. (i.e. have the same effect as typing C:\chess\engines\nobook\BrainFish\BrainFish_170106_x64_modern.exe)
(linux, and I think OSX, use / instead of ).
from chess-artist.
from chess-artist.
The fact that that block of code kills the script if it
doesn't find a local-directory executable creates unnecessary complexity
for linux users.
That is the code is designed for, it should know where the engine is located.
I generally don't like using paths, I like the user, to just copy the engine to the dir where the script is located. Or copy the script to the location of the engine.
I will update the readme later.
Can you provide a description for linux user?
I will revise the readme for windows user too.
Thanks for mentioning this case to my attention.
from chess-artist.
from chess-artist.
That readme indeed needs to be updated.
I did not use the word 'must' because there can be other ways to do it.
Before Chess Artist I have Game Analyzer and people can use an engine with path and without path. So I did not bother detailing on what to write in the option value in this readme.
In windows you can also specify absolute and relative path.
The following can be included in readme G.3.
"The developer advises that this script, the engine file, and the pgn
file all reside in the same directory. However, path names can be
specified to both the pgn file and the engine."
I need to revise also some parts of the readme. I hope to a get a good readme on release 1.0.
from chess-artist.
from chess-artist.
Sure.
Parsing notations of a pgn file and outputing the fen after a specific move in the game ca be done thru the use of python-chess modules.
http://python-chess.readthedocs.io/en/v0.17.0/
I am not familiar with latex, I just read it now and it looks cool. Converting a fen into a diagram would be a challenge. Parsing a pgn file, analyzing positions with the engine, and if interesting output the fen would be easy.
There is SVG rendering in python-chess.
http://python-chess.readthedocs.io/en/v0.17.0/svg.html
But I have not tried it yet. It seems like it can convert a fen into a diagram.
from chess-artist.
from chess-artist.
from chess-artist.
If latex is capable of converting fen to diagram that would be great.
I am closing this issue, just updated the readme.
If you need some help on parsing pgn or others you may post at,
http://talkchess.com/forum/index.php
from chess-artist.
Related Issues (20)
- Add --multipv flag to run analyzer in multipv 2 HOT 2
- Add --syzygy-path option
- Add --pv-from-match flag
- Add feature to analyze variant Chess960 games
- After ucinewgame an isready/readyok check is required HOT 4
- ImportError: No module named chess.pgn HOT 19
- Don't restart engine when solving a test suite HOT 1
- Search Depth HOT 4
- Python 3.8 and the newest python-chess HOT 4
- Indicate variant in created puzzle EPD HOT 6
- generate simple puzzle HOT 9
- create puzzles/test files stuck HOT 31
- Errors in some games HOT 6
- Pause/ continue option HOT 3
- chess-artist.exe not compatible with last stockfish builds HOT 2
- Ignores files having all caps PGN extension HOT 2
- Depth not working? HOT 5
- puzzle maker best moves same as provided move HOT 2
- Supports comment translation
- Supports egtb access without using an engine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chess-artist.