Split the old quickstart/reference walls into Quickstart, Menu, Options,
nine station chapters (Purpose, Pages, Displays, Keys, Mouse, Standard
procedure, Tips, Not modelled), Submarine, Scenarios, Multiplayer, After the
mission, Tools, Editors, Language model, Reference and Glossary. Fix outdated
statements against the code; reader digits 0-9 open the quickstart and the
station chapters.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
- Top bar (frigate and submarine): a menu icon beside the theme switch opens
a compact game menu (help, options, save/load, weather, plot, autocrew,
crew assist, simlog, XO, analyzer, Remote Crew, nations, quit); each row
calls what its key calls. The open menu owns the pointer ("popup" layer);
a click beside it or any key closes it.
- Every overlay (help, options, save/load, quit, nations, live traffic,
weather 0, autocrew F3, simlog F4) has a close box acting as Esc; the
F3/0/F4 overlays now pass clicks to the pointer targets.
- Sonar: chips C/T/G/M/Y/Shift+Y under the contact cards (boat: C/T/M).
- OPZ target page: chips M, G, left/right; group page: Y F H X W Shift+A
Shift+W hints clickable. ESSM and consort ASROC stay keys (fire by click
only at station 3).
- Submarine weapons: chips Shift+M, Ctrl+M, V; tube lamps load (M) or
flood (Shift+M), only at the weapons station.
- help.py, manual EN/DE, station shortcut sheet, catalogs; tests.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
- Submarine F (fire by bearing): Enter confirms the distance, only
Ctrl+Enter fires; the keypad's Enter cell is Ctrl+Enter in that entry.
- F1 page 0 shows the submarine's own global keys on the boat side and
the menu keys in menus (help.py _UBOOT_GLOBAL_HELP, _MENU_HELP; manual
markers keys:uboot_global, keys:menu).
- Submarine ESM: C (Shift+C back) classifies, arrows kept.
- Helicopter W: waypoint on the selected contact, as the patrol aircraft.
- W/R/F act only on the main menu and the scenario pages; the real
sector moves with [ / ], page keys scroll the lists.
- Radio Tasks page: Enter accepts the selected task.
- OPZ page 5: Backspace resets the row, Shift+Backspace every row.
- Submarine order keys ignore Shift/Ctrl unless they have a variant;
Shift+A at Command sends the active ping.
- Help: OPZ page-3 keys say "Page 3:", "S / L (OPZ: L = fusion)",
logbook footer with every key (clickable).
- Remove dead STATION_COMMAND_HINTS and its control.hint.* texts.
- Tests for all of the above; manual and shortcut sheet regenerated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
One set of semantic colour tokens (src/ui/theme.py) drives the uConsole
and, generated into tokens.css, the Remote Crew browser. Night (default),
day (light, paper LOFARgram waterfall) and high contrast; a Dark/Light pill
in the top bar and the Options row switch it, red light forces night. The
theme is a preference only, saves stay v50. Panels are rounded with an
accent title mark, tabs are pills and key hints chips.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
The app's built-in Python looked for root certificates in the build
machine's Python folder, so every update check failed verification and no
notice appeared. Windows and macOS programs now bundle certifi and add it
(and macOS /etc/ssl/cert.pem) to the default store for the update check,
the language model and live traffic. A failed check now shows its reason
on the start screen and main menu; U checks again. CI runs --tls-self-test
on both programs, on macOS with OpenSSL's default paths pointed nowhere.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
The Remote Crew "Einsatzprotokoll" only ever carried a few browser alerts
(damage, threat, mission end, proposals) and so looked empty. Every station
now gets its side's F11 log: the frigate's event feed for the frigate's
stations, the crewed boat's log for the submarine's, numbered once by the
bridge, with time stamp and category tag, up to 200 entries like F11.
Unchanged logs are not re-encoded; the browser keeps rows already shown.
The open log drawer has a fixed height, so a long log scrolls inside it
instead of pushing the chart away. On the uConsole, F11 now opens the
boat log on the submarine side too (with wheel scrolling).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018n9X2Pm9CMpZA5WVJik2Es
The release workflow (windows.yml) now also builds U-Jagd.app with
PyInstaller (packaging/macos) natively for arm64 (macos-latest) and
x86_64 (macos-15-intel), since pygame and NumPy publish no universal2
wheels, self-tests it (mission + Remote Crew, the bundle swap, and the
zip as the in-game updater unpacks it) and zips it with ditto as
U-Jagd-macOS-<arch>.zip. A single final publish job creates the release
and uploads the Windows exe and both zips, then prunes older releases,
so the builds never race.
The frozen macOS app updates itself: it downloads the zip for its
processor (size and SHA-256 checked), unpacks it safely beside the
bundle (confined paths and links, bounded size, modes 755/644) into
<app>.update, and a detached sh script swaps the bundle after the game
quits (old bundle renamed aside, restored on failure, deleted only once
the new one is in place) and reopens it. Translocated or unwritable
bundles open the release page. ~/.u-jagd is never touched.
Remote Crew on macOS: SIOCGIFADDR is Linux-only, so the LAN address now
comes from the routing table there (and whenever no private interface
address was found).
README (EN/DE) gains a macOS app section with the first-start step;
the quickstart manual chapter mentions the macOS update.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
Status lamps, key hints in station text, page tabs, list rows and the
bottom status line readings now act on a mouse click on both sides, by
sending the same key event as the keyboard (fire stays clickable only at
the weapons station). The submarine's sonar takes clicks, the element
under the mouse gets a thin frame, and Remote Crew sonar, helicopter and
engine lamps press their buttons. Manual, help, shortcut sheet,
changelog and README updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017N4wRun1ibqyXWHJDrTqVv
The scenario list grew to 13 rows per side and its last rows were drawn over
the world and seed lines. The scenario, own-mission, difficulty and lesson
lists now show a bounded window in a panel with a scroll bar that follows
the selection (Up/Down, wheel, PgUp/PgDn, Home/End), with the start of the
selected scenario's briefing below. Centred menu lines shrink to the screen
width, the logbook keeps clear of the sector hint, and the browser names the
free patrol in the new-game list instead of "unknown". A layout test checks
every start-menu page for overlapping or off-screen lines.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TBTN1D3wXaBi9NtJQapCXJ
The free patrol stays last on each side, so the group hunts are scenario 11
and the free patrol 12. This branch's releases move to 1.3.136-1.3.140 and
its consort block to save v47 (step _v46_to_v47, frozen v46 samples).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
An open-ended mission at the end of both sides' scenario lists: no time
limit, endless HQ radio tasks (frigate sector patrols; submarine attack,
landing, supply and recon orders), random encounters (submarines,
merchant groups, air raids, AI hunter leads) and incidents at sea.
Saves move to v46 with a migration step and frozen v45 samples.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjZYXZVsZ1ryqQ9DkRDrRo
Consort hears within 8 NM and not above 15 kn, pings reach 5 NM, two ASROC in the hunter group, search group 3 h / 45 min. Mission types may scale their full-length distances (scale), set the first boat's full-length spawn (spawn_nm) and the trail's full-length goal share (goal_fraction). Fairness AI against AI, short variant, seeds 1-6: search group 4:2, hunter group 4:2 (frigate:boat).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
The fixed chains of six frigate and five submarine missions give way to a
theatre: a sector chart with three open hotspots (each one of the side's
built-in scenarios, played exactly as from the menu), a front situation
0..100, enemy strength and losses. The player picks the next hotspot;
results move the situation, newly opened hotspots follow the situation
band, ignored defence hotspots count as losses, and the decisive hotspot
opens from situation 75. The campaign ends by the situation (victory,
cleared, supremacy; sunk, defeat, overrun, relieved; stalemate after 12).
Carry-over rules are unchanged (frigate torpedoes, compartments,
helicopter, refit/quick; boat torpedoes and hull damage up to 60 %); a
carried hull damage no longer lowers the homecoming's own start damage.
Version-1 campaign files are migrated by a pure function; files are
strict, bounded and rejected when hostile. Campaign screen with map,
hotspot list, briefing page, end summary; EN/DE catalogs and manual.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The lobby's new Opponent row (AI / second crew) lets the frigate's crew play
the submarine's. Pairing browsers join the smaller team, teams are locked for
the round, each unit has its own web-host push-to-talk room, each team gets its
own result, and a host-only uConsole shows an umpire screen without any
tactical picture.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
The side-filtered scenario list now shows 1..n for the frigate and the
submarine, and the number keys follow the list on screen. The manual
counts the submarine scenarios 1 to 6.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186HTaxcpzw21KdLa2xgUHu
A "length" start choice (briefing, campaign, lobby, web host new game)
starts a scenario with its mission type's short_time_limit_s, hostile
submarines nearer and a boat mission's start distances scaled
(short_spawn_nm/short_scale per type). The shorter time limit is saved, so
a loaded mission knows it is short; no save format change. Tuned with the
AI-against-AI fairness harness: frigate wins 24 of 54 runs (seeds 1-6).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
src/ui/quality.py holds the display-only level (no PPI afterglow and a
stepped menu backdrop at Low, anti-aliased chart lines at Full) and the
canvas scaler: whole factors repeat pixels, other sizes repeat up to the
next whole factor and smooth down. The Options row replaces the old
anti-aliasing switch; Windows defaults to Full, the uConsole to Normal.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
After choosing frigate or submarine, the uConsole scenario menu, the
multiplayer lobby and the browser New game dialog list only that side's
scenarios. The '(U-Boot)'/'(submarine)' title suffixes are dropped; Esc in
the scenario list returns to the side choice.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186HTaxcpzw21KdLa2xgUHu
src/core/save_migrate.py lifts a save of format v38 (1.3.98) or newer step
by step to the current format; the strict validation and candidate restore
then run as for any save. Frozen samples written by the real releases of
each older format (tools/make_save_sample.py, catalog split off) are loaded
and played on by tests/test_save_migrate.py. The update notice warns about
saves only when the new release cannot lift them.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
A station view that fails to draw shows a notice while the mission keeps
running. A simulation fault restores an in-memory recovery snapshot (at most
one minute old); repeated faults or a fatal error keep it as the autosave.
Caught faults go to crash.log without marking the launch as crashed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
The feather, weather choice, atmosphere and emergencies follow main's
1.3.117 as 1.3.118-1.3.121. The storm weather choice is labelled with its
thunderstorms; the new sounds sit beside the thunder in the audio lists.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
Briefings, the campaign screen, the lobby and the browser's new-game
dialog pick weather (random, fair, rain, storm, fog) and time of day; a
chosen weather holds the mission with its sea in the kind's band.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
- uConsole fully playable by mouse: key-bar legends, station tabs, dials,
numeric keypad, clickable menu/dialog rows, wheel and right-click cancel
- Charts draw own track, earlier contact positions and bearings (display only)
- Chart labels are placed without overlapping (uConsole and web)
- Cargo ships, tankers and passenger ships run lanes between ports and edge
exits, give way under COLREG-style rules and flee nearby detonations
(stateless, no save change)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JrUuYqTA8k76Uf572FDStg
The Tk starter stays deleted: the frozen game installs updates itself
("windows" mode); src/launcher/entry.py takes over the starter's
UPDATE_EXIT_CODE hand-over (fetch <exe>.new if missing, launch_install).
main.py keeps --multiplayer and passes mode None to start_update_check;
launcher.* catalog keys stay removed next to the new update.* keys.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
- main.py: one --multiplayer flag opens the multiplayer lobby after the
splash, as the main-menu entry does; --remote-crew stays as a hidden
alias, --solo-crew as a hidden advanced flag (the only way into solo
mode); --play-sub and --status-file are removed.
- Windows: U-Jagd-Windows.exe runs main.main() directly (a leading --game
is ignored), removes a stale <exe>.new first, passes the game's exit code
through and runs update.launch_install on update.UPDATE_EXIT_CODE when a
downloaded <exe>.new exists. The Tk starter (src/launcher/app.py), its
GUI self-test, tests and all launcher.* catalog keys are gone; the
PyInstaller spec excludes tkinter.
- CommanderConsole no longer writes a launcher status file.
- README usage sections, coop docs, manual (EN/DE) and AGENTS.md updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
The privileged helper now makes the hotspot's SSID and password once and
keeps them root-only in /var/lib/u-jagd/hotspot.json (0700 dir, 0600 file,
atomic temp+fsync+replace, symlinks never followed, strict validation,
regenerated when missing or invalid), so phones that joined once reconnect.
A new "new-password" helper subcommand (same lock, pkexec/polkit path)
renews the password and keeps the name; F9 shows it as the advanced row
"New hotspot password" while multiplayer is off.
install.sh installs the hotspot helper when NetworkManager and wlan0 exist
and sudo works; otherwise it prints a note and finishes the install.
On the hotspot, F9 and the multiplayer lobby show step 1 (Wi-Fi QR, name,
password) and step 2 (page QR, join code) together. Manual, install docs
and EN/DE catalogs updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
Updates are no longer installed automatically. The game asks GitHub once at
launch; a newer release appears on the splash and in the main menu with its
changelog entry in the game language, a warning when the save format
changes, and an Update now button (key U). The uConsole launcher updates
only through 'u_jagd_updater.py install' after the game closes and retires
the old background timer; the Windows program downloads and swaps its exe
from inside the game.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CEADLRpscFv2uwPMFgJ58V
A browser that asks for a station a crewmate holds now also reaches the
holder: its session body lists the pending requests under `handover`
(station, requester name, ordinal, request generation; bounded, observers
and phone lookouts get none) and POST /api/v2/stations/handover lets it
hand the station over with its full rights, exactly like the host's roster
approval, or decline. Stale holder or generation is 409, malformed bodies
400, same cookie/Origin/CSRF checks as the other station routes. The web
client validates the new key and shows a "Hand over / Keep station" prompt.
The F9 roster loses the per-station command, direct-fire and sonar-audio
toggles (keys C, D, U): a station is always held with its full rights.
L (SimLog) and O (observer) stay. Manual, protocol and co-op docs updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
Multiplayer starts on the first LAN address or, without any, on the
uConsole's own hotspot; network mode, address and port are hidden under
advanced settings. The crew-mode row is gone (solo stays a launch choice).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx