feat(runtime): Zelda Notes with a server you choose #2543

Open
igoticecream wants to merge 1 commit from igoticecream/Longshot:zelda-notes-server into main
First-time contributor

Summary

The game's Zelda Notes features (map sync, the ocarina songs and photos it uploads, its play reports) need a server,
and Longshot never talks to Nintendo's, so they never worked. This PR lets the game talk to any Zelda Notes server the
player chooses, named in longshot_env.txt:

LONGSHOT_PORTER_HOST=127.0.0.1

Unset (the default), nothing changes: the game stays offline and every new HLE answers as the import stubs did on
main. Set, the game's network layer is the host's sockets, pointed at that one server:

  • host/nn_porter_net.c (new): the nnsocket* calls on the host's sockets (Winsock, BSD sockets on Linux) behind a
    table of guest descriptors, in Horizon's layout (BSD sockaddr, Linux errno numbers written through the guest's
    __errno_location); Poll and nn::socket::EventFd*; name lookups, which all resolve to the server, and connect,
    which refuses any other address and port; nifm, the network clock task and GenerateCryptographicallyRandomBytes;
    nnssl* as a pass-through for curl's uploads; play reports posted to http://<server>:<report port>/prepo by a
    host thread (queue capped at 256, 5 s socket timeouts).
  • game/oot_npln.c (new): NPLN's gRPC channels take their "use TLS" byte from one global; the game clears it, so
    the channel builder takes insecure credentials. The host calls it through a new game.h hook,
    game_online_start, from nn::ssl::Initialize, which Porter's start calls just before it builds the client. It
    checks the pointer that reads the byte first and logs a warning if this build has it elsewhere.
  • host/nn_applet.c: with a server set, the account calls answer a network service account (a made-up id) and an
    unsigned, JWT-shaped id token; StandardNetworkSystemClock::now is the host clock; nnsocketPoll goes through
    socket_poll like nn::socket::detail::Poll; prepo Save/Send hand the report to the server.
  • The builder: -lws2_32 on Windows, and __errno_location among the entries gen/image.c exports.
  • Three switches, kind player (gpu/vk/switches.def): LONGSHOT_PORTER_HOST, LONGSHOT_PORTER_PORT_SERVICE
    (6677, gRPC) and LONGSHOT_PORTER_PORT_REPORT (6678, HTTP). They aren't an A/B or a kill switch: they are which
    server the player picks, which the team can't decide for them, like HOS_DISCORD_APP_ID or LONGSHOT_NFC_DIR. An
    Insert menu row can't hold an address (rows are choices, toggles and sliders).
  • Docs: a player section in docs/user/advanced.md (how to point it at a server, and that nothing is encrypted),
    and a line each in "What Longshot connects to" and the privacy page.

Nothing is encrypted: gRPC is plain HTTP/2 and the uploads are plain HTTP. The docs and the startup log line say so.

A server to try it with: zelda_notes_demo.py,
a small in-memory server (grpcio only) that answers the game's whole conversation and prints it. Run
python zelda_notes_demo.py, set LONGSHOT_PORTER_HOST=127.0.0.1, set the in-game Zelda Notes option to Use and
load a save.

Read first: host/nn_porter_net.c (its header comment), game/oot_npln.c, then the nn_applet.c diff.

Testing

Tested: Windows 10 Pro 22H2, RTX 3080, NVIDIA 621.01; a runtime of main @ be663a08 with this PR's pack.

  • Offline (no LONGSHOT_PORTER_HOST): loaded a save and played about 5 minutes. The log says
    porter: network request: offline, no other porter: line, no crash, a clean exit.
  • Online, against zelda_notes_demo.py on 127.0.0.1: loaded a save with the Zelda Notes option on Use. The log has
    porter: on: every connection goes to 127.0.0.1 (127.0.0.1):6677, ..., porter: gRPC without TLS (NPLN's TLS switch cleared), the name lookup sent to the server and three upload connections on 6678. The server logged the
    login, map sync started with 69 position updates, 17 play reports, the two Scarecrow ocarina song documents with
    their files, and a daily-report photo (a 262 KB JPEG). No crash, a clean exit.
  • The six A/B runs below: no crash, every unset run logged network request: offline, every set run porter: on
    and the gRPC connect.
  • Checks: tests/run_all.py on Windows and on Linux (WSL, Ubuntu 24.04), on this branch and on main. On Linux the
    same 59 fail on both (676 passed, 108 skipped each): checks needing packages and tools this WSL lacks. On Windows
    the six checks reading the changed files that fail (test_input_movie, test_linux_pressure, test_dev_ab,
    test_texture_ahead, test_bc_small_scratch, test_audio_output_devices) fail on main too.
    cargo fmt --check, cargo clippy -D warnings and cargo test for lift and build-compile: one test fails, on
    main too on Windows (toolchain::tests::the_builder_s_llvm_comes_before_emsdk_and_the_path, which writes clang
    without .exe). The changed C compiles without warnings for Windows (llvm-mingw) and Linux (clang, WSL).
  • Lint: pre-commit isn't installed here; checked by hand (git diff --check, end-of-file newlines). gitleaks runs
    in CI.

Still to test:

  • Linux (any Tier 1 GPU): build and start the game with no server set, load a save and play a minute, expecting
    porter: network request: offline and no crash (@Beanstalk start the game offline on Linux, load a save, play a minute)
  • Linux, by hand: with zelda_notes_demo.py running and LONGSHOT_PORTER_HOST=127.0.0.1, load a save, expecting the
    log's porter: gRPC without TLS (NPLN's TLS switch cleared) and map sync positions in the server's output every
    second (by hand: the farm can't run the server)

Measurements

Verdict: no cost, off or on: every number is within the spread, both for main against this PR with no server
set, and for this PR with the server set against unset.

Setup: Windows 10 Pro 22H2, RTX 3080, NVIDIA 621.01; dev.py ab --scene hyrule-field (Hyrule Field, child), the
Render resolution at 67 %, uncapped (HOS_FPS_MAX=1000), 60 s measured after the warm-up, three interleaved pairs,
the median. Server set: zelda_notes_demo.py on 127.0.0.1, the game logged in and sent play reports during the runs
(map sync did not start: the scene's save doesn't have Zelda Notes on).

No server set:

Before: main @ be663a08 After: this PR @ b78d55ba
fps (runs 1 / 2 / 3) 125.3 / 125.7 / 125.9 126.2 / 125.9 / 126.2
median frame time 7.94 ms 7.91 ms
p99 frame time 9.64 ms 9.58 ms
1% low 103.8 fps 104.4 fps

The server set against unset:

Before: this PR @ b78d55ba, unset After, LONGSHOT_PORTER_HOST=127.0.0.1: this PR @ b78d55ba
fps (runs 1 / 2 / 3) 126.1 / 124.2 / 125.7 125.4 / 125.5 / 125.8
median frame time 7.96 ms 7.96 ms
p99 frame time 9.67 ms 9.71 ms
1% low 103.4 fps 103.0 fps

dev.py ab wrote no measurements.md for either: it stopped with exit 3 on rows that differ between any two runs on
this PC, on main's side as much as this PR's. HOS_CONTROL is a new socket name each run, and in the first A/B the
sim_turf_* rows read "Load an area" in some runs. The tables are its own lines:

dev.py ab: A1: 7521 frames in 60 s, 125.3 fps, median 7.97 ms, p99 9.66 ms, 1% low 103.5 fps, 0 cold frames
dev.py ab: B1: 7570 frames in 60 s, 126.2 fps, median 7.91 ms, p99 9.58 ms, 1% low 104.4 fps, 0 cold frames
dev.py ab: A2: 7543 frames in 60 s, 125.7 fps, median 7.94 ms, p99 9.64 ms, 1% low 103.8 fps, 0 cold frames
dev.py ab: B2: 7552 frames in 60 s, 125.9 fps, median 7.94 ms, p99 9.48 ms, 1% low 105.5 fps, 0 cold frames
dev.py ab: A3: 7552 frames in 60 s, 125.9 fps, median 7.94 ms, p99 9.53 ms, 1% low 104.9 fps, 0 cold frames
dev.py ab: B3: 7570 frames in 60 s, 126.2 fps, median 7.91 ms, p99 9.68 ms, 1% low 103.3 fps, 1 cold frames
dev.py ab: A1: 7567 frames in 60 s, 126.1 fps, median 7.91 ms, p99 9.67 ms, 1% low 103.4 fps, 0 cold frames
dev.py ab: B1: 7522 frames in 60 s, 125.4 fps, median 7.96 ms, p99 9.75 ms, 1% low 102.6 fps, 0 cold frames
dev.py ab: A2: 7451 frames in 60 s, 124.2 fps, median 8.03 ms, p99 10.08 ms, 1% low 99.2 fps, 0 cold frames
dev.py ab: B2: 7529 frames in 60 s, 125.5 fps, median 7.96 ms, p99 9.67 ms, 1% low 103.4 fps, 1 cold frames
dev.py ab: A3: 7541 frames in 60 s, 125.7 fps, median 7.96 ms, p99 9.44 ms, 1% low 105.9 fps, 0 cold frames
dev.py ab: B3: 7547 frames in 60 s, 125.8 fps, median 7.93 ms, p99 9.71 ms, 1% low 103.0 fps, 0 cold frames

The build: -lws2_32 and one more line in gen/image.c; the pack over main's base built in 13 s.

Measured at b78d55ba on main @ be663a08, then rebased onto main @ 2e9e41cb. main's two commits since (#2536, #2541)
change CI's workflows, the release script, a builder channel test and a doc page, nothing the game runs, so the
numbers hold.

Risks

  • Off by default: with LONGSHOT_PORTER_HOST unset the new HLEs answer as main's stubs did, so a player who sets
    nothing sees no change. Two offline crashes found while writing this (gRPC's poll engine on a failed EventFd, and
    NPLN reading a null pointer after a failed nnsocketPoll) are why the offline answers are what they are.
  • On, everything the game sends goes unencrypted to the server the player named, and only there: their position on
    the map, the songs, the photos and the play reports. The docs say so, and to name only a server they trust.
  • The TLS byte's address is this game build's; on another build game_online_start logs a warning and gRPC fails to
    connect, offline as before.
  • Turning it off: delete the LONGSHOT_PORTER_HOST line. Nothing changes in saves, longshot_options.ini or the caches.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named). (tests/run_all.py directly, mise isn't
    installed here; the failures, all on main too, are in Testing)
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A switch added or changed: it ships at the default the measurements chose, with its row in gpu/vk/switches.def.
    (unset, off: the network stays as on main)
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (Windows: the game built and ran; Linux:
    the changed files compile with clang in WSL, the whole Linux build is CI's)
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.
## Summary The game's Zelda Notes features (map sync, the ocarina songs and photos it uploads, its play reports) need a server, and Longshot never talks to Nintendo's, so they never worked. This PR lets the game talk to any Zelda Notes server the player chooses, named in `longshot_env.txt`: ``` LONGSHOT_PORTER_HOST=127.0.0.1 ``` Unset (the default), nothing changes: the game stays offline and every new HLE answers as the import stubs did on `main`. Set, the game's network layer is the host's sockets, pointed at that one server: - **`host/nn_porter_net.c`** (new): the `nnsocket*` calls on the host's sockets (Winsock, BSD sockets on Linux) behind a table of guest descriptors, in Horizon's layout (BSD sockaddr, Linux errno numbers written through the guest's `__errno_location`); Poll and `nn::socket::EventFd*`; name lookups, which all resolve to the server, and connect, which refuses any other address and port; nifm, the network clock task and `GenerateCryptographicallyRandomBytes`; `nnssl*` as a pass-through for curl's uploads; play reports posted to `http://<server>:<report port>/prepo` by a host thread (queue capped at 256, 5 s socket timeouts). - **`game/oot_npln.c`** (new): NPLN's gRPC channels take their "use TLS" byte from one global; the game clears it, so the channel builder takes insecure credentials. The host calls it through a new `game.h` hook, `game_online_start`, from `nn::ssl::Initialize`, which Porter's start calls just before it builds the client. It checks the pointer that reads the byte first and logs a warning if this build has it elsewhere. - **`host/nn_applet.c`**: with a server set, the account calls answer a network service account (a made-up id) and an unsigned, JWT-shaped id token; `StandardNetworkSystemClock::now` is the host clock; `nnsocketPoll` goes through `socket_poll` like `nn::socket::detail::Poll`; prepo Save/Send hand the report to the server. - **The builder**: `-lws2_32` on Windows, and `__errno_location` among the entries `gen/image.c` exports. - **Three switches**, kind `player` (`gpu/vk/switches.def`): `LONGSHOT_PORTER_HOST`, `LONGSHOT_PORTER_PORT_SERVICE` (6677, gRPC) and `LONGSHOT_PORTER_PORT_REPORT` (6678, HTTP). They aren't an A/B or a kill switch: they are which server the player picks, which the team can't decide for them, like `HOS_DISCORD_APP_ID` or `LONGSHOT_NFC_DIR`. An Insert menu row can't hold an address (rows are choices, toggles and sliders). - **Docs**: a player section in `docs/user/advanced.md` (how to point it at a server, and that nothing is encrypted), and a line each in "What Longshot connects to" and the privacy page. Nothing is encrypted: gRPC is plain HTTP/2 and the uploads are plain HTTP. The docs and the startup log line say so. **A server to try it with:** [`zelda_notes_demo.py`](https://gist.github.com/igoticecream/f343660869ec89eccac0bd0bf83935ba), a small in-memory server (grpcio only) that answers the game's whole conversation and prints it. Run `python zelda_notes_demo.py`, set `LONGSHOT_PORTER_HOST=127.0.0.1`, set the in-game Zelda Notes option to Use and load a save. Read first: `host/nn_porter_net.c` (its header comment), `game/oot_npln.c`, then the `nn_applet.c` diff. ## Testing **Tested:** Windows 10 Pro 22H2, RTX 3080, NVIDIA 621.01; a runtime of main @ be663a08 with this PR's pack. - Offline (no `LONGSHOT_PORTER_HOST`): loaded a save and played about 5 minutes. The log says `porter: network request: offline`, no other `porter:` line, no crash, a clean exit. - Online, against `zelda_notes_demo.py` on 127.0.0.1: loaded a save with the Zelda Notes option on Use. The log has `porter: on: every connection goes to 127.0.0.1 (127.0.0.1):6677, ...`, `porter: gRPC without TLS (NPLN's TLS switch cleared)`, the name lookup sent to the server and three upload connections on 6678. The server logged the login, map sync started with 69 position updates, 17 play reports, the two Scarecrow ocarina song documents with their files, and a daily-report photo (a 262 KB JPEG). No crash, a clean exit. - The six A/B runs below: no crash, every unset run logged `network request: offline`, every set run `porter: on` and the gRPC connect. - Checks: `tests/run_all.py` on Windows and on Linux (WSL, Ubuntu 24.04), on this branch and on main. On Linux the same 59 fail on both (676 passed, 108 skipped each): checks needing packages and tools this WSL lacks. On Windows the six checks reading the changed files that fail (`test_input_movie`, `test_linux_pressure`, `test_dev_ab`, `test_texture_ahead`, `test_bc_small_scratch`, `test_audio_output_devices`) fail on main too. `cargo fmt --check`, `cargo clippy -D warnings` and `cargo test` for `lift` and `build-compile`: one test fails, on main too on Windows (`toolchain::tests::the_builder_s_llvm_comes_before_emsdk_and_the_path`, which writes `clang` without `.exe`). The changed C compiles without warnings for Windows (llvm-mingw) and Linux (clang, WSL). - Lint: `pre-commit` isn't installed here; checked by hand (`git diff --check`, end-of-file newlines). gitleaks runs in CI. **Still to test:** - Linux (any Tier 1 GPU): build and start the game with no server set, load a save and play a minute, expecting `porter: network request: offline` and no crash (@Beanstalk start the game offline on Linux, load a save, play a minute) - Linux, by hand: with `zelda_notes_demo.py` running and `LONGSHOT_PORTER_HOST=127.0.0.1`, load a save, expecting the log's `porter: gRPC without TLS (NPLN's TLS switch cleared)` and map sync positions in the server's output every second (by hand: the farm can't run the server) ## Measurements **Verdict:** no cost, off or on: every number is within the spread, both for main against this PR with no server set, and for this PR with the server set against unset. Setup: Windows 10 Pro 22H2, RTX 3080, NVIDIA 621.01; `dev.py ab --scene hyrule-field` (Hyrule Field, child), the Render resolution at 67 %, uncapped (`HOS_FPS_MAX=1000`), 60 s measured after the warm-up, three interleaved pairs, the median. Server set: `zelda_notes_demo.py` on 127.0.0.1, the game logged in and sent play reports during the runs (map sync did not start: the scene's save doesn't have Zelda Notes on). No server set: | | Before: main @ be663a08 | After: this PR @ b78d55ba | |---|---|---| | fps (runs 1 / 2 / 3) | 125.3 / 125.7 / 125.9 | 126.2 / 125.9 / 126.2 | | median frame time | 7.94 ms | 7.91 ms | | p99 frame time | 9.64 ms | 9.58 ms | | 1% low | 103.8 fps | 104.4 fps | The server set against unset: | | Before: this PR @ b78d55ba, unset | After, LONGSHOT_PORTER_HOST=127.0.0.1: this PR @ b78d55ba | |---|---|---| | fps (runs 1 / 2 / 3) | 126.1 / 124.2 / 125.7 | 125.4 / 125.5 / 125.8 | | median frame time | 7.96 ms | 7.96 ms | | p99 frame time | 9.67 ms | 9.71 ms | | 1% low | 103.4 fps | 103.0 fps | `dev.py ab` wrote no `measurements.md` for either: it stopped with exit 3 on rows that differ between any two runs on this PC, on main's side as much as this PR's. `HOS_CONTROL` is a new socket name each run, and in the first A/B the `sim_turf_*` rows read "Load an area" in some runs. The tables are its own lines: ``` dev.py ab: A1: 7521 frames in 60 s, 125.3 fps, median 7.97 ms, p99 9.66 ms, 1% low 103.5 fps, 0 cold frames dev.py ab: B1: 7570 frames in 60 s, 126.2 fps, median 7.91 ms, p99 9.58 ms, 1% low 104.4 fps, 0 cold frames dev.py ab: A2: 7543 frames in 60 s, 125.7 fps, median 7.94 ms, p99 9.64 ms, 1% low 103.8 fps, 0 cold frames dev.py ab: B2: 7552 frames in 60 s, 125.9 fps, median 7.94 ms, p99 9.48 ms, 1% low 105.5 fps, 0 cold frames dev.py ab: A3: 7552 frames in 60 s, 125.9 fps, median 7.94 ms, p99 9.53 ms, 1% low 104.9 fps, 0 cold frames dev.py ab: B3: 7570 frames in 60 s, 126.2 fps, median 7.91 ms, p99 9.68 ms, 1% low 103.3 fps, 1 cold frames ``` ``` dev.py ab: A1: 7567 frames in 60 s, 126.1 fps, median 7.91 ms, p99 9.67 ms, 1% low 103.4 fps, 0 cold frames dev.py ab: B1: 7522 frames in 60 s, 125.4 fps, median 7.96 ms, p99 9.75 ms, 1% low 102.6 fps, 0 cold frames dev.py ab: A2: 7451 frames in 60 s, 124.2 fps, median 8.03 ms, p99 10.08 ms, 1% low 99.2 fps, 0 cold frames dev.py ab: B2: 7529 frames in 60 s, 125.5 fps, median 7.96 ms, p99 9.67 ms, 1% low 103.4 fps, 1 cold frames dev.py ab: A3: 7541 frames in 60 s, 125.7 fps, median 7.96 ms, p99 9.44 ms, 1% low 105.9 fps, 0 cold frames dev.py ab: B3: 7547 frames in 60 s, 125.8 fps, median 7.93 ms, p99 9.71 ms, 1% low 103.0 fps, 0 cold frames ``` The build: `-lws2_32` and one more line in `gen/image.c`; the pack over main's base built in 13 s. Measured at b78d55ba on main @ be663a08, then rebased onto main @ 2e9e41cb. main's two commits since (#2536, #2541) change CI's workflows, the release script, a builder channel test and a doc page, nothing the game runs, so the numbers hold. ## Risks - Off by default: with `LONGSHOT_PORTER_HOST` unset the new HLEs answer as `main`'s stubs did, so a player who sets nothing sees no change. Two offline crashes found while writing this (gRPC's poll engine on a failed EventFd, and NPLN reading a null pointer after a failed `nnsocketPoll`) are why the offline answers are what they are. - On, everything the game sends goes unencrypted to the server the player named, and only there: their position on the map, the songs, the photos and the play reports. The docs say so, and to name only a server they trust. - The TLS byte's address is this game build's; on another build `game_online_start` logs a warning and gRPC fails to connect, offline as before. - Turning it off: delete the `LONGSHOT_PORTER_HOST` line. Nothing changes in saves, `longshot_options.ini` or the caches. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). (`tests/run_all.py` directly, mise isn't installed here; the failures, all on main too, are in Testing) - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A switch added or changed: it ships at the default the measurements chose, with its row in `gpu/vk/switches.def`. (unset, off: the network stays as on main) - [x] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (Windows: the game built and ran; Linux: the changed files compile with clang in WSL, the whole Linux build is CI's) - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold.
feat(runtime): Zelda Notes with a server you choose
Some checks are pending
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
CI / Website build and checks (pull_request) Blocked by required conditions
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Blocked by required conditions
CI / longshot-builder end to end (synthetic game) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
Website / Website builds (pull_request) Blocked by required conditions
Website / Website preview, build (pull_request) Blocked by required conditions
Website / Website preview, upload (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Successful in 20s
37fc437200
Assisted-by: Claude Code (Claude Opus 5.5)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
First-time contributor

Tested in game: Windows 10, RTX 3080, NVIDIA 621.01: offline, a save played 5 min, 'porter: network request: offline', no crash; online against zelda_notes_demo.py on 127.0.0.1: login, map sync, play reports, ocarina songs and a photo reached the server, no crash

Tested in game: Windows 10, RTX 3080, NVIDIA 621.01: offline, a save played 5 min, 'porter: network request: offline', no crash; online against zelda_notes_demo.py on 127.0.0.1: login, map sync, play reports, ocarina songs and a photo reached the server, no crash
Member

Possibly related, for context:

  • PR #1655 feat(control): a live map of Link, the area's collectibles and the 100%, on 127.0.0.1 — Open Zelda Notes-related map integration; overlaps the live-map use case but runs locally via the control bridge rather than implementing the game’s server connection.
  • issue #582 Idea: Zelda Notes (discord user idea) — Open request for Zelda Notes support; this PR enables the game's Zelda Notes features through a chosen server.
Possibly related, for context: - PR #1655 feat(control): a live map of Link, the area's collectibles and the 100%, on 127.0.0.1 — Open Zelda Notes-related map integration; overlaps the live-map use case but runs locally via the control bridge rather than implementing the game’s server connection. - issue #582 Idea: Zelda Notes (discord user idea) — Open request for Zelda Notes support; this PR enables the game's Zelda Notes features through a chosen server.
igoticecream changed title from WIP: feat(runtime): Zelda Notes with a server you choose to feat(runtime): Zelda Notes with a server you choose 2026-11-25 16:40:23 +00:00
Some checks are pending
Website / Website on Cloudflare (pull_request_target) Has been skipped
Website / Website builds (pull_request_target) Has been skipped
Website / Website preview, build (pull_request_target) Has been skipped
Website / Website preview, upload (pull_request_target) Has been skipped
CI / Website build and checks (pull_request) Blocked by required conditions
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test) (pull_request) Blocked by required conditions
CI / longshot-builder end to end (synthetic game) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request) Blocked by required conditions
Website / Website builds (pull_request) Blocked by required conditions
Website / Website preview, build (pull_request) Blocked by required conditions
Website / Website preview, upload (pull_request) Blocked by required conditions
PR description / Description follows the template (pull_request_target) Successful in 20s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
Some workflows are waiting to be reviewed.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'zelda-notes-server:igoticecream-zelda-notes-server'
git switch 'igoticecream-zelda-notes-server'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2543
No description provided.