ChrisWhittington / Chess-System-Tal-NNUE-2

UCI Chess engine written in C++ by Chris Whittington and Ed Schroeder
7 stars 1 forks source link

Linux support #5

Open MrBrain295 opened 12 months ago

MrBrain295 commented 12 months ago

I would like to try this engine but it does not support Linux.

ChrisWhittington commented 12 months ago

Indeed it doesn't. Very unlikely it will, my Linux skill/experience is zero to negative. Sorry.

MrBrain295 commented 12 months ago

If you're open to it, I'd be willing to give compiling the code for Linux a shot. I've been using Linux for a while so I might be able to do figure it out. However, if you'd rather not share the code, that's completely fine too.

tidypy commented 9 months ago

Hi @ChrisWhittington ; You would have to share the source. With that, Gradle to Android, and Linux can be done proper.

Short story; Arena Chess GUI is WINE compatible. And so is SCID.

However:
I would also consider a Docker. Or you could build a WINE compatible executible for @MrBrain295 . You could also HOST CSTAL on Lichess. With the Lichess API and that comes with huge extras and advantages. I hosted darkhorse for a while with a RasberryPI.

Wine 8.0 modules can be compiled in (PE) portable executable format. And can be easily tested to be working with WSL2 and powershell.

To accomplish this; you might have to bake in the book.Bin, and bake-in the NNUE. Might as well throw in some SZYGZY. Total Size should be around 400mb. OR you might need to do nothing. But you have known non-formal structure for your code when it comes to your UCI structure, CLI options, and Book setup. (opening another issue request on that).

WINE PE version would run on ANY windows or Linux box. (not blazing fast, but threads are limited to begin with, due to the nature of the build, so only deep analysis would suffer. and the romantic TAL version is not meant for refutation analysis it will be fine and still perform well over 2900 and fine to find novelty strategies.)