Repository navigation
Launcher: Home with Play in the sky, a Mods page, and one side for every screen - #134
Merged
Merged
Conversation
…muted) to 100%, heard at once Players asked for a way to turn the game down without Windows' mixer. The Gameplay tab has a Volume row above Audio output: a slider, 0 to 100% in steps of 5, 100% by default, saved as volume in relink_options.ini (clamped and rounded to a step when read). - host/nn_audio.c render_frame: the mix times the volume, after the limiter, read every audio frame (5 ms) through rx_option(HOS_OPT_VOLUME, 100). The gain is the percent squared (50% is about -12 dB, so the steps sound even) and it ramps across the frame from the last one, so a change makes no click. - gpu/vk/hos_volume.h: HOS_OPT_VOLUME 44, shared by the host and the back end. Not in vk_api.h: that header is part of the shader cache's stamp, and a change there would make every player prepare the shaders again. - gpu/vk/vk_replay.cpp: the option served from opts.volume; vk_menu.cpp/.h: the row, a slider that stops at its ends. - README: the row, next to Audio output's. Tested in ReLink-dev (RX 6600 XT, Windows): the row in F1 > Gameplay, the sound going down and up at once as the slider moves, muted at 0%, and the value kept after a restart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wakes, mutex index, short sleeps, overflow cores) (#83) Four Linux host switches for the frame threads, all off by default: HOS_FAST_FUTEX_CV=1 (no futex wake when no thread waits on the condition variable), HOS_MUTEX_IX=1 (a mutex's host object found by an index kept in the guest MutexType, checked against its key), HOS_SHORT_SLEEP_PAUSE=<n> (short sleeps spin with n PAUSEs, since sched_yield always "succeeds" on Linux) and HOS_VCORE_OVERFLOW=<n> (up to n extra virtual cores for priority <= 16 frame threads, background threads stay capped). Without them the code paths are the old ones. The mutex index follows HeyListen (GPL-3.0), as its source comment says.
On Linux with RADV, the device is made with Mesa's submit thread on (MESA_VK_ENABLE_SUBMIT_THREAD=1, set for vkCreateDevice only), so the kernel submit leaves the replaying thread. A MESA_VK_ENABLE_SUBMIT_THREAD the player set wins; RX_VK_RADV_SUBMIT_THREAD=0 keeps Mesa's default. Windows and other drivers: nothing changes. gpu/vk/radv_submit_thread.h holds the decision, with its test.
…w latency row, DLSS in the upscale stub's place (#91) On Linux, AMD FSR loads libamd_fidelityfx_vk.so (RX_VK_FSR_LIB, else the game folder, else the exe's), and the Low latency row (was NVIDIA Reflex) also drives AMD Anti-Lag 2 through VK_AMD_anti_lag where the driver has it (Mesa's anti-lag layer on Linux, with RX_VK_REFLEX=1); with Anti-Lag on, presents go on the main queue. When a gameplay network that did not translate reaches the upscale stub and DLSS is wanted, DLSS now takes that frame before the RGB9E5 fallback, and the draw state is forgotten after it (graphics_state_disturbed). nx2/test_vk_linux_presentation.py and nx2/test_vk_failed_upscale_external.py check them. Measured by the author on Linux (BC-250): FSR and Anti-Lag on, a 120 s run at 43.9-45.5 fps after loading.
…recording, so the game's next frame cannot rewrite them under the GPU (#102) A uniform buffer bound straight from guest memory (a pool without its VRAM mirror) is copied into the recording's stream, as the submission had it: the game can rewrite it after the present while the GPU still reads the frame before. Mirrored pools stay zero-copy. Each recording keeps a 4096-entry table so a range is copied once until an update, a burst submit or a CPU fallback write changes it. RX_VK_UB_SNAPSHOT=0: direct bindings as before; =1: every uniform buffer copied. nx2/test_direct_ub_snapshot.py and gpu/vk/tests/direct_ub_snapshot_test.cpp cover the table. Measured by the author on Linux (BC-250, 220 s fixed route): 45.5 fps average, no device loss, no table-full event.
…cartridge style, Rubik font The Insert menu: every page drawn as a cartridge (grey shell, cream label, a colour strip per section: Graphics red, Gameplay green, Controls blue), round corners, the rows in groups with switches, chips, sliders and arrows, a help box of fixed height under them (no row grows when selected). Cheats, Teleport, Inventory, Travel and Controls redrawn in the same style, the Restart and Quit dialogs and the notice too. The mouse: the row under the cursor is selected, the wheel scrolls the rows (stopping at the ends), the scroll bar is dragged or clicked. A V-Sync row (FIFO: no tearing where the driver has no mailbox, AMD on Windows). Cheats shown by default (HOS_OOT_CHEATS=0 hides them). The loading screen: the ReLink staff fills with gold as the shaders are prepared, a note playing on it, alive when the percentage does not move; at the end the gold finishes, the staff closes into the logo and it pulses, played in full at about 60 frames a second before the game starts. The launcher: a sidebar, a home page with a sky over Hyrule and the staff, the options laid out as the menu's, a V-Sync switch. The Rubik font (SIL Open Font License, assets/fonts) is embedded in the game (nx2/fonts_embed.py) and the launcher. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… new headings HDR under Display; the Menu, Screenshot and Fullscreen keys under a Keyboard heading on the Gameplay tab, before More. The launcher's Shaders > Prepare again row takes the new rows' look as it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…one side for every screen Home: Play in the sky; four cards with their colours (how it looks, how it moves, Mods, release notes). Mods page: each mod on or off with a switch (the folder renamed with a leading '-'), the code patches the last build left without effect, and Build again. The side is the same on every screen: Home, Options and Mods with icons and their page's colour (a badge on Mods only when code patches need a build or had no effect), a state card, and icons for the game folder, help, Discord and reporting a problem. Each thing is said in one place: - the version and the update: the card (pill: up to date / out / not checked, Update with what it keeps); the update banner and the version on the News card are gone - what Play will show: Home's cards; the summary pill and the side's line are gone - Play: in the sky on Home, in the card on Options and Mods - install, build, problem: the card shows the way (your copy, build, shaders at the first start, play), the page keeps the percentage, Cancel and the report; Repair is the card's button - during an update or a build again, Home, Options and Mods can be looked at (the card: See the progress; the mods' switches wait) The "game is ready" screen is gone: after a build, Home, with the first start's line in the sky once. Its shortcut switches and the space ReLink keeps are in Options, Game; the first install makes both shortcuts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tall again, a preview of Home during an update
- the card's step names wrap instead of being cut ("Shaders (1er lancement)"); "Voir la progression"
was too wide for the button: "Progression"
- Install again (Options, Game) left no way back to the installed game: Home, Options and Mods now lead
back to it while nothing is being built
- --view home-building: Home looked at while an update runs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clicked through on the dev game (a build again started from the Mods page; a problem; Install again and back; Cancel): - Home, Options and Mods stayed greyed while it built: the side was made before the runner started. It is made again once it runs - the Mods page still offered Build again during a build (a second build over the first): hidden, and RebuildClick waits for the first - after Cancel, the card lost the latest release's line: CheckLatest again, as Back does - a game built from the sources: "Dev build" in the card's head (the long name was cut) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er-home-sidebar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Built on #117 (base:
ui-menu-design): merge that one first, then this.Home
Mods page (new)
-, as the game and the build read it. Switches are blocked while the game runs or builds.One side for every screen
The side looks the same on every screen:
Each piece of information appears in one place:
During an update or a build again, Home, Options and Mods can be opened. The card then offers See the progress.
The "game is ready" screen is gone. After a build the player lands on Home, and the sky says once what the first start does. That screen's shortcut switches and the storage row are now in Options › Game. The first install still makes both shortcuts.
The game's own shader loading screen is not touched.
Checked
dotnet buildpasses with 0 warnings.home,home-update,home-mods,options,mods,install,build,update,readyandproblemlook right.🤖 Generated with Claude Code