H Super is a modified version of Pikafish, a free and open-source xiangqi
engine released under the GNU General Public License version 3 (GPLv3).
Upstream project:
https://github.com/official-pikafish/PikafishOriginal authors : the Pikafish developers (see AUTHORS)
Pikafish itself is derived from Stockfish (https://stockfishchess.org).
Modifications made in H Super (as required by GPLv3 section 5a, "prominent
notices stating that you modified it"):
1. src/misc.cpp - engine identification changed from "Pikafish <version>"
to "H Super 1.1"; author string changed to
"H Super Team (based on Pikafish)".
2. src/evaluate.h - EvalFileDefaultName changed from "pikafish.nnue" to
"hsuper.nnue".
3. src/Makefile - output executable renamed to hsuper / hsuper.exe.
4. scripts/net.sh - default network filename changed to hsuper.nnue.
5. src/uci.cpp,
src/uci.h - added a UCCI protocol layer. Most Chinese xiangqi GUIs
speak UCCI rather than UCI; the engine now auto-detects
the protocol from the first handshake command (`uci` or
`ucci`) and translates the handshake, the `setoption`
syntax and the `go` time-control keywords accordingly.
UCI behaviour is unchanged when `uci` is used.
6. src/uci.cpp - added opt-in protocol transcript logging, enabled only
when a file named "hsuper-log.on" is present next to the
executable. Used for diagnosing GUI integration issues.
9. src/uci.cpp - accept a board sent without the leading `position`
keyword, i.e. a bare "fen <FEN> [moves ...]" or
"startpos [moves ...]". 勇芳中国象棋 and other Chinese
GUIs use that form; upstream replies "Unknown command"
and silently keeps the previous board, so the engine
analyses the opening position for the whole game and
returns an opening move on every turn.
7. src/engine.cpp - changed the default values of the Threads option (1 -> 2)
and the Hash option (16 MB -> 128 MB). These are defaults
only; both remain fully configurable.
8. src/uci.cpp - branding strings in the `help` output.
The search algorithm, the evaluation code and the NNUE network are unmodified
from upstream Pikafish. No claim of superior playing strength over Pikafish is
made; H Super plays at the same strength as the Pikafish revision it is built
from, using the same network file.
This program comes with ABSOLUTELY NO WARRANTY. You are free to redistribute it
under the terms of the GNU GPL version 3, provided you also make the complete
corresponding source code available. See Copying.txt for the full license.
[font="]download:https://okpan.com/d/DhBhW