Menu

home

Archimedes
Attachments
Crafty_25.1.zip (1953319 bytes)

Installation files (APK files) were created with Android Studio. Projects use the chess engine support library for Android from https://github.com/gkalab/chessenginesupport-androidlib. To see how it works, there is also an example for Stockfish.

Example:
How to create an APK file for Texel

XBoard Chess Engines:
Crafty, Faile, OliThink, Pepito, Phalanx and TSCP are currently integrated. Under Chess for Android (probably the only app that supports the XBoard protocol) you can even use the opening books for these chess engines. The opening books can be found in the assets directory of the APK file (simply rename apk to zip). Copy the directories into the private directory of Chess for Android (/storage/emulated/0/Android/media/com.google.android.chess) and the installed chess engines can read the opening books. The original Faile and Pepito opening books did not work on Android. For this reason, I had to recreate these opening books under Termux.

Crafty:
Crafty also supports reading a configuration file (.craftyrc). If you copy this file into the Crafty directory (/storage/emulated/0/Android/media/com.google.android.chess/crafty), Crafty can read it. In this way, you can tell Crafty that you want to play with a reduced skill level. An example of such a configuration file can be found in the etc directory in the corresponding zip archive (Crafty_25.1.zip). See also the attachment above.

A simple configuration file for Crafty (.craftyrc) could look like this (there must be a line break after the final exit command):

skill 100
hash 128M
hashp 32M
learn 0
log off
exit

A detailed description of the parameters can be found on https://craftychess.com/documentation/craftydoc.html.

Pepito:
Pepito also supports reading a configuration file (config.dat). Simply copy it into the Pepito directory (/storage/emulated/0/Android/media/com.google.android.chess/pepito) and you can configure the chess engine. For example as follows:

GAME_STYLE solid
HASH_SIZE 128
BOOK_LEARN no
LANGUAGE English

Please refer to the following page for explanations of the parameters: http://www.quarkchess.de/pepito/. The information can be found in the source code of Pepito, which can also be found in the corresponding zip archive (Pepito_1.59.zip).


MongoDB Logo MongoDB