Repository navigation
Input: scripted keys from the world's first frame (VICTORY_KEYS_FROM=world) - #1098
Open
ballsimulation wants to merge 1 commit into
Open
ballsimulation wants to merge 1 commit into
ballsimulation wants to merge 1 commit into
Conversation
VICTORY_KEYS times count from when input starts, so a route lands somewhere else whenever the boot or the save's load takes longer. With VICTORY_KEYS_FROM=world they count from the first presented frame of 500 draws or more (the test VICTORY_CAPTURE_WORLD uses), and no scripted key is pressed before it. VICTORY_KEYS_FILE is not held back: a driver passes the menus with it. - victory-gpu: world_since(), set once at the present that ends the first such frame (one atomic swap a present, every build). - victory-hle: script_base() picks what VICTORY_KEYS counts from. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Used by #1099: |
MystifiedSky
added a commit
to MystifiedSky/VIctory-NVIDIA-Improved
that referenced
this pull request
Nov 28, 2026
…1098) (cherry picked from commit 14bb2530967754de615f8d258cd2976cbbd28699)
Open
1 task done
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.
Summary
VICTORY_KEYStimes count from when input starts. Boot and save loading take a different time on each run, so the same script walks a different path each run. WithVICTORY_KEYS_FROM=world, the times count from the first presented frame of 500 or more draws instead, the same testVICTORY_CAPTURE_WORLDuses. No scripted key is pressed before that frame. Off unless set.VICTORY_KEYS_FILEis not held back, because a driver (such asbench.ps1) uses it to get through the menus.Changes
victory-gpu:world_since(), set once at the present that ends the first such frame. Cost: one atomic swap per present, in every build. It logsthe world: the first frame of 500 draws or more.victory-hle(gameinput.rs):script_base()picks whatVICTORY_KEYScounts from.docs/README-fxceless.md: one row in the table of switches.Checked
keys_from_the_world,a_frame_of_500_draws_is_the_world.cargo test -p victory-hle --lib -- gameinput: 27 passed.cargo clippy -p victory-gpu -p victory-hle --all-targets(with and without--all-features,-D warnings) passes for this change. main has three lints of its own that fail first:manual_is_multiple_ofin shadow.rs and descriptor.rs, andsome_filterin gameinput.rs:1372.scripted keys count from the world's first frameat the start andthe world: the first frame of 500 draws or more frames=1435543 s later.🤖 Generated with Claude Code