Give the new co-op's switch a name of its own, so an old "coop = 1" turns nothing on.

The Steam co-op took the setting name of the old beta's switch, coop. A player whose nx2navi.ini still had coop = 1 from that beta got the new co-op switched on at the first start of the new build, unasked: the game signed in to Steam as its test app. The switch is now coop_steam (NX2NAVI_COOP_STEAM), off by default, and coop is a retired key like the old co-op's other settings: known, read by nothing.

--probe-cfg now loads a file of the old co-op and checks that its keys are no unknown keys, that coop = 1 leaves the new co-op off, and that coop_steam = 1 turns it on; it passes on a build of this commit. The game itself was not started with the change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
epicmeme546
2026-11-13 05:30:56 -05:00
parent e60677ed87
commit a01910d905
8 changed files with 34 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ other players' names where their Link stands in your world, you can chat, and pr
counts for everyone.
**Co-op is experimental and off by default.** Turn it on in the menu's Co-op tab (*Co-op (experimental)*), or with
`coop = 1` under `[coop]` in `nx2navi.ini`. With it off the game uses no network at all.
`coop_steam = 1` under `[coop]` in `nx2navi.ini`. With it off the game uses no network at all.
Not in this version: the other players are shown as a name with a distance, not as a Link model, and enemies, pots
and the time of day are each game's own.
@@ -90,7 +90,7 @@ dropped and counted in the log.
| Key | Default | |
|---|---|---|
| `coop` | `0` | on or off, at once. On: the game signs in to Steam; off: no network |
| `coop_steam` | `0` | on or off, at once. On: the game signs in to Steam; off: no network. (`coop`, the switch of the co-op of versions up to 0.9.2, does nothing: a line of it left in a file turns nothing on) |
| `coop_share` | `1` | in a room, share progress, items and songs (above) |
| `coop_names` | `1` | show the other players' names where they stand. Needs DLSS, FSR or TAA on: only then does the menu know where the camera looks |
| `coop_chat` | `1` | show new chat lines, and who joined or left, over the game for a few seconds while the menu is closed |

View File

@@ -21,7 +21,7 @@
## New
- **Experimental: co-op through Steam** (the menu's new Co-op tab; off by default; `coop = 1` in nx2navi.ini). Up to
- **Experimental: co-op through Steam** (the menu's new Co-op tab; off by default; `coop_steam = 1` in nx2navi.ini). Up to
four players, each in their own game and save, meet in a room: *Create a room* gives a room ID to pass on, *Join a
room* takes one, and *Invite a friend* sends a Steam invite. Nobody forwards a port and nobody runs a server: rooms
are Steam lobbies and the games talk through Steam's network. NX2navi signs in to Steam as its test app, so Steam
@@ -44,4 +44,4 @@
does nothing without another one is greyed out and says which it needs.
- **The co-op beta of 0.8.0 is replaced.** It shared story progress through a relay a player had to run, with a
forwarded port, and never showed the other players. Its relay, its rules and pools, its settings and its hidden tab
are gone; lines of it left in an nx2navi.ini do nothing, and a bug report still keeps their values out. See "New".
are gone; lines of it left in an nx2navi.ini do nothing (its `coop = 1` does not turn the new co-op on), and a bug report still keeps their values out. See "New".