mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 17:59:58 -04:00
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>
3.0 KiB
3.0 KiB
Faster
- Experimental: the next frame no longer waits for the end of the last one's graphics work (
tail_early = 1in nx2navi.ini, off by default; contributed by epicmeme546). The game waits each frame until the graphics card has finished the frame before. The last of that work is the upscaler (FSR 4, FSR 3.1 or DLSS) and the interface drawn after it, and nothing the game reads comes out of it. With the setting on, the copies of what the card wrote for the game go before that last stretch and the game goes on once they are there, so the card finishes the picture while the next frame is already being prepared. The card runs the same work as before. On an RX 7900 XT with a Ryzen 7 5800X3D at 3440x1440, FSR 4 Native AA, Hyrule Field: 50.7 instead of 42.5 fps standing and 56.0 instead of 45.9 along a route; withreplay_workers = 3as well, 63.5 instead of 49.4 standing. With FSR 3.1, whose pass is shorter, 51.8 instead of 47.8 standing. Its pictures matched standing, along the route and through warps to five areas, but it is new: leave it off to play, and report what you see if you try it. It does nothing without one of those upscalers, and nothing yet on NVIDIA and Intel cards, where the lazy write-back is on. - Experimental: the replay workers take more of a frame off the game's render thread (
replay_pipeandreplay_smallin nx2navi.ini, both 0 by default, both withreplay_workers; contributed by epicmeme546). Withreplay_pipe = N, 1 to 4, the thread goes on past up to N groups of draws its workers still record. Withreplay_small = Nas well, a group of N draws or more that is too small to share out goes whole to one worker. On the same PC standing in Kokiri Forest, withtail_early = 1: 60.5 fps with 3 workers alone, 62.2 with 5 workers andreplay_pipe = 4, 63.2 withreplay_small = 16added, against 45.4 with all four settings off. The pictures matched there and through warps to five areas.
Changed
- The draw replay on several CPU cores is off by default again (
replay_workers = 0). With three workers on by default in 0.9.1 and 0.9.2 some players' games ended with a lost graphics device; the cause is not found yet. The settings menu has it under Game, Testing, as CPU helper threads (experimental): 0 to 8, after a restart. - The other experimental performance settings have rows there too: Helpers work ahead (
replay_pipe, 0 to 4), Helpers take small jobs (replay_small, 0 to 64) and Start next frame early (tail_early). A row whose setting does nothing without another one is greyed out and says which it needs. - The hidden co-op beta is gone. The co-op of 0.8.0 (shown only with
coop_beta = 1) shared story progress through a relay a player had to run and never showed the other players. Its code, its settings (the[coop]section of nx2navi.ini), its relay script and its menu tab are removed; lines of it left in an nx2navi.ini do nothing, and a bug report still keeps their values out. A new co-op is being built in its place.