lukasmonk / lucaschessR2

Lucas Chess R Version 2
GNU General Public License v3.0
255 stars 36 forks source link

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

Open jlrdh opened 9 months ago

jlrdh commented 9 months ago

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 commented 9 months ago

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

jlrdh commented 9 months ago

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 commented 9 months ago

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