Code Monkey home page Code Monkey logo

Comments (12)

fsmosca avatar fsmosca commented on June 1, 2024 1

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.

fsmosca avatar fsmosca commented on June 1, 2024

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.

kalegood avatar kalegood commented on June 1, 2024

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.

kalegood avatar kalegood commented on June 1, 2024

from chess-artist.

fsmosca avatar fsmosca commented on June 1, 2024

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.

kalegood avatar kalegood commented on June 1, 2024

from chess-artist.

fsmosca avatar fsmosca commented on June 1, 2024

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.

kalegood avatar kalegood commented on June 1, 2024

from chess-artist.

fsmosca avatar fsmosca commented on June 1, 2024

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.

kalegood avatar kalegood commented on June 1, 2024

from chess-artist.

kalegood avatar kalegood commented on June 1, 2024

from chess-artist.

fsmosca avatar fsmosca commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.