Native 1:1 mouse aiming, vehicle controls, pre-launch DLSS warm-up, and portable launcher #1356
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1356
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1356"
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?
@lyufeng000 on GitHub · 2026-11-28 17:56 UTC · original
lyufeng000:9950x-4090-mouse-track→main· +3671 −74 · 18 files · 1 commits · closed without mergingSummary
Tested on AMD Ryzen 9 9950X (16C/32T) + NVIDIA GeForce RTX 4090 24 GB (driver 621.14) + 32 GB RAM + Windows 11 Build 26300 against retail Xbox Series X build
1.0.2.1(b99f876b...).This PR brings four quality-of-life & input improvements plus hardware notes and docs:
Native 1:1 Mouse Aiming & Automatic Menu Cursor Release (
VICTORY_NATIVE_MOUSE=1by default)victory-loader::callhook(usingtls::nearrel32-reachable trampolines) andvictory-hle::mousehookhookinglook_pull_140e4e3d0(0x140e4e3d0, verified 8-byte prologue) to inject raw mouse deltas directly as 1:1 camera radians with native ADS/zoom scaling ([block + 0x30/0x34]).IDC_ARROWon Pause, Map, Shop/Modal UI,F1overlay, or focus loss; click-in recaptures with LMB swallow to prevent misfires.[/]adjust sensitivity by ±15%,F9toggles capture override,F8toggles vehicle auto-center bypass.VICTORY_NATIVE_MOUSE,VICTORY_MOUSE_SENS,VICTORY_MOUSE_INVERT_Y,VICTORY_WHEEL_SENS,VICTORY_WHEEL_SCROLL_INVERT, andVICTORY_VEHICLE_AUTO_CENTERacrossvictory playrestarts (KEPTinapps/victory/src/play.rs). SettingVICTORY_NATIVE_MOUSE=0falls back cleanly to upstreamVICTORY_MOUSE_CAPTURE.Radial Weapon Wheel Mouse Selection & Vehicle Controls
hud_quick_select(0x2c790e9c) is open; raw mouse deltas drive a sticky unit-disk virtual right stick, and mouse wheel notches cycle sub-slots viaRT/LTtrigger pulses (PreRelease -> Pulse -> Gap) reliable at 15–25 FPS.None/Driver/AircraftPilot/Passenger) splits non-aircraft driving (W= RT throttle,S= LT brake/reverse,LShift/LCtrl= bike/boat pitch,RMB/LMB=LB/RBwhen wheel closed) from on-foot & aircraft controls.camFollowAutoCenter::Update(0x007c_5ee1 -> 0x00b6_9900) on normal frames in vehicles to bypass auto-centering cleanly without spring snap-back; live-toggleable viaF8or F1 > VEHICLE AUTO-CENTER (VICTORY_VEHICLE_AUTO_CENTER).Pre-Launch Invisible DLSS / Frame Generation Warm-up (
victory dlss-warmup)victory dlss-warmup --output <WxH> --frames 24) using a hidden 1x1 unfocused tool window (host::set_hidden_window(true)) and cleanslShutdownteardown.--dlss-warmup,--no-dlss-warmup, andVICTORY_DLSS_WARMUP(0/force); honors legacy warm-up marks under%LOCALAPPDATA%\victory\warmed.Portable
Start-GTA6.batLauncher, Asset Policy & DocsStart-GTA6.batlauncher (zero hardcoded local paths) that checksVICTORY_GAME_DIR->%VICTORY_HOME%\game_dir.txt/%LOCALAPPDATA%\victory\game_dir.txt-> read-only%~dp0game_dir.txt, and interactively prompts & persists the game folder outside the repository on first run."bat"toALLOWED_EXTENSIONSinxtask/src/policy.rs(with unit test).README.md,docs/architecture.md, and addsdocs/notes-9950x-4090.mddocumenting measurements, observed issues, RVAs, and branch changes.Verification
cargo xtask policy: passed (asset policy: 298 files ok)cargo clippy -p victory-hle -p victory-loader -p victory -p xtask --all-targets --locked&--all-features --locked: 0 warnings across all modified crates (unrelated pre-existing warnings invictory-gpu/src/{shadow.rs,descriptor.rs}left untouched)cargo test -p victory-loader -p victory-hle -p victory -p xtask --locked: all passed (victory28+2,victory-hle202+1 / 3 ignored,victory-loader48+3,xtask6)Start-GTA6.batverified incmd.exewith isolatedVICTORY_HOME(prompt, invalid-path retry, persistence, auto-load on second run, drag-and-drop exe path,--helppassthrough)4k+ DLSS Quality Preset K + 2x FG, >8,750 DLSS frames)@MaroonCoffee on GitHub · 2026-11-28 21:41 UTC · original
I can't speak for the other changes, but I tested a merge with just the mouse changes and this is so much more playable with a mouse. Highly recommend merging mouse changes.
@MaroonCoffee on GitHub · 2026-11-28 21:52 UTC · original
I made a separate PR for just the mouse merge since this one has conflicts, and makes multiple changes. Hopefully this'll increase the chance these changes make it in.
@0z0sk0 on GitHub · 2026-11-29 10:42 UTC · original
Must be closed
@lyufeng000 on GitHub · 2026-11-29 11:23 UTC · original
Superseded by #1570 (merged in v2026.11.29.01) and follow-up #2225.
Pull request closed