think-thread.patch (already used for Android) goes into the desktop builds: clang
(macOS) builds searched garbage out of the book. Each build now has to answer a legal
first move from a search without its book.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner: «заюзаем rodent 4 со всеми его стилями». One opponent «Rodent»:
its list gets Rodent IV's 13 characters and 22 players (sorted by their names
as shown, the Tals side by side); the engine follows the style (Rodent IV's
UCI_Elo 800–2800), «Rodent IV 2000 (Petrosian)» in the record. Texts say
«Rodent» where they said «Rodent V».
Rodent IV's authors publish no builds for Linux and Windows: the workflow
rodent-iv.yml builds it from their sources at a pinned commit (with one fix,
packaging/rodent-iv/home-dir.patch: on Linux it now and then took a wrong home
folder and played without its personality) into a pre-release that is never
«latest». The app downloads that build and the personalities and books from
the authors' repository at the same commit (scripts/rodent4-manifest.py →
rodent4_files.rs), each checked; three misnamed books get a copy under the
name their personality reads. Until the build's sums are written in, Rodent
IV's styles are not shown.
Reviewed (tester and designer in one) with a local build (CP_RODENT4).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- crates/releases: the latest release on GitHub, its files and SHA-256 sums, shared by
the desktop updater and the phone (desktop update.rs keeps its installers).
- mobile-api check_release: a newer release with its APKs and sums; a desktop-only
release is no update, one without the light APK's sum cannot be checked.
- Android (android-ui.md §25): a check at start and on return once a day (switch and
«Check now» in About), a card over the databases, a sheet through the install
permission, the download (DownloadManager), the SHA-256, the full build keeping its
engine network, and PackageInstaller; the state survives restarts, the update's
snackbar waits for a screen. Network state permission for both builds (the full one
crashed without it). Debug builds may ask a test server (CP_UPDATE_API).
- Release notes on GitHub come from this version's CHANGELOG section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The design review (docs/design/android-ui.md §17): the move buttons in the
bottom bar (snackbars above them), ripple on press, larger ◀ ▶, coordinates
over the pieces, readable NAG colors in the light theme, 16 dp edges, the
⋮ menu (game details, copy PGN/FEN, share), "Deeper" next to ▾, TalkBack
states, no "*" for unfinished games, "Found N of M", texts.
- The penguin as the adaptive icon and on the splash screen; dark window.
- Release builds: R8, signing from the environment, androidApp/scripts/release.sh
(two APKs, apksigner and 16 KB alignment checks); the release workflow builds
them from the repository secrets.
- Website: the Android tab with both APKs, "Download for Android" on phones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Windows 10 user saw the program quit silently after SmartScreen: a Windows
program has no console, so a failed graphics start left no trace. A start that
fails or dies before its first frame now tries again without Vulkan, with
OpenGL, then with software drawing (WARP), and keeps the mode that worked; what
no mode overcomes, and any panic, goes to a message box and chesspenguin.log.
The C runtime is linked statically (no VCRUNTIME140.dll needed); CI checks that
and starts the window on the GPU-less Windows runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The newest release is checked at start; a button next to Settings offers it. The Windows
zip, the AppImage and the Linux archive replace themselves (checksum-checked) and restart;
macOS opens the disk image; packages are downloaded with the command that installs them.
Reviewed by independent tester and designer agents; their findings fixed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Packages no longer carry Stockfish (about 14 MB instead of 95): the first
analysis without an engine offers to download the official Stockfish 19
"universal" build from GitHub (pinned per platform with its SHA-256, checked
before use, unpacked into the user's local data directory, test-started),
then starts the analysis the user asked for. Settings -> Engines: download
with progress and cancel, "file not found" with download again, removal with
confirmation; "Choose engine file…" for any other engine. A system stockfish
is offered first when there is one. ChessPenguin's Stockfish = bundled
(Flatpak) or downloaded.
macOS: release job and CI job on macos-14 build ChessPenguin.app (icon,
Info.plist, ad-hoc signature) in a .dmg; Homebrew paths for a system
stockfish. Not signed by Apple yet.
Decisions 14-15; design docs/design/engine-download.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- packaging/stockfish.sh fetches the pinned official universal build (SHA-256
checked) for Linux and Windows and the source archive for the release.
- deb/rpm/Arch, AppImage, Flatpak, tarball and Windows zip ship it unmodified
(AppImage: added after linuxdeploy, packed with appimagetool).
- The app resolves the built-in engine at run time (EngineConfig::builtin),
adds it on first start (or a system stockfish), and offers engines found on
the computer in Settings > Engines.
- install.sh installs Stockfish into ~/.local/lib/chesspenguin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Native chess database for Linux: PGN library, notation with variations and
comments, UCI engine analysis, move entry and export.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>