chessbaseLinux/THIRD_PARTY_NOTICES.md

219 lines
14 KiB
Markdown
Raw Normal View History

# Third-party notices
The application is licensed under GPL-3.0-or-later (see `LICENSE`).
## Bundled assets
All assets below were downloaded unmodified from
https://github.com/lichess-org/lila at revision `cd2656d2787a766ba743da8da1dd3b24975e6329`
(2026-10-17). Authorship and license as stated in that revision's `COPYING.md`.
| Path in this repo | Source path | Author | License |
| --- | --- | --- | --- |
| `apps/desktop/assets/pieces/cburnett` | `public/piece/cburnett` | Colin M.L. Burnett | GPLv2+ |
| `apps/desktop/assets/pieces/merida` | `public/piece/merida` | Armando Hernandez Marroquin | GPLv2+ |
| `apps/desktop/assets/pieces/mpchess` | `public/piece/mpchess` | Maxime Chupin | GPLv3+ |
| `apps/desktop/assets/pieces/chessnut` | `public/piece/chessnut` | Alexis Luengas | Apache-2.0 |
| `apps/desktop/assets/pieces/fantasy` | `public/piece/fantasy` | Maurizio Monge | MIT |
| `apps/desktop/assets/pieces/celtic` | `public/piece/celtic` | Maurizio Monge | MIT |
| `apps/desktop/assets/pieces/spatial` | `public/piece/spatial` | Maurizio Monge | MIT |
| `apps/desktop/assets/pieces/rhosgfx` | `public/piece/rhosgfx` | RhosGFX | CC0-1.0 |
| `apps/desktop/assets/pieces/shapes` | `public/piece/shapes` | flugsio | CC BY-SA 4.0 |
| `apps/desktop/assets/pieces/kiwen-suwi` | `public/piece/kiwen-suwi` | neverRare | CC BY 4.0 |
| `apps/desktop/assets/pieces/firi` | `public/piece/firi` | James Faure | CC BY 4.0 |
| `apps/desktop/assets/pieces/pixel` | `public/piece/pixel` | therealqtpi | AGPLv3+ |
| `apps/desktop/assets/pieces/letter` | `public/piece/letter` | usolando | AGPLv3+ |
| `apps/desktop/assets/pieces/pirouetti` | `public/piece/pirouetti` | pirouetti | AGPLv3+ |
| `apps/desktop/assets/boards/*` | `public/images/board/*` (wood, wood2–4, maple, maple2, leather, marble, blue-marble, blue2, blue3, canvas2, metal, olive, grey, green-plastic, purple-diag, pink-pyramid) | the lila authors and pirouetti | AGPLv3+ |
| `apps/desktop/assets/sounds/sfx` | `public/sound/sfx` | Enigmahack | AGPLv3+ |
| `apps/desktop/assets/sounds/piano` | `public/sound/piano` | Enigmahack | AGPLv3+ |
| `apps/desktop/assets/sounds/futuristic` | `public/sound/futuristic` | Enigmahack | AGPLv3+ |
| `apps/desktop/assets/sounds/nes` | `public/sound/nes` | Enigmahack | AGPLv3+ |
| `apps/desktop/assets/boards/horsey.jpg` | `public/images/board/horsey.jpg` | the lila authors | AGPLv3+ |
The flat "IC" and "NCF" boards reproduce the two colours of `public/images/board/ic.png` and
`ncf-board.png`; the other flat boards are ChessPenguin's own colour pairs.
### From PyChess
Downloaded unmodified (files renamed `wk.svg` → `wK.svg`) from https://github.com/pychess/pychess
(`pieces/`, 2026-10-18), with the license file of each set:
| Path in this repo | Author / origin | License |
| --- | --- | --- |
| `apps/desktop/assets/pieces/governor` | the lila authors (Lichess "governor") | AGPLv3+ |
| `apps/desktop/assets/pieces/kosal` | Kosal Sen (philatype.com) | CC BY 4.0 |
| `apps/desktop/assets/pieces/metaltops` | PyChess (`license.txt`: "published under the GPL") | GPL |
### Kenney sounds
`apps/desktop/assets/sounds/wood`, `glass` and `clicks` are made from Kenney's "Impact Sounds" and
"Interface Sounds" (https://kenney.nl, CC0 1.0): leading silence trimmed, loudness matched to the
other sets, re-encoded as Ogg Vorbis.
Paste a line, play on from here, learn the opening Paste a line from the clipboard (Ctrl+V on a game, the move menu, ☰): chess-core paste.rs plans where the text fits without touching the game — a PGN game where its moves part from this one along any branch, or where one of its positions occurs (another move order, noted); a fragment (SAN, numbered or not, «…» for black, UCI) after the selected move, instead of it, or at its move number — and grafts the new moves with their comments, symbols and variations (the pasted game's alternatives along the way too) as one undo step, the players' names after the line. A game with no position in common is refused with a message; a line going elsewhere than the selected move is asked about; an impossible move inserts nothing. Play on from here (the move menu, Ctrl+G on a game, ☰): the play dialog shows the position on a small board and the game it comes from; the new game holds the moves up to it (Maia sees the history, repetitions count), dimmed during play, with a comment saying where it comes from; take-backs, abort and resign count only the new moves; the source game waits under it («⬅ Back to the game»); the side to move plays by default, a rematch keeps the colour. Learn the opening up to this move (the move menu, ☰): a training screen over the game; the user plays both sides; a wrong move is counted, shown for 400 ms in red with a short sound and taken back; from the third mistake on a move «Show the move» puts an arrow (the run marked with a hint); at the end the mistakes by move, the line's runs (last, best, clean in a row, recent), «Again» (Enter). Runs are kept in training.json by the line (start position and moves), shared between games; an entry or a file that does not read is kept aside, not lost. New sounds Wrong (Kenney, CC0) and Success (Lichess Victory, Kenney). Keys of the game do nothing under a modal question or dialog. Dev hooks CP_PASTE_LINE, CP_PLAY_FROM, CP_TRAIN, CP_TRAIN_MOVES, CP_TRAIN_KEEP, CP_TRAINING_FILE. Texts in nine languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 14:51:09 +03:00
| Set | Move | Capture | Check | Checkmate | Defeat | Success |
| --- | --- | --- | --- | --- | --- | --- |
| wood | impactWood_light_002 | impactWood_heavy_002 | impactPlank_medium_002 | impactBell_heavy_001 | minimize_008 | confirmation_004 |
| glass | impactGlass_light_001 | impactGlass_heavy_001 | glass_002 | impactBell_heavy_000 | minimize_004 | confirmation_002 |
| clicks | click_002 | drop_002 | confirmation_001 | maximize_006 | minimize_006 | confirmation_003 |
`apps/desktop/assets/sounds/common/Wrong.ogg` (a wrong move while learning an opening, every
set) is Kenney's `error_003` of "Interface Sounds" (CC0), made the same way.
`apps/desktop/assets/sounds/common/LowTime.ogg` (the player's clock getting low, every set) is
two of Kenney's `tick_004` of "Interface Sounds" (CC0) 180 ms apart, 4 dB quieter, re-encoded
as Ogg Vorbis.
Paste a line, play on from here, learn the opening Paste a line from the clipboard (Ctrl+V on a game, the move menu, ☰): chess-core paste.rs plans where the text fits without touching the game — a PGN game where its moves part from this one along any branch, or where one of its positions occurs (another move order, noted); a fragment (SAN, numbered or not, «…» for black, UCI) after the selected move, instead of it, or at its move number — and grafts the new moves with their comments, symbols and variations (the pasted game's alternatives along the way too) as one undo step, the players' names after the line. A game with no position in common is refused with a message; a line going elsewhere than the selected move is asked about; an impossible move inserts nothing. Play on from here (the move menu, Ctrl+G on a game, ☰): the play dialog shows the position on a small board and the game it comes from; the new game holds the moves up to it (Maia sees the history, repetitions count), dimmed during play, with a comment saying where it comes from; take-backs, abort and resign count only the new moves; the source game waits under it («⬅ Back to the game»); the side to move plays by default, a rematch keeps the colour. Learn the opening up to this move (the move menu, ☰): a training screen over the game; the user plays both sides; a wrong move is counted, shown for 400 ms in red with a short sound and taken back; from the third mistake on a move «Show the move» puts an arrow (the run marked with a hint); at the end the mistakes by move, the line's runs (last, best, clean in a row, recent), «Again» (Enter). Runs are kept in training.json by the line (start position and moves), shared between games; an entry or a file that does not read is kept aside, not lost. New sounds Wrong (Kenney, CC0) and Success (Lichess Victory, Kenney). Keys of the game do nothing under a modal question or dialog. Dev hooks CP_PASTE_LINE, CP_PLAY_FROM, CP_TRAIN, CP_TRAIN_MOVES, CP_TRAIN_KEEP, CP_TRAINING_FILE. Texts in nine languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 14:51:09 +03:00
The Defeat and Success sounds of the Lichess sets (`Defeat.ogg` and `Victory.ogg` of
`public/sound/sfx`, `piano`, `futuristic`, `nes`, by Enigmahack, AGPLv3+) were downloaded
unmodified on 2026-10-25.
Notes:
- Lichess keeps a set's checkmate sound as a link to its check sound; ChessPenguin plays the check
sound for checkmate in the Lichess sets.
- Lichess "standard" sounds are listed as non-free in `COPYING.md` and are intentionally not used.
- Piece sets and boards under CC BY-NC-SA (e.g. california, staunty, maestro, horsey) are not bundled: non-commercial terms are incompatible with the GPL.
- AGPLv3+ sound, piece and board files are combined with this GPLv3+ program under GPLv3 §13.
## Maia-3 (play against the computer)
`crates/maia` computes the Maia-3 network (CSSLab, University of Toronto: Reid McIlroy-Young,
Ashton Anderson and co-authors) in Rust. Its architecture and input encoding follow the
reference implementation https://github.com/CSSLab/maia3 (AGPL-3.0), translated to Rust and
checked against it (`scripts/maia-reference.py`, `crates/maia/tests/reference.json`); as with the
AGPL sounds above, it is combined with this GPLv3+ program under GPLv3 §13.
The network weights are **not** part of ChessPenguin. On the user's request the program
downloads the authors' own file `maia3-5m.pt` from https://huggingface.co/UofTCSSLab/Maia3-5M
(revision and SHA-256 pinned in `apps/desktop/src/maia_download.rs`) into the user's data
directory. The weights' licence is not stated by the authors.
## Rodent V (an opponent with a style)
**Rodent V 1.2** (Naman Thanki and Paweł Koziol, based on Sungorus by Pablo Vázquez) is not
part of ChessPenguin. On the user's request the program downloads the authors' unmodified
release archive `release-1-2.zip` from https://github.com/nescitus/Rodent-V/releases/tag/Rodent_v_1.2
(SHA-256 pinned in `apps/desktop/src/rodent_download.rs`) into the user's data directory and
takes from it the engine for the platform and its `personalities/`, `nets/` and `books/`. It
runs as a separate program through UCI.
- License: GNU General Public License version 3 (https://github.com/nescitus/Rodent-V/blob/main/LICENSE);
source: https://github.com/nescitus/Rodent-V.
- The opening books of the release come with it as the authors publish them.
## Rodent IV (characters and famous players)
**Rodent IV 0.33** (Paweł Koziol and Bernhard C. Maerz, based on Sungorus by Pablo Vázquez) is
not part of ChessPenguin. Its authors publish no builds for Linux and Windows, so the engine
is built from their sources at commit `e8d84c8c8c189a1cf4eb27c578fc573af3b916d2` of
https://github.com/nescitus/rodent-iv with one fix of ours, `packaging/rodent-iv/home-dir.patch`
(on Linux the engine now and then took a wrong home folder and played without its
personality), by `.github/workflows/rodent-iv.yml`, and published as the release
`rodent-iv-0.33` of this repository. On the user's request the program downloads
that build (SHA-256 pinned in `apps/desktop/src/rodent4_download.rs`) and the engine's
personalities and opening books from the authors' repository at the same commit (each file's
SHA-256 pinned in `crates/play/src/rodent4_files.rs`) into the user's data directory. It runs
as a separate program through UCI.
On Android the engine is built from the same commit with the same fix and two more,
`packaging/rodent-iv/think-thread.patch` (the search thread read its position from a dead
stack frame; clang builds searched garbage) and `packaging/rodent-iv/android.patch` (bionic has
no `wordexp`), by `androidApp/scripts/rodent4.sh`; the executable and the personalities are in
the APK (both builds), with the license, the authors' README and the credits of the books
(`licenses/rodent-iv` among the APK's assets). The opening books the characters use are
downloaded on the user's request from the authors' repository at the same commit, each file
checked against its SHA-256.
- License: GNU General Public License version 3 (https://github.com/nescitus/rodent-iv/blob/master/LICENSE);
source: the commit above.
- The opening books come as the authors publish them, with their own credits (`#readme.txt`
in each folder of `books/`).
- Three personalities (Strangler, Spassky, Deborah) name their book by a path not in the
authors' files; the program puts a copy of the book under that name (on Android the book is
saved under that name).
## Stockfish (engine)
**Stockfish 19** (tag `sf_19`) is the unmodified official "universal" build from
https://github.com/official-stockfish/Stockfish/releases/tag/sf_19. The Flatpak bundles it;
the other packages do not: on request the program downloads the same official archive for the
platform into the user's data directory and checks its SHA-256 (pinned in
`apps/desktop/src/engine_download.rs` and `packaging/stockfish.sh`) before using it.
- License: GNU General Public License version 3 (`Copying.txt`, installed as
`stockfish-Copying.txt` next to this application's license); authors: the Stockfish
developers (`AUTHORS`, installed alongside).
- Source code: https://github.com/official-stockfish/Stockfish/tree/sf_19 ; every GitHub release of
ChessPenguin also carries `stockfish-sf_19-source.tar.gz`. The neural networks embedded in the
binary are published by the Stockfish project (see its `README.md` and `src/evaluate.h`).
- Stockfish's networks are trained on data provided by the Leela Chess Zero project under the
Open Database License (ODbL).
- ChessPenguin runs Stockfish as a separate process over the UCI protocol.
Web version, stage 2: Stockfish 19 in workers, live analysis, game review on N workers, My games, files, keys game-review: what the job does for one target (the full search, the second best without the move played, the shallow ones) becomes a machine without I/O (job/work.rs), driven by the engine processes on a computer (job/engines.rs, the same searches as before) and by Web Workers in a browser (job/workers.rs: a dispatcher polled from the frames, never blocking). The analysis cache goes through a CacheStore (a folder, or the program's files of the platform). The browser's engine: Stockfish.js 19.0.1 (npm stockfish, GPL-3.0), its single-threaded build served beside /app/ (engine/, build.sh checks the package's sha512), its 99 MB wasm downloaded only through the engine offer, checked against its SHA-256 and kept in Cache Storage; workers get it as a blob: address. Live analysis (lines, arrows, the bar) and the review run on it; the review uses one worker per logical CPU, at most 8. My games (the web version): a PGN in the browser's storage, always on the shelf; Ctrl+S puts a game there (its own record, or a new one); deleting with undo. chess-core's store gives the bytes of append/replace/remove/restore, so the platform writes them into the browser's files; on a computer the files are written as before. Settings: Browser data (used and free space, keeping the data for good, Download all as PGN, deleting the engine). Files: a file of the last visit offers Choose the file again; Keep a copy in the browser (refused with the room it needs when the browser gives too little); files over 1 GB are not opened, with a word on why. No reference tab and no search by position in the web version. Keys: Alt+Left, plain 1-6, Ctrl+C, N in the library (the browser keeps Ctrl+W/N/1-6/Shift+C). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:35:16 +03:00
### Stockfish.js (the web version)
The web version (`/app/` on the site) uses **Stockfish.js 19.0.1** by Nathan Rugg and Chess.com
(https://github.com/nmrugg/stockfish.js), its single-threaded build `stockfish-19-single.js` +
`stockfish-19-single.wasm`, unmodified, from the npm package `stockfish@19.0.1`
(https://registry.npmjs.org/stockfish/-/stockfish-19.0.1.tgz, integrity
`sha512-bTwsO4e9HAwPBKls1+szcfibmaWRNzTF20rQE/XPdB3LOSoT6XTZDr1zYwriwSRRFT5MkvqrglPmJrKEVXGnyQ==`,
checked by `apps/web/build.sh`). It is Stockfish 19 compiled to WebAssembly with the network
`nn-1a298aa575a0` built in. Our site serves the files beside the program (`/app/engine/`, with the
package's `Copying.txt`); the browser downloads the `.wasm` only when the user agrees and keeps it
in its Cache Storage; it runs in Web Workers over UCI.
- License: GNU General Public License version 3 (the engine; `Copying.txt`); the JavaScript
wrapper as published in the package.
- Source code: https://github.com/nmrugg/stockfish.js/tree/v19.0.1 (the build scripts and the
emscripten glue) and the Stockfish source above.
2026-10-28 12:32:39 +03:00
## Opening names (preparing against an opponent)
`crates/openings/data/a.tsv` … `e.tsv` are the five files of the Lichess opening table
2026-10-28 12:32:39 +03:00
https://github.com/lichess-org/chess-openings (the lichess.org contributors), downloaded
unmodified at revision `f06a50d5c7c140e50b068049fa31d289e2c3d347` (2026-10-27) on 2026-10-28 and
embedded in the program. Its README: "As a collection of facts, this data set is in the public
domain … released under the CC0 Public Domain Dedication" (CC0 1.0). SHA-256 of the files:
| File | SHA-256 |
| --- | --- |
| `a.tsv` | `3282e4c9155289a29224f9a85fba0decb46efa35c2fa5e39662d2ac48fb0f793` |
| `b.tsv` | `4bf2269a8e7571a00a7b346bae4fa86a241a6e7e86beab01783c81acb1622b63` |
| `c.tsv` | `45e843c7b7e79a0d04d5bda879c9bd23f5a10974488bd8615e4f4c5d0749986f` |
| `d.tsv` | `1cf4057a8aece94f27bb3f278ad410ee2844831a642364eeceaafa091dbcceda` |
| `e.tsv` | `48c6f6645b031a5937c8386839debab0e2e48837251687ba1afb6369677f8546` |
## ChessBase formats
- `crates/chess-import/src/cbv.rs` reads ChessBase archives following uncbv
(https://github.com/antoyo/uncbv, Antoni Boucher, GPL-3.0-or-later); the code is a rewrite.
- The ChessBase database layout (`crates/chess-import/src/chessbase/`) follows the public format
description in https://github.com/Yarin78/morphy (`format/v1`), used as a source of facts; no code
is taken from that project.
- ChessBase is a trademark of ChessBase GmbH; ChessPenguin is not affiliated with it.
## Rust crates
Dependency licenses are recorded by `Cargo.lock`; key ones: shakmaty / pgn-reader (GPL-3.0-or-later),
egui / eframe (MIT OR Apache-2.0), zip (MIT), sevenz-rust2 (Apache-2.0), sysinfo (MIT),
sys-locale (MIT OR Apache-2.0), whatlang (MIT, detecting the language of comments).
egui's bundled fonts are part of the program: Ubuntu Light (Ubuntu Font Licence 1.0), Hack
(MIT and Bitstream Vera licence), Noto Emoji (SIL OFL 1.1), emoji-icon-font (MIT).
Three evaluation signs (⩲ ⩱ ⌓) come from Noto Sans Math (Copyright 2022 Google LLC, SIL OFL 1.1),
cut down to those glyphs: `apps/desktop/assets/fonts/NotoSansMath-nag.ttf`, licence beside it.
The figurines of the move notation (♔♕♖♗♘) are the five chess glyphs of egui's
emoji-icon-font (MIT), cut out to `apps/desktop/assets/fonts/figurines.ttf`.
The moves of the notation and the move marks on the board are in Ubuntu Bold (Ubuntu Font
Family 0.83, © 2010–2011 Canonical Ltd., Ubuntu Font Licence 1.0), from
the official release `https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip`
(SHA-256 456d7d42…05b42, as in Arch Linux's `ttf-ubuntu-font-family`):
`apps/desktop/assets/fonts/Ubuntu-B.ttf`, licence `UFL.txt` beside it.
## Classic games (examples/classics.pgn)
62 of the 100 sample classic games (added 2026-10-28) are game records — players,
event, date, result and moves, which are historical facts — taken from the free player
files of pgnmentor.com (64 Squares; "available for download, completely free") and,
where possible, checked against Wikipedia articles (used only for comparison, no text
copied). Details: `docs/research/classics-sources.md`.