WIP: [pr-feature][input][startup] DARNER_SKIP_START=1: A is pressed at the start screen until the world is first shown (off by default) #216
Loading…
Reference in a new issue
No description provided.
Delete branch "iridiumlotus/Darner:skip-start"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Draft while the third gate finishes (see "Gates" below); opened early so nobody starts the same thing.
What it changes
DARNER_KEYS,DARNER_KEYS_FILE) timed by a driver outside the process. Control run on this change with the switch not set and no key sent: the start screen for the 6 minutes watched (11 draws a frame in every report).DARNER_SKIP_START=1(off unless set) answers that screen: the pad the title sees gets A for 0.2 s at the end of every 2 s, from the first poll until the world is first shown (darner_gpu::world_since, the same markDARNER_SKIP_BINKuses), and not while the F1 menu is open. The press goes on the pad overlay inHub::poll, so it reaches the one pad, the first host pad that has shown input, or the keyboard's stand-in alike. WithDARNER_SKIP_BINK=1as well, a start needs no input at all.Also: a README row, one sentence in docs/troubleshooting.md, and
DARNER_SKIP_STARTis one of the player's own lines indarner-settings.txt(the one-time question does not offer to remove it). No F1 row: I left the menu and the locale files alone.How it was tested
Tested revision:
4016bed(this branch, on mainf3840d7) for the gates. The game runs used the same patch on a release build of a local tree atf3840d7with my launcher's settings.Commands and results:
cargo test --locked -p darner-hle --lib -- the_start_screen_press a_press_on_the_overlay: 2 passed.the start screen is answered for the player: A every 2 s until the world is shown (DARNER_SKIP_START=1); the start screen showed for about 15 s (16 and 11 draws a frame), then the save loaded; the world's first report came 86 s after the start, 0 errors, the scene of the save on screen.Changes a default: no
A/B result: a switch that is off by default. Checked as above, one run each:
DARNER_SKIP_START=1, no key sent)Gates run on that revision: gate 1 (
cargo clippy --workspace --all-targets --locked -- -D warnings) passed, gate 2 (the same with--all-features) passed, gate 3 (cargo test --workspace --locked) is still running as I open this; I will write its result here.Gameplay, when relevant: RTX 5080, Series S profile, 1113x626 with DLSS balanced, frame generation off, ray tracing off,
DARNER_SKIP_BINK=1.Shader wave sizes tested, when relevant: not relevant (input only).
Hardware dependence: likely general (input only).
Coverage gaps: only starts with a save to load were tried (the title loads it after A); a first start without a save was not. The presses go on through the loading screen until the world shows; nothing came of them in these runs. One-pad mode (the default) only in the game;
DARNER_ONE_PAD=0is covered by the unit test alone.Checklist
main.docs/asset-policy.md.Checked for overlap
gameinput.rsfor other reasons: #185 (DualSense triggers), #205 (build scripts), #32, #39, #40, #41 (Intel shader work).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.