Remove the co-op of 0.8.0: its runtime layer, relay, menu tab, settings, tests and docs.

The hidden beta shared story progress through a relay a player had to run and never showed the other players. A new co-op replaces it. Gone are runtime/coop*.c and their headers, the menu's Co-op tab and its texts in four languages, tools/coop_relay.py, the co-op tests, docs/coop.md, the [coop] section of nx2navi.ini.example, the --probe-coop mode, the coop trace item, and Monocypher, which only this layer used.

The old settings stay known as retired keys, so an nx2navi.ini that still sets them logs no unknown key, and they stay on the list of private settings, so a bug report keeps a room's secret, a relay's address and a name out. The platform layer's UDP sockets and fs_save_snapshot stay for the new co-op; cfg_ini_now and fs_profile_path, which nothing else called, are removed.

Checked: the game builds and starts, the menu shows its four tabs, --probe-cfg and --probe-fs pass, and the launcher's private-settings test passes. tests/save_share_check.py builds without its co-op stub; it cannot run from this worktree because the folder's path is longer than Windows allows, on main too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
epicmeme546
2026-11-13 03:37:26 -05:00
parent d4778b1bb0
commit c84c035939
52 changed files with 51 additions and 19889 deletions

View File

@@ -81,10 +81,7 @@ const char *fs_save_import_done(void); // the backup of the
// "-" when there was none, "" when no import ran
// A copy of the newest committed save (every slot) in <profile>/<folder>/<UTC time>/, flushed, taken while no Commit
// runs; the newest keep copies stay. prefix (NULL: none) goes before the time, and a copy whose name it begins is
// never pruned: the copy from before a co-op room, say, outlasts the ones made later. 1 and the copy's path in out
// never pruned, so a first copy outlasts the ones made later. 1 and the copy's path in out
// (empty when nothing is saved yet: nothing to copy), 0 when it could not be made (logged). Slow (the whole save): not
// on the game's thread.
int fs_save_snapshot(const char *folder, const char *prefix, int keep, char *out, size_t cap);
// <profile>/rel into out: a file of the profile folder beside the saves (the co-op maker's room keys). 0 when there is
// no profile folder or the path does not fit.
int fs_profile_path(const char *rel, char *out, size_t cap);