lukasmonk / lucaschessR2

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

Engine does not update automatically #143

Open DeybisMelendez opened 2 months ago

DeybisMelendez commented 2 months ago

When I open Lucas and it offers me a new update, it does not update the chess engines, I still have Lc0 version 0.27.0, currently Leela is on version 0.30.0. Do I have to update the engines manually or add a new engine with the new version? Do you have plans to update the versions of the chess engines together with Lucas?

Thank you very much, Lucas is a great software for studying chess.

lukasmonk commented 2 months ago

The problem is to prepare a compilation that is usable on all linux, there is no standard one ready for download on the lc0 website. If you want to test (and help me), I have prepared one that I don't know if it will work in general: link

You need to unzip it, then in a terminal go into the release_lc0 folder, and run lc0:

cd release_lc0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
./lc0

If it launches without error, you can type uci and an enter, and go nodes 100 by example.

DeybisMelendez commented 2 months ago

The problem is to prepare a compilation that is usable on all linux, there is no standard one ready for download on the lc0 website. If you want to test (and help me), I have prepared one that I don't know if it will work in general: link

You need to unzip it, then in a terminal go into the release_lc0 folder, and run lc0:

cd release_lc0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
./lc0

If it launches without error, you can type uci and an enter, and go nodes 100 by example.

I have compiled lc0 before on my PC with Linux Ubuntu, I could try to update the version and make a pull request so that everyone will have lc0 updated, I was looking at the project and the engine is located in https://github.com/lukasmonk/lucaschessR2/tree/main/bin/OS/linux/Engines/lc0

lukasmonk commented 2 months ago

Sorry, I don´t accept pull requests as a general rule. The executable in the link is the 0.32 version, openblas version. If the tests are positive I will include it in the next update. My question is whether it works on most versions of Linux.

DeybisMelendez commented 2 months ago

You could try packaging the engines in an appimage: https://appimage.org/ The executable that you placed in google drive does not run for me, it gives me an error: error while loading shared libraries: libopenblas_pthreads.so.0: cannot open shared object file: No such file or directory

lukasmonk commented 2 months ago

You can change the next line. export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH