Cutechess-Cli for Android

Moderators: Elijah, Igbo, timetraveller

SwiftSnips
Forum Contributions
Points: 6 000,00 
Posts: 139
Joined: 03/12/2020, 21:06
Status: Offline (Active 2 Months, 2 Weeks, 1 Day, 3 Hours, 1 Minute ago)
Topics: 0
Reputation: 18
Been thanked: 33 times

Android engines tests.

Post by SwiftSnips »

Skynet wrote:
SwiftSnips wrote:What is this illegal FEN error I keep getting? Theres no way its an illegal FEN.
You are talking about cutechess or c-chess?
Sorry it was c-chess but I got it figured out. I missed the part about only epd files working with c-chess
Walkot
Forum Contributions
Points: 9 587,00 
Posts: 41
Joined: 25/01/2020, 7:24
Status: Offline (Active 10 Months, 4 Days, 1 Hour, 57 Minutes ago)
Topics: 1
Reputation: 14
Been thanked: 17 times

Cutechess-Cli for Android

Post by Walkot »

How do I connect an engine that has additional files ? For example, fairy-max requires the installation of fmax.ini. How do I connect it?
Skynet
Points: 0,00 
Status: Offline (Active 2 Hours, 19 Minutes ago)
Topics: 

Cutechess-Cli for Android

Post by Skynet »

Walkot wrote:How do I connect an engine that has additional files ? For example, fairy-max requires the installation of fmax.ini. How do I connect it?
This engine can't be used in cutechess because it is XBoard (not UCI) engine. You can test it in Cfa.
Walkot
Forum Contributions
Points: 9 587,00 
Posts: 41
Joined: 25/01/2020, 7:24
Status: Offline (Active 10 Months, 4 Days, 1 Hour, 57 Minutes ago)
Topics: 1
Reputation: 14
Been thanked: 17 times

Cutechess-Cli for Android

Post by Walkot »

Skynet wrote:
Walkot wrote:How do I connect an engine that has additional files ? For example, fairy-max requires the installation of fmax.ini. How do I connect it?
This engine can't be used in cutechess because it is XBoard (not UCI) engine. You can test it in Cfa.
Xboard engines normally play cutechess. In the engine configuration, we write: "proto=xboard". This c-chess only works with the UCI.
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Cutechess-Cli for Android

Post by Archimedes »

Compiled as static builds (non static builds needs at least API level 19 for 32 bit devices).

c-chess-cli 2021-04-19:
https://app.box.com/s/8iax4u8ppc73qxez9jxz7ng9873m7989
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Cutechess-Cli for Android

Post by Archimedes »

Static builds doesn't work with Android NDK r22b. I compiled it again with the LTS version of Android NDK.
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Cutechess-Cli for Android

Post by Archimedes »

The reason why there is API level 19 necessary for c-chess-cli is, because in str.c there is the function imaxabs which computes the absolute value of an integer. This function was first supported with API level 19.

This function can be rewritten with a so called ternary operator to be compatible with API level 16.

Before:

Code: Select all

imaxabs(i)
After:

Code: Select all

(i < 0) ? -i : i
I've uploaded the package (now with non static builds) again. wink
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Cutechess-Cli for Android

Post by Archimedes »

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Cutechess-Cli for Android

Post by Archimedes »

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Cutechess-Cli for Android

Post by Archimedes »

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Re: Cutechess-Cli for Android

Post by Archimedes »

hagtorp
Forum Contributions
Points: 19 796,00 
Posts: 159
Joined: 04/11/2019, 3:15
Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 6 Hours, 38 Minutes ago)
Topics: 3
Reputation: 30
Has thanked: 9 times
Been thanked: 24 times

Re: Cutechess-Cli for Android

Post by hagtorp »

Links to programs are not working. Need to update or delete posts
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 27 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Re: Cutechess-Cli for Android

Post by Archimedes »

hagtorp wrote: 04/10/2022, 6:02 Links to programs are not working. Need to update or delete posts
https://sourceforge.net/projects/chess-tools-for-android/files/
hagtorp
Forum Contributions
Points: 19 796,00 
Posts: 159
Joined: 04/11/2019, 3:15
Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 6 Hours, 38 Minutes ago)
Topics: 3
Reputation: 30
Has thanked: 9 times
Been thanked: 24 times

Re: Cutechess-Cli for Android

Post by hagtorp »

I'm too lazy to collect laugh1
hagtorp
Forum Contributions
Points: 19 796,00 
Posts: 159
Joined: 04/11/2019, 3:15
Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 6 Hours, 38 Minutes ago)
Topics: 3
Reputation: 30
Has thanked: 9 times
Been thanked: 24 times

Re: Cutechess-Cli for Android

Post by hagtorp »

Berserk doesn't want to work for me in c-chess-cli and I had to switch back to cutechess-cli. It also has richer functionality.
Post Reply

Return to “Mobile Chess Software, Engines”