Skip to content

Commit 1318d10

Browse files
committed
Switch to Stockfish 16
As this plugin is used by mobile devices, SF16 is a good trade-off considering its network file size (38M) which is significantly smaller than the next one (SF16.1: 62M).
1 parent f7abbbd commit 1318d10

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+11671
-9074
lines changed

android/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ else()
1414
target_compile_options(stockfish PRIVATE -DUSE_PTHREADS -DNDEBUG -O3)
1515
endif()
1616

17-
file(DOWNLOAD https://tests.stockfishchess.org/api/nn/nn-b1a57edbea57.nnue ${CMAKE_BINARY_DIR}/nn-b1a57edbea57.nnue)
18-
file(DOWNLOAD https://tests.stockfishchess.org/api/nn/nn-baff1ede1f90.nnue ${CMAKE_BINARY_DIR}/nn-baff1ede1f90.nnue)
17+
file(DOWNLOAD https://tests.stockfishchess.org/api/nn/nn-5af11540bbfe.nnue ${CMAKE_BINARY_DIR}/nn-5af11540bbfe.nnue)

ios/FlutterStockfish/ffi.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#include <iostream>
2-
#include <unordered_map>
32
#include <stdio.h>
43
#include <unistd.h>
54

65
#include "../Stockfish/src/bitboard.h"
7-
#include "../Stockfish/src/evaluate.h"
8-
#include "../Stockfish/src/misc.h"
6+
#include "../Stockfish/src/endgame.h"
97
#include "../Stockfish/src/position.h"
10-
#include "../Stockfish/src/tune.h"
11-
#include "../Stockfish/src/types.h"
8+
#include "../Stockfish/src/psqt.h"
9+
#include "../Stockfish/src/search.h"
10+
#include "../Stockfish/src/syzygy/tbprobe.h"
11+
#include "../Stockfish/src/thread.h"
12+
#include "../Stockfish/src/tt.h"
1213
#include "../Stockfish/src/uci.h"
1314

1415
#include "ffi.h"

ios/Stockfish/AUTHORS

+2-17
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Hisayori Noda (nodchip)
1212
# All other authors of Stockfish code (in alphabetical order)
1313
Aditya (absimaldata)
1414
Adrian Petrescu (apetresc)
15-
Ahmed Kerimov (wcdbmv)
1615
Ajith Chandy Jose (ajithcj)
1716
Alain Savard (Rocky640)
1817
Alayan Feh (Alayan-stk-2)
@@ -30,7 +29,6 @@ Aram Tumanian (atumanian)
3029
Arjun Temurnikar
3130
Artem Solopiy (EntityFX)
3231
Auguste Pop
33-
Balazs Szilagyi
3432
Balint Pfliegel
3533
Ben Chaney (Chaneybenjamini)
3634
Ben Koshy (BKSpurgeon)
@@ -47,12 +45,9 @@ candirufish
4745
Chess13234
4846
Chris Cain (ceebo)
4947
clefrks
50-
Clemens L. (rn5f107s2)
51-
Cody Ho (aesrentai)
5248
Dale Weiler (graphitemaster)
5349
Daniel Axtens (daxtens)
5450
Daniel Dugovic (ddugovic)
55-
Daniel Monroe (Ergodice)
5651
Dan Schmidt (dfannius)
5752
Dariusz Orzechowski (dorzechowski)
5853
David (dav1312)
@@ -74,11 +69,9 @@ Fabian Beuke (madnight)
7469
Fabian Fichter (ianfab)
7570
Fanael Linithien (Fanael)
7671
fanon
77-
Fauzi Akram Dabat (fauzi2)
72+
Fauzi Akram Dabat (FauziAkram)
7873
Felix Wittmann
7974
gamander
80-
Gabriele Lombardo (gabe)
81-
Gahtan Nahdi
8275
Gary Heckman (gheckman)
8376
George Sobala (gsobala)
8477
gguliash
@@ -101,7 +94,6 @@ Jake Senne (w1wwwwww)
10194
Jan Ondruš (hxim)
10295
Jared Kish (Kurtbusch, kurt22i)
10396
Jarrod Torriero (DU-jdto)
104-
Jasper Shovelton (Beanie496)
10597
Jean-Francois Romang (jromang)
10698
Jean Gauthier (OuaisBla)
10799
Jekaa
@@ -186,7 +178,6 @@ Raminder Singh
186178
renouve
187179
Reuven Peleg (R-Peleg)
188180
Richard Lloyd (Richard-Lloyd)
189-
Robert Nürnberg (robertnurnberg)
190181
Rodrigo Exterckötter Tjäder
191182
Rodrigo Roim (roim)
192183
Ronald de Man (syzygy1, syzygy)
@@ -210,15 +201,10 @@ Stefano Cardanobile (Stefano80)
210201
Stefano Di Martino (StefanoD)
211202
Steinar Gunderson (sesse)
212203
Stéphane Nicolet (snicolet)
213-
Stephen Touset (stouset)
214204
Syine Mineta (MinetaS)
215-
Taras Vuk (TarasVuk)
216205
Thanar2
217206
thaspel
218207
theo77186
219-
TierynnB
220-
Ting-Hsuan Huang (fffelix-huang)
221-
Tobias Steinmann
222208
Tomasz Sobczyk (Sopel97)
223209
Tom Truscott
224210
Tom Vijlbrief (tomtor)
@@ -232,10 +218,9 @@ Vince Negri (cuddlestmonkey)
232218
Viren
233219
windfishballad
234220
xefoci7612
235-
Xiang Wang (KatyushaScarlet)
236221
zz4032
237222

238223
# Additionally, we acknowledge the authors and maintainers of fishtest,
239224
# an amazing and essential framework for Stockfish development!
240225
#
241-
# https://github.com/official-stockfish/fishtest/blob/master/AUTHORS
226+
# https://github.com/glinscott/fishtest/blob/master/AUTHORS

ios/Stockfish/CONTRIBUTING.md

-97
This file was deleted.

ios/Stockfish/Copying.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <https://www.gnu.org/licenses/>.
648+
along with this program. If not, see <http://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<https://www.gnu.org/licenses/>.
667+
<http://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
674+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

ios/Stockfish/README.md

+35-25
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,38 @@ This distribution of Stockfish consists of the following files:
5959
* a file with the .nnue extension, storing the neural network for the NNUE
6060
evaluation. Binary distributions will have this file embedded.
6161

62-
## Contributing
62+
## The UCI protocol
63+
64+
The [Universal Chess Interface][uci-link] (UCI) is a standard text-based protocol
65+
used to communicate with a chess engine and is the recommended way to do so for
66+
typical graphical user interfaces (GUI) or chess tools. Stockfish implements the
67+
majority of its options.
68+
69+
Developers can see the default values for the UCI options available in Stockfish
70+
by typing `./stockfish uci` in a terminal, but most users should typically use a
71+
chess GUI to interact with Stockfish.
72+
73+
For more information on UCI or debug commands, see our [documentation][wiki-commands-link].
74+
75+
## Compiling Stockfish
6376

64-
__See [Contributing Guide](CONTRIBUTING.md).__
77+
Stockfish has support for 32 or 64-bit CPUs, certain hardware instructions,
78+
big-endian machines such as Power PC, and other platforms.
79+
80+
On Unix-like systems, it should be easy to compile Stockfish directly from the
81+
source code with the included Makefile in the folder `src`. In general, it is
82+
recommended to run `make help` to see a list of make targets with corresponding
83+
descriptions.
84+
85+
```
86+
cd src
87+
make -j build ARCH=x86-64-modern
88+
```
89+
90+
Detailed compilation instructions for all platforms can be found in our
91+
[documentation][wiki-compile-link].
92+
93+
## Contributing
6594

6695
### Donating hardware
6796

@@ -85,25 +114,6 @@ Discussions about Stockfish take place these days mainly in the Stockfish
85114
[Discord server][discord-link]. This is also the best place to ask questions
86115
about the codebase and how to improve it.
87116

88-
## Compiling Stockfish
89-
90-
Stockfish has support for 32 or 64-bit CPUs, certain hardware instructions,
91-
big-endian machines such as Power PC, and other platforms.
92-
93-
On Unix-like systems, it should be easy to compile Stockfish directly from the
94-
source code with the included Makefile in the folder `src`. In general, it is
95-
recommended to run `make help` to see a list of make targets with corresponding
96-
descriptions. An example suitable for most Intel and AMD chips:
97-
98-
```
99-
cd src
100-
make -j profile-build ARCH=x86-64-avx2
101-
```
102-
103-
Detailed compilation instructions for all platforms can be found in our
104-
[documentation][wiki-compile-link]. Our wiki also has information about
105-
the [UCI commands][wiki-uci-link] supported by Stockfish.
106-
107117
## Terms of use
108118

109119
Stockfish is free and distributed under the
@@ -128,7 +138,7 @@ also be made available under GPL v3.
128138
[issue-link]: https://github.com/official-stockfish/Stockfish/issues/new?assignees=&labels=&template=BUG-REPORT.yml
129139
[discussions-link]: https://github.com/official-stockfish/Stockfish/discussions/new
130140
[fishtest-link]: https://tests.stockfishchess.org/tests
131-
[guideline-link]: https://github.com/official-stockfish/fishtest/wiki/Creating-my-first-test
141+
[guideline-link]: https://github.com/glinscott/fishtest/wiki/Creating-my-first-test
132142
[license-link]: https://github.com/official-stockfish/Stockfish/blob/master/Copying.txt
133143
[programming-link]: https://www.chessprogramming.org/Main_Page
134144
[programmingsf-link]: https://www.chessprogramming.org/Stockfish
@@ -140,10 +150,10 @@ also be made available under GPL v3.
140150
[website-link]: https://stockfishchess.org
141151
[website-blog-link]: https://stockfishchess.org/blog/
142152
[wiki-link]: https://github.com/official-stockfish/Stockfish/wiki
143-
[wiki-compile-link]: https://github.com/official-stockfish/Stockfish/wiki/Compiling-from-source
144-
[wiki-uci-link]: https://github.com/official-stockfish/Stockfish/wiki/UCI-&-Commands
145153
[wiki-usage-link]: https://github.com/official-stockfish/Stockfish/wiki/Download-and-usage
146-
[worker-link]: https://github.com/official-stockfish/fishtest/wiki/Running-the-worker
154+
[wiki-compile-link]: https://github.com/official-stockfish/Stockfish/wiki/Compiling-from-source
155+
[wiki-commands-link]: https://github.com/official-stockfish/Stockfish/wiki/Commands
156+
[worker-link]: https://github.com/glinscott/fishtest/wiki/Running-the-worker
147157

148158
[build-badge]: https://img.shields.io/github/actions/workflow/status/official-stockfish/Stockfish/stockfish.yml?branch=master&style=for-the-badge&label=stockfish&logo=github
149159
[commits-badge]: https://img.shields.io/github/commits-since/official-stockfish/Stockfish/latest?style=for-the-badge

0 commit comments

Comments
 (0)