Commit Graph

200 Commits

Author SHA1 Message Date
Peter Osterlund
16d09453b9 Add DroidFish modifications to Stockfish 2021-02-20 17:39:37 +01:00
Peter Osterlund
4d2ef64ce8 Update to Stockfish 13 2021-02-20 13:16:54 +01:00
Peter Osterlund
51bcecd6f4 Change version to 1.84 2020-10-03 10:08:37 +02:00
Peter Osterlund
e74151d92d German translation updates 2020-10-03 10:02:28 +02:00
Peter Osterlund
48655d49fa Add DroidFish modifications to Stockfish 2020-10-03 09:42:47 +02:00
Peter Osterlund
5394ccb165 Update Stockfish to development version from 2020-09-28 2020-10-03 09:39:38 +02:00
Peter Osterlund
d4e899b6be Avoid NPE if opening a shared input stream fails 2020-09-28 19:32:05 +02:00
Peter Osterlund
ca39ffbf09 Improve move probability calculation for CTG books 2020-09-28 19:32:02 +02:00
Peter Osterlund
ce2e5a326a Spanish translation updates
From Amador Cuesta.
2020-09-24 22:15:37 +02:00
Peter Osterlund
15ed3846cc Change version to 1.83 2020-09-21 21:13:32 +02:00
Peter Osterlund
cbb3897833 Add link to the DroidFish manual from the About/Help dialog 2020-09-21 20:57:59 +02:00
Peter Osterlund
1e7aaf682b Don't use NEON instructions for non-NEON ARM CPUs
Since NDK r21b NEON instructions are used by default. Explicitly
disable them for non-NEON CPUs.
2020-09-20 15:25:57 +02:00
Peter Osterlund
150082a57f Compile Stockfish with LTO for all CPU types
Use link time optimization when compiling Stockfish for all CPU types.
2020-09-20 08:06:18 +02:00
Peter Osterlund
1871f1d54a Update to current Stockfish development version
Corresponds to commit 8b8a510fd6a1a17b39b2d4b166f60ac7be0dab23 in
Stockfish repository, from Wed Sep 16 17:39:11 2020 +0200.
2020-09-20 00:01:50 +02:00
Peter Osterlund
ed5ef03dba Better compiler flags for Stockfish 2020-09-19 23:43:19 +02:00
Peter Osterlund
ef03748982 Add copyright info for cpu_features library to about/help dialog 2020-09-13 21:05:31 +02:00
Peter Osterlund
82e1eb2e0e Use no-SIMD engine version when needed
If the CPU does not support the required SIMD instructions, use the
stockfish_nosimd engine version instead.
2020-09-13 20:03:11 +02:00
Peter Osterlund
fe9689e5f2 Fix Android Studio warning 2020-09-13 16:47:15 +02:00
Peter Osterlund
105ae49b01 Build non-SIMD versions of Stockfish engine
Will be used for CPUs that don't support the best SIMD instructions.
2020-09-13 15:51:12 +02:00
Peter Osterlund
bec49dc5a7 Use embedded net when UCI option EvalFile has default value 2020-09-13 07:25:38 +02:00
Peter Osterlund
1a9a3627b6 Add DroidFish modifications to Stockfish 2020-09-13 07:25:38 +02:00
Peter Osterlund
94c39e402e Update to Stockfish 12 2020-09-13 07:25:31 +02:00
Peter Osterlund
6bcbd6d080 Update Stockfish to development version from 2020-06-17 2020-09-06 10:13:09 +02:00
Peter Osterlund
a64eab03cc Minor cleanup in xml layout files 2020-08-16 12:40:06 +02:00
Peter Osterlund
c199678041 Update translations 2020-06-06 15:08:56 +02:00
Peter Osterlund
c4c650ce51 Initialize DroidFishApp.appContext earlier
This is an attempt to fix crashes reported in the play console.
2020-06-01 22:28:40 +02:00
Peter Osterlund
7d87d1fbd4 Minor cleanup 2020-06-01 22:13:22 +02:00
Peter Osterlund
219c07e769 Avoid crash if engine .ini file is corrupt 2020-05-27 19:59:41 +02:00
Peter Osterlund
999016889c Update translations 2020-05-23 07:05:11 +02:00
Peter Osterlund
c59fdfddaf Change version to 1.82 2020-05-20 21:29:55 +02:00
Peter Osterlund
8fdfdede44 Fix potential crash if an engine reports an invalid currmove
Could cause an ArrayIndexOutOfBoundsException:
  at org.petero.droidfish.gamelogic.Position.getPiece (Position.java:153)
  at org.petero.droidfish.gamelogic.MoveGen.pseudoLegalMoves (MoveGen.java:109)
  at org.petero.droidfish.gamelogic.MoveGen.legalMoves (MoveGen.java:32)
  at org.petero.droidfish.gamelogic.TextIO.moveToString (TextIO.java:429)
  at org.petero.droidfish.gamelogic.TextIO.moveToString (TextIO.java:339)
  at org.petero.droidfish.gamelogic.DroidChessController$SearchListener.notifyCurrMove (DroidChessController.java:826)
2020-05-18 22:51:02 +02:00
Peter Osterlund
06375cbf1b Add support for ABK opening books
Move probabilities are not exactly the same as in the Arena Chess GUI
because it is unknown how the computation in Arena works.
2020-05-17 20:37:47 +02:00
Peter Osterlund
03375fc479 Fix Android Studio warnings 2020-05-17 01:19:20 +02:00
Peter Osterlund
04363a3b01 Don't crash if an open exchange engine throws SecurityException 2020-05-09 11:58:47 +02:00
Peter Osterlund
6829d2ee4f Update translations 2020-05-02 23:39:07 +02:00
Peter Osterlund
08ae4afea3 Correctly set default value for elo member variable 2020-04-26 19:41:05 +02:00
Peter Osterlund
795428992f Small cleanup 2020-04-25 08:53:43 +02:00
Peter Osterlund
7c75c83859 Set engine strength using Elo value
Remove the Strength preferences setting.

Add a new left drawer menu item to set the current engine strength in
terms of Elo. Supported for all engines that implement the standard
UCI options UCI_LimitStrength and UCI_Elo.

Elo settings are remembered individually for each engine.
2020-04-19 22:37:19 +02:00
Peter Osterlund
33dfafd18c Fix accidental integer division in HSV color test code 2020-04-18 20:36:01 +02:00
Peter Osterlund
05a8322ce7 Move activity utility classes to separate package 2020-04-18 20:30:34 +02:00
Peter Osterlund
cab87d7ab4 Remove FIXME!! items from source code
This is better handled outside of the source code.
2020-04-18 02:56:22 +02:00
Peter Osterlund
7d73f25a2f Remove not needed inheritDoc comments 2020-04-18 02:50:29 +02:00
Peter Osterlund
7610745dc5 Reduce maxNPS when UCI_LimitStrength is enabled 2020-04-13 16:56:42 +02:00
Peter Osterlund
ed47fc0888 Add UCI_Elo support to CuckooChess engine in DroidFish.
Same implementation as for CuckooChess Java program.
2020-04-13 16:56:37 +02:00
Peter Osterlund
67e03495dc Implement maxNPS UCI option for CuckooChess
This is an alternative way to limit the engine strength. It also has
the advantage of reducing heat and battery drain.
2020-04-11 02:26:28 +02:00
Peter Osterlund
29d605af99 Change version to 1.81 2020-04-10 16:33:03 +02:00
Peter Osterlund
3ae05affb0 Fix auto-scrolling of the move list
It did not work correctly when figurine notation was used.
2020-04-10 11:35:30 +02:00
Peter Osterlund
951c67dcb3 Remove GUI stuff from gamelogic.Piece class 2020-04-10 11:10:29 +02:00
Peter Osterlund
a7aacdc1bb Add button action "Load game from PGN file" 2020-04-10 00:19:16 +02:00
Peter Osterlund
01e77c3963 Update translations 2020-04-07 23:31:43 +02:00