The Windows starter gets a Language box (English/Deutsch) that relabels the
window at once and saves the choice in settings.json for the game. Crew,
lookout and admin pages open in the host's saved language (named by the
server in a meta tag) and the crew page has a visible English/Deutsch button.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ybp8UvaVnj6zwuseaMHD73
Suggestions now also gate on course (35 deg when moving), speed (4 kn plus
a quarter) and operator classification (must agree; AIS never with a
submarine, biological or aircraft class), and agreeing classes rank
higher. Received AIS reports become OPZ reports of their own (reported
position dead-reckoned by COG/SOG, name) and a fusion carries its
members' course and speed. Saves are now v31 (AIS rows keep x/y).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
The boat's VLF loop copies the broadcast below the mast down to 25 m (60 s
instead of 20 s, receive only). From broadcast 2 on a broadcast may carry
an HQ order while none is open (deterministic per seed and number, at most
4): proceed to an area in deep water, send a situation report, or keep
radio silence, each with a deadline. Radio page, chart and the Remote Crew
radio card show the open order. Saves are now v30 (crew.radio version 2).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
While airborne with the dipping sonar stowed the helicopter searches from
150 m: ships out to 40 NM, surfaced boats and raised masts inside its
radar horizon, published to the OPZ as RADAR-HELO tracks. The MPA radar
and the helicopter share one sweep (_airborne_radar_sweep); the MPA's
draw keys are unchanged. Helicopter page 2 and the Remote Crew
helicopter view show whether the radar searches.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
Weapons station: A fires one of four ASROC at the designated submarine's
observed position (1-10 NM, fresh range) and drops the helicopter's
lightweight torpedo there; Z drops a five-charge pattern over the stern
(20 in the rack, 45 s reload, at least 10 kn) that sinks to the preset
depth and damages by shock factor. Remote Crew weapons page gets both as
direct-fire actions. Saves are now v29 (asw.depth_charges, own_stores).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
New waypoints and search patterns get detour points around shoal water or
land on the chart, or a feed warning; while a route runs the autopilot
looks ahead once a second and adds a detour or turns back.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
Bridge: right click adds a waypoint (up to 8), W starts a zigzag or an
expanding square, Backspace clears; any helm order takes over. Remote Crew
bridge gets an Autopilot route card and a chart mode for waypoints.
Saves are now v28 with the route block.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
The lookout's binoculars and strip and the periscope draw aircraft at
their elevation above the sea horizon (altitude and range less the curve
of the Earth), in the still sky behind the clouds instead of riding the
swell; uConsole and Remote Crew browser.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
Clouds, stars, sun and moon hang on the nominal horizon instead of rolling
with the sea. Neutral vessels show COLREG lights by sector and range with
the all-round lights of vessels at work, civil aircraft their position and
anti-collision lights; lit traffic is sighted by its lights at night.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
The web validator rejects any 'kind' key in a role state. The submarine's
radio log, threat intercepts and evasion order and the frigate's HQ tasks
used it, so the browser froze with a protocol error as soon as one of
those lists filled. Add a Chromium-free regression test.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W93y3191deGkQuh8d8QzSQ
Periscope and lookout binoculars get the start screen's look (day, dusk,
night with stars and moon, clouds, rain, snow, fog, steel silhouettes with
lit rims). The Remote Crew bridge gets the lookout's binoculars; the browser
periscope draws the uConsole's generated silhouettes. uConsole and browser
stations use the turquoise phosphor and night blue with corner brackets.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
The crewed submarine's ESM times each emitter's main-beam hits (level
peaks of its own waveform, over gaps up to 12 s without a washed scan)
and reads a rotating search radar with its period or a steady
tracking/fire-control beam. A steady live beam is always a mast warning
and is logged once. uConsole Mast & ESM detail shows the reading (two
columns so every row fits), the browser adds a scan-period row. Save
format v27 adds crew.esm emitter last_peak (crew.esm version 2).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Detonations, returning echoes and foreign active pings are placed left or
right of the frigate's or the crewed submarine's head from their measured
bearing, on the uConsole mixer and in the browser (StereoPannerNode). The
frigate also plays a submarine's ping, and the crewed submarine hears a
hunter's ping on its hull. Sound cue rows carry a quantized pan.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
The crew loads each empty tube from the racks (M / browser Load) and
floods a loaded tube before it fires (Shift+M / browser Flood, 20 s,
audible for 4 s). Submarines now carry as many reloads again as tubes
with 2-4 min reloads; AI submarines keep reloading by themselves.
Save format v26 adds crew.orders.tubes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Library candidates are graded good/fair/poor by how the measurement sits
in the published frequency and PRF ranges and whether the modulation
matches, listed best grade first and by key within a grade; uConsole and
browser show the grade.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
The crewed boat hears its hull creak deep down and crack when it fails,
hears detonations close aboard or far off (logged with a bearing), and
rigs its uConsole and browser screens for red light in silent running.
The boat's browsers get its own cues; the SAR alarm cue is now known to
the browser.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Below test depth bolts shear, seals fail and the pressure hull cracks,
more often and worse the deeper the boat goes; crush depth collapses it.
Depth ladders mark the crush depth and a red alarm shows the overdepth.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Every stadimeter reading becomes a mark; a straight-line fit through two
or more marks a minute apart gives the target's course and speed, the lead
angle and the running time. Ctrl+Enter on the periscope page (browser:
Fire on solution) fires on the intercept course, and a shot at a marked
sonar contact uses the solution too. The marks are saved in
crew.orders.tdc, so saves move to v24.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
The frigate gets a towed body that is lowered and recovered with Shift+Y
(3-15 kn, sea state up to 5, lost above 24 kn) and set to 20-300 m with
U/V while it is the selected array. It listens and pings from its own
depth, so below the layer it gains the deep bonus the hull array lacks,
and fusion takes the better of hull and VDS as the unambiguous reference
for the towed array's side. Remote Crew sonar gets the deploy button, the
depth form and the VDS array option. Saves move to v23 for the VDS state;
calibration stays 77/77.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
- New seventh boat station uboot_radio (uConsole key 7, browser role):
HQ broadcast every 10 min with a contact report on the frigate, copied
with the mast up at periscope depth; situation reports go out on HF for
20 s and can be borne by the frigate's HF/DF; radio log saved.
- Catalog emitters for the helicopter and patrol-aircraft search radars;
the boat's ESM hears them (helicopter airborne and not dipping, MPA with
its radar on).
- Save format v22 (crew.radio), app version 1.3.1; help, manual EN/DE,
web schema and plan updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
- Counter-detection picture from the boat's own measurements: hull,
dipping and buoy pings with received level, buoy splashes, torpedo
alarms; Threat page (Command 4, Navigation 2), browser card, chart rays.
- Evasion order (key I, uboot_evade action): stern to the pinger or
torpedo on the quarter, layer crossing, silent running or decoy.
- Boat debrief (own track, frigate truth, pings taken, spans the frigate
held the boat), boat outcomes (won, escaped, survived, trained, lost).
- Spoken crew reports from the boat's log when the uConsole plays it.
- Two boat training lessons with a scripted pinging frigate.
- Fix stale browser session fixtures (callouts, mpa, crew).
Save stays exact v21; all new boat state is transient.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Important feed events (torpedo in the water, new contact, breaking-up
noises, torpedo away, hit, action stations, patrol aircraft on station,
mission result) become transient callouts with bearings spoken digit by
digit. The uConsole speaks through an installed espeak-ng behind a new
option (off by default, silent without espeak); browsers get the
callouts in the common audio block and speak them with SpeechSynthesis
in their own language behind a per-viewer switch. Frigate roles only.
Also moves the main-menu test indices past the new Training and
Campaign entries.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
A patrol aircraft from the nearest friendly airfield: the OPZ requests it,
sets its search area (selected track or chart click), plans buoy patterns,
drops buoys, switches its surface-search radar and releases a torpedo on the
designated contact. It reports only by datalink: RADAR-MPA tracks and its
buoys while it relays them. Remote Crew OPZ gets the same orders; save v21
adds the aircraft and each buoy's owner.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Frigate and crewed boat stand three watches relieved every hour of game
time. Action stations make the crew more alert but tire everybody;
morale moves with kills, damage and HQ tasks. The crew's performance
raises the sonar recognition threshold, needs more lookout/periscope
contrast and slows damage-control work. A fresh crew is exactly the
calibrated crew (77/77 metrics unchanged). Damage page 3, Bridge G,
boat keys B/M, Remote Crew cards and orders, save v21 "watch" and
crew.watch.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
HQ offers up to six tasks per built-in mission over the teletype. The
radio room (and the Remote Crew radio station) accepts or declines them;
accepted positions are plotted on every chart. Tasks progress on the
slow simulation cadence with detrand draws, are scored at mission end
and are saved in the new save v21 root field "tasking".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Six compartments with depth-dependent leaks, spill through open
bulkheads, fire, chlorine gas from a flooded battery and power loss; two
damage-control teams seal, pump and fight fire; shut bulkheads contain
water, fire and gas. Floodwater feeds the trim model; flooded, burning or
gassed compartments take out the tubes, masts, diesels or half the speed.
Damage page on the uConsole engine room, damage-control card in the web
station. Save format v20.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Main ballast, regulating and trim tanks with fill levels; an HP air store
for several blows, refilled while snorkelling; torpedo launches and flooding
shift weight and trim, pumps are audible. Tanks page on the uConsole engine
room, cross-section card in the web station. Save format v19.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The crewed boat's mast now intercepts real radar signals through
scan_for_signals with the boat as observer. The crew keeps an emitter
list (fingerprint association, agile hops merged), classifies emitters
against the library, sees the bearing history, a Gauss-Newton cross-fix
from own motion with a 95 % error ellipse, the level trend, a warning
when a radar can see the mast and a recommended mast time from the sea
state. Bearing lines and fixes appear on the boat chart and web map and
can be transferred to the boat plot. Save format v18 (crew.esm).
The uConsole boat contact list shows quality as a percentage instead of
the bare "q0.98".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Stage A of the boat-station plan. Conventional boats now carry diesel
(300 h of generator output, 65 % at start, burned only while the diesels
run), a crew-ordered snorkel charge rate (full / half / air only, with
matching noise and diesel lines) and a modelled atmosphere (O2 down, CO2 up
dived; absorber sets, oxygen candles, airing while snorkelling). Stale or
foul air slows the crew (reload); AI boats manage their air and come up
when it turns foul.
The web engine room gets an Energy & stores card (bars, energy balance,
endurance table by telegraph step, air, orders). The uConsole engine room
gets a second page Stores with R / A / O. Remote Crew actions
uboot_charge_rate, uboot_absorber and uboot_o2_candle (engine room only).
Battery phase and engine telegraph now display translated.
Save format v17 (endurance state version 2); v16 saves are rejected.
Calibration 77/77 unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
- Radio room: an empty DF scope now writes its "no signal" text
equivalent instead of clearing it (ELOKA already did this).
- Sonar room: the client remembers the focus it last sent, so a quick
reselection (A, B, A) is no longer dropped against the lagging
published focus.
- Role-states browser test: instrument the radio scope, log pushed
states like polled ones, wait one more presence poll per role, guard
the sonar overview check against a role switch, and read the result
over DevTools so the run ends when the probe does (about 10 s).
- Submarine sonar audio test: run Chromium in real time and read the
result over DevTools; virtual time starved the live audio socket.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011qbgcvPr4s2ohpf2qA1zNW
The crewed boat's Remote Crew roles no longer get the frigate's helicopter
flight weather, cloud ceiling or icing. Their weather_station block carries
"boat" instead: mast radar detection range (reference surface radar, mast
RCS, sea clutter, rain, radar horizon) beside the calm-sea value, the range
a ship's lookout sights the surfaced boat in the current light/visibility/sea,
wind and rain ambient noise above the calm reference per sonar band, and the
snorkel limits (6 kn, +12 dB, 50/100 Hz diesel lines). Only environment and
own-boat data are read. The frigate block is unchanged.
The weather allowlists now live in src/commander/v2/schema.py and are
rendered into the browser validator; the browser shows the boat block for
the boat roles. EN/DE catalog keys and the reference manual are updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Phase 11 of plan 1.3. /ws/v2/state pushes the active role's projection
(same bytes as GET /api/v2/state, at most 4 Hz, heartbeat 2 s, latest
state only) with the sonar stream's Origin/cookie/subprotocol rules; the
browser consumes pushed states in its poll loop, keeps polling presence,
chart and feeds on a slow cadence, falls back to full polling after two
missed heartbeats and retries every 10 s. src/commander/v2/schema.py is
the single allowlist rendered into schema.js by tools/gen_web_schema.py
(--check in CI). The browser chart culls tracks in world coordinates
before transforming and exposes a frame-time probe. OffscreenCanvas is
deferred (documented in docs/resume.md).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 9 of plan 1.3. Third Command page and second Mast & ESM page show
the periscope (uboot_scope.py): eyepiece with day/night light, haze,
horizon motion from the wave slope, true-bearing scale and crosshair;
arrows train the scope, Enter reads the stadimeter. Sightings come from
the frigate lookout's contrast model at periscope eye height and live in
the crew block (save v15 crew.orders: scope_rel_deg, sightings,
sightings_seen). The stadimeter range becomes a VISUAL fix on the boat's
sonar contact, usable like a ping fix. Snorkelling diesels raise the
radiated level, lower the quiet factor and add 50/100 Hz lines. Web:
scope projection, canvas view, uboot_scope_bearing/uboot_scope_mark
commands and a Chromium contract. Manual, help and catalogs updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A pattern (2x2 field, barrier across the waypoint bearing, circle; up to
four of the remaining buoys) is a queue of drop points the helicopter flies
one after the other with the ordinary single drop. The MAD run (30 m, 90 kn,
dome stowed) detects a submerged hull within 400 m slant range on a stateless
draw and publishes a MAD position fix without depth or course. Keys X and
Shift+M, browser controls and commands, helo save fields, manual updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>