The Play page is the picture, the logo, PLAY and its menu, and the status line: the row of cards is gone, and the
server no longer reads the repository's history for it. Something still to do (DLSS files, the runtime) is a link
under the status instead of a card.
The rail holds one entry, the game, with the selection bar; its tile is a square cut from the background picture, or
the logo without one. Expanded it shows the name and the state. The four setups and "your own options" are in the
menu beside PLAY, the one in use ticked, beside "check this start" and "copy the command"; the menu opens upward
beside the buttons so it fits a 678-pixel-high window.
Tested: tests/test_launcher_serve.py (10), the no-game-data check, and the page in a browser at 1284x678 with the
server in --no-run mode: the tile, the expanded rail, the menu and its setups.
AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The picture behind PLAY is the one chosen in Settings (Launcher, Background picture), else the newest background.webp,
.png or .jpg in the launcher's settings folder (%APPDATA%\Leonida), else the newest capture, else the drawn art. When
there is none, launcher/serve.py fetches the game's key art from rockstargames.com once at start (2560 wide) and
keeps it there as background.<the type that came back>; --no-art leaves it. The request names a plain browser and
nothing about the user or the project; what comes back is kept only if its bytes are a PNG, JPEG or WebP. The picture
is never part of the repository.
Over a picture the page sets it a little lower, so heads clear the words top right, fills the band above with the
picture's own top row, and moves the cards to the bottom so the faces stay clear. /media/background needs the run's
cookie and serves only a picture by its bytes.
Tested: python -I tests/test_launcher_serve.py (10 tests: picture kinds, which background, the fetch against a local
server, token, Host, Origin, cookie, preview starting nothing) and tests/test_leonida_launcher.py (15), the
no-game-data check, and the page in a browser with the server in --no-run mode: the art was fetched (2560x1440 WebP)
and shown, Settings names the file in use.
AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
launcher/index.html is the window: a slim black rail of square tiles with a selection bar (four setups of the one
game), art over the whole window, the sections as uppercase words top right, the logo with one large light PLAY
button and a small menu button, and a row of black cards (what is still to do, the newest captures, the latest
changes). Mods, Saves, Captures, Tools, Settings and About are a dark sheet over the art. The logo is the
repository's assets/logo.svg; the art is drawn by the page. Nothing is loaded from the network.
launcher/serve.py serves it on 127.0.0.1 only and does what the page asks through the functions of
tools/leonida_launcher.py: settings, the mod switches, the save list and back-ups, captures, PLAY and Stop, the
tools. Requests need the Host of this machine, the run's token (a header for /api, a cookie for pictures and the
event stream), and name things by folder, index or name, never by path. --no-run looks only: PLAY and the tools
say what they would run and start nothing.
tools/leonida_launcher.py: the settings and the command line know the newer switches of scripts/play-d3d12.ps1
(-SeriesS, -Dlss, -FrameGen, -Aspect, -PresentScale, -Adapter), each checked before it is kept.
Tested: python -I tests/test_leonida_launcher.py (15 tests), check_no_game_data on the new files, and the page in
a browser against the server in --no-run mode (every page, the menu, PLAY printing its command). PLAY, Stop and the
tools were not run for real: another session had the game running. Launcher.bat still opens the Tkinter window.
AI-assisted.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>