U-Jagd may be played and used as it is for noncommercial purposes;
selling, distributing and changing it are no longer allowed. Covers code,
browser clients, docs, Windows EXE and macOS app; third-party components
keep their own licenses.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T3PjByT2KdkfSemPKBNsPf
Package A of the 1.3.204 code review:
- Load: migration and validator run inside the guard, so a malformed save
is refused instead of ending the game; the load candidate gets its own
raid RNG, so a failed load leaves the live stream unchanged.
- Ray tracing: the bottom-loss cache now caches (bitwise identical tables,
35-45 % faster rebuilds).
- Chart rain/storm hatch drawn once into a bounded cache and visible in
the day scheme.
- Ticker, top bars, hint key maps and tooltips use the memoized text
helpers.
- Audio: mono synthesis cached without the pan, so a new direction only
re-pans.
- Browser cue de-duplication keyed by world session and role, not epoch.
- Sonar waterfall tooltip and time label follow the Shift+H window.
- Update download ends as failed on any error; debug/crash logs fall back
where os.open has no dir_fd (Windows).
- Docs: resume.md save contract, plan-1.3.md marked historical, Intel Mac
leftovers, changelog, README, station shortcuts, manual PDFs/figures.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAa6fnf7M4fKm56aJXHvKS
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 SDL capture was opened with devicename=None, which pygame 2.6 refuses,
so the microphone never opened. It now opens the default input, names the
cause when it cannot (status message, Options page 2), the macOS app asks
for microphone access and the builds self-test the capture. The crew page
on plain HTTP shows why the browser refuses the microphone and offers the
host's HTTPS page.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6UodrzZBT8W5pCsacEDpH
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
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 threaded TCP probe to github.com:443 (or the HTTPS proxy) decides within
2.5 s, even when name resolution hangs; offline, the launcher skips the
whole update check and starts the game at once. git network calls run with
a 60 s timeout, no credential prompt and a low-speed abort.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
The launcher now opens a small start window at once that shows the current
step (checking/downloading/installing the update, starting) and closes when
the game presents its first frame (the game closes the inherited pipe via
src/core/launch_signal.py). The lock file names its holder, so a second
start while U-Jagd is starting or running shows "already running" instead
of opening the game twice, and a start during the background update waits.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
An existing ~/games/u-jagd older than 1.3.9 has no u_jagd_updater.py, so
install.sh stopped with "can't open file". It now fast-forwards such a
checkout to main first (only on branch main, never over local changes).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i
U-Jagd-Windows.exe (PyInstaller) opens a starter window that launches the
game with Remote Crew already listening on the PC's private LAN address
(crew or solo mode, optionally as the submarine), shows URL, join code and
QR code, and offers newer GitHub releases (size and SHA-256 checked,
self-replacing). The game gains --remote-crew and --status-file, and finds
its LAN address without Linux ioctls through the routing table. A workflow
builds and self-tests the program on windows-latest for every push and PR
and publishes release v<APP_VERSION> on main.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
One-command installer (curl ... | sh) for the uConsole: clones or adopts
~/games/u-jagd, creates the venv, a menu entry, a desktop shortcut, the
u-jagd command and a systemd user timer. Every start first updates to the
newest GitHub release (tag vX.Y.Z, same source as the Windows starter),
falls back to origin/main without releases, starts the installed version
offline, and rolls back a version whose main.py --version fails.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Usz3QPsVzhkfkA3GrLaH4i