HLE: VICTORY_KEYS repeats and holds, and VICTORY_KEYS_FILE #1315
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1318"
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?
Imported from fxceless/victory-fork. Originally posted by EgoraWyn on 2026-11-26T14:15:39Z.
Extends the diagnostic scripted-key list (
VICTORY_KEYS,diagnosticsfeature) incrates/victory-hle/src/modules/gameinput.rs.What
<from>-<to>:<key>holds the key for the whole span.<from>-<to>/<every>:<key>presses it for 0.2 s every<every>seconds in the span.<from>-<to>/<every>+<hold>:<key>holds each press<hold>seconds.<hold>must be > 0 and <<every>, otherwise the entry is rejected.VICTORY_KEYS_FILE=<path>: a key name appended as a new line is pressed once that line appears, so a script that watches the log can press exactly when a screen is ready (Add-Content <path> Enter).Existing
<seconds>:<key>lists parse as before. Nothing changes unless the variables are set.Why
In unattended smoke runs, fixed timestamps either press too early or wait up to a whole period. Hold-to-skip cutscenes need a long press. For example,
2-200/3+2.5:Entersteps through menus and also holds long enough to skip the cutscene.Testing
scripts_repeat_and_hold: covers periods, spans and holds, and rejects a zero hold or a hold >= the period.cargo check -p victory-hlewith and without--features diagnostics: no new warnings.🤖 Generated with Claude Code
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.