New J.A Compiles

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Jim Ablett
Posts: 2519
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Hi Aart,

no disrespect intended. I think 'Chess For Android' is a fantastic application and I appreciate everything you do very much. That's not the issue though. Most users here use the last version of 'Chess For Android' that could load engine binaries without apk. I know you only can support latest version though. It's a UCI protocoI handling issue. I don't know if UCI support is better in the apk only newer versions but many uci protocol engines include Quanticade do not run properly in 'Chess For Android (last non apk version). UCI chess engine compatibility is better in 'DroidFish' and 'ChessEngineTournament' apps. I observe this after compiling/testing hundreds of android chess engines.

regards,
Jim.
User avatar
abik
Posts: 863
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: New J.A Compiles

Post by abik »

Jim Ablett wrote: Sun May 17, 2026 12:03 pmI observe this after compiling/testing hundreds of android chess engines.
Is this by any chance related to the "magic 7f45" error, where armv7a binaries run but aarch64 binaries don't? In that case it is really due to how you compile the binaries for Android. I suspect the other apps use termux from F-droid to make this work for your compilations. But if you compile sources properly with the NDK, this should not be an issue.
User avatar
Jim Ablett
Posts: 2519
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Hi Aart,

I cross-compile on Windows using Android NDK. Before sharing the Android binary I test on three different apps. Chess For Android, Droidfish and ChessEnginesTournament. I include a compatibility readme file to the download package if the binary doesn't work on one or more of the apps. If there is no compatibilty note included that means the binary works on all apps. I would estimate about 98% of engine binaries work on ChessEnginesTournament app, about 95% on Droidfish app and about 80% on Chess For Android app. I compile primarily aarch64 / aarch64_dotprod and armv7a if possible.

Here is link to my Android builds repo:
https://drive.proton.me/urls/819TB0AGC8#3AE0qxXbRrQm

As an example this is the 'readme-important!.txt' for whitecore_02_ja_android.zip which I downloaded at random.
Engine works in 'ChessEnginesTournament' https://apkcombo.com/chess-tournament/a ... ournament/

Does not work properly in 'Chess for Android' & 'Droidfish'
Jim.
User avatar
abik
Posts: 863
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: New J.A Compiles

Post by abik »

Jim Ablett wrote: Mon May 18, 2026 1:06 am Hi Aart,

I cross-compile on Windows using Android NDK. Before sharing the Android binary I test on three different apps. Chess For Android, Droidfish and ChessEnginesTournament. I include a compatibility readme file to the download package if the binary doesn't work on one or more of the apps. If there is no compatibilty note included that means the binary works on all apps. I would estimate about 98% of engine binaries work on ChessEnginesTournament app, about 95% on Droidfish app and about 80% on Chess For Android app. I compile primarily aarch64 / aarch64_dotprod and armv7a if possible.

Here is link to my Android builds repo:
https://drive.proton.me/urls/819TB0AGC8#3AE0qxXbRrQm

As an example this is the 'readme-important!.txt' for whitecore_02_ja_android.zip which I downloaded at random.
Engine works in 'ChessEnginesTournament' https://apkcombo.com/chess-tournament/a ... ournament/

Does not work properly in 'Chess for Android' & 'Droidfish'
Jim.
I tested one of your binaries on an Android device, both from the command line, and in the GUI itself, and did not observe any immediate issues. But let me dig around a bit more to find out what could go wrong.

Code: Select all

$ ./quanticade_cronus_30_ja_armv7a
NNUE file not found. Loading from incbin
uci
Quanticade Cronus 3.0 by DarkNeutrino
id name Quanticade Cronus 3.0 JA
id author DarkNeutrino
...
.....
...
option name Hash type spin default 16 min 4 max 524288
option name Threads type spin default 1 min 1 max 1024
option name MoveOverhead type spin default 10 min 0 max 5000
option name EvalFile type string default hati.nnue
option name Clear Hash type button
option name RAZOR_MARGIN type spin default 266 min 1 max 532
option name RFP_MARGIN type spin default 57 min 1 max 114
option name RFP_BASE_MARGIN type spin default 26 min 1 max 52
option name BESTMOVE_SCALE0 type string default 2.433000
option name BESTMOVE_SCALE1 type string default 1.360946
option name BESTMOVE_SCALE2 type string default 1.104603
option name BESTMOVE_SCALE3 type string default 0.898943
option name BESTMOVE_SCALE4 type string default 0.713091
uciok
Image
Carbec
Posts: 179
Joined: Thu Jan 20, 2022 9:42 am
Location: France
Full name: Philippe Chevalier

Re: New J.A Compiles

Post by Carbec »

Hi,
I have already made a post about "weak" chess engines. I also looked at you repo, but didn't find the engines I was looking for. So I thought about compiling myself . Since you have the knowledge, could you give me some info about the compilation ? I usually work with Linux Mint, but I have also Windows 11 installed. I use "Chess for Android" as I can connect my DGT eboard.

Thanks a lot.
Philippe
User avatar
Jim Ablett
Posts: 2519
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
https://github.com/ATheofanis/aspen-chess
Aspen 1.0.1 by ATheofanis

Aspen 1.0.1 64 JA

Windows & Linux profiled builds

Fixed pv output and time management (sent fixes to author)

Proton link:
https://drive.proton.me/urls/4VGV15G714#rlU9gNdglM9S

Smash link:
https://fromsmash.com/Aspen10164JA

Jim.
User avatar
Jim Ablett
Posts: 2519
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Carbec wrote: Mon May 18, 2026 1:02 pm Hi,
I have already made a post about "weak" chess engines. I also looked at you repo, but didn't find the engines I was looking for. So I thought about compiling myself . Since you have the knowledge, could you give me some info about the compilation ? I usually work with Linux Mint, but I have also Windows 11 installed. I use "Chess for Android" as I can connect my DGT eboard.

Thanks a lot.
Philippe
Hi Philippe,
pm me.

Jim.
User avatar
abik
Posts: 863
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: New J.A Compiles

Post by abik »

Carbec wrote: Mon May 18, 2026 1:02 pm I use "Chess for Android" as I can connect my DGT eboard.
I thank you for your loyal patronage! :wink:
User avatar
Jim Ablett
Posts: 2519
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
https://github.com/GoldenRare/Revolver
Revolver 2.0 by Deshawn Mohan

Revolver 2.0 64 JA

Windows/Linux & Android profiled builds

Proton link:
https://drive.proton.me/urls/71CTXH3MN8#5VF4L5qoBcQB

Smash link:
https://fromsmash.com/Revolver20JA

Jim.
User avatar
Jim Ablett
Posts: 2519
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
https://github.com/jswaff/prophet
Prophet 5.2.1 by James Swafford

Prophet 5.2.1 64 JA

Windows & Linux profiled builds with embedded net

Proton link:
https://drive.proton.me/urls/HZPKJA0VQW#aupzdc4ZbSTi

Smash link:
https://fromsmash.com/Prophet521JA

Jim.