Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting quickly started on Linux + Fixing Tutor issue when using the Vanilla github version #110

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jlrdh
Copy link

@jlrdh jlrdh commented Sep 13, 2023

After cloning the 2.10 repository, and to get LucasChess quickly started on my Linux machine, I wrote the linux_onetime_setup.sh script. The script performs the fastercode compile + gives exec rights of the engines by executing RunEngines + fixes a bug that I have not found where to fix in the Python code (which you may want to have a look at : in absence of stockfish nnue file, and despite writing 'Use NNUE' to false in the *.uci_options files of the stockfish folder, the Tutor (when using stockfish) simply does not work. Also playing against stockfish as an opponent also does not work, even when changing the Use NNUE to false uci option directly in LucasChess. This gets resolved by downloading the nnue file where stockfish looks for it, step which I added to the one-time script above.)
I've also added few lines on the Readme file as it tells how to get quickly started from the github repo (it took me a good hour the first time I cloned the repo to get it started on Linux and I would have loved at that time to have the few instructions in the readme file.) Also, I have python 3.9 on my machine and LucasChess works very well. I'm suggesting in the readme to tell the audience that later python versions shall work - even if the main support and development in on 3.7. This could attract more potential users.

Copy link
Author

@jlrdh jlrdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After cloning the 2.10 repository, and to get LucasChess quickly started on my Linux machine, I wrote the linux_onetime_setup.sh script. The script performs the fastercode compile + gives exec rights of the engines by executing RunEngines + fixes a bug that I have not found where to fix in the Python code (which you may want to have a look at : in absence of stockfish nnue file, and despite writing 'Use NNUE' to false in the *.uci_options files of the stockfish folder, the Tutor (when using stockfish) simply does not work. Also playing against stockfish as an opponent also does not work, even when changing the Use NNUE to false uci option directly in LucasChess. This gets resolved by downloading the nnue file where stockfish looks for it, step which I added to the one-time script above.)
I've also added few lines on the Readme file as it tells how to get quickly started from the github repo (it took me a good hour the first time I cloned the repo to get it started on Linux and I would have loved at that time to have the few instructions in the readme file.) Also, I have python 3.9 on my machine and LucasChess works very well. I'm suggesting in the readme to tell the audience that later python versions shall work - even if the main support and development in on 3.7. This could attract more potential users.

@lukasmonk
Copy link
Owner

I have included the nnue files. The problem was their size over 25Mb, the process for their inclusion is somewhat different.

@jlrdh
Copy link
Author

jlrdh commented Sep 18, 2023

I have included the nnue files. The problem was their size over 25Mb, the process for their inclusion is somewhat different.

Thanks. What about the shell script to get linux users get started quickly after cloning the repo?

@lukasmonk
Copy link
Owner

It is a good idea. I will work on it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants