forked from recklessfish/CNF-Larp
Official CNF (67a25de) with Native 1:1 Mouse & Keyboard, live F10 Controls, per-seat driving/boat/aircraft controls, and PC keyboard key-cap prompts.
- HLSL 83.4%
- Rust 15.5%
- C++ 1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Replace 40ms snap-back velocity cursor-warp polling during Alt (RightStickMouse), Weapon Wheel (Tab), and locked-camera minigames (look_pull idle >= 250ms outside true camCinematicDirector) with a raw-input positional 360-degree virtual thumbstick that holds exact angle & deflection steady when the mouse stops moving. - Fix hotwiring W/S Left Stick Y: yield KeyboardDriving overrides automatically while holding Alt, using I/J/K/L (1.5s grace window), or when the gameplay camera is locked for a minigame, and keep W/S feeding left_y in scripted/cinematic cameras when Shift/Ctrl are not held. - Normalize diagonal WASD Left Stick output to the unit circle (radius 1.0 instead of sqrt(2)). - Add LookUp/LookDown/LookLeft/LookRight (I/K/J/L) to default bindings.ini, F10 -> Controls, and README. |
||
| .cargo | ||
| apps/larp | ||
| crates | ||
| docs | ||
| shaders/replace | ||
| .gitignore | ||
| .larp-root | ||
| bindings.ini | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
CNF + Native Mouse & Keyboard
Official CNF 67a25de (the latest official build released by CNF himself on
the Fluxer announcement channel, Dec 5/6, 2026), extended with true native
1:1 Mouse & Keyboard aiming, a live in-game F10 -> Controls editor,
per-seat driving / boat / aircraft controls, and PC keyboard key-cap &
PlayStation button prompts.
TL;DR Summary
- All official CNF
67a25degraphics & performance intact: NVIDIA Streamline 2.14.16 DLSS Frame Generation + Reflex, automaticnvprofileshader-heap setup viaconfigure.cmd,rainrange, and hover-to-select menu/map mouse.- True 1:1 raw mouse aiming (
NativeAim = 1): hooks the game camera directly via Windows Raw Input — no sluggish right-stick emulation, deadzone, smoothing, or turn-speed cap.- Full PC controls & prompts out of the box:
Shiftsprints (Ctrlcrouches),Spacejumps / handbrakes cars / jumps between boats / toggles Cinematic Auto Drive,Q/Eyaw aircraft,CapsLock/Mouse4triggers 1-button Focus,Altsteers Right-Stick minigames, liveF10 -> Controlsrebinding (includingMouse1–Mouse5), and on-screen PC key-cap icons matching yourbindings.ini.
This repository contains no game files, code or assets. You need your own copy of the game. It is not affiliated with or endorsed by the game's developer or publisher.
Screenshots
Live F10 -> Controls Editor |
PC Keyboard Key-Cap Prompts |
|---|---|
![]() |
![]() |
Quick Install (Drop-in onto Official CNF 67a25de)
- Unpack the latest official CNF
67a25delarp.zippackage (released by CNF himself on the Fluxer announcement channel) and runconfigure.cmd(sets upoptions.ini, DLSS, NVIDIA Streamline DLSS Frame Generation + Reflex, and automatically applies the NVIDIA shader-heap driver profile vianvprofile— no manual NVIDIA Profile Inspector required). - Replace
bin\larp.exewithlarp.exefrom this release zip (keep the filenamelarp.exesoseries-x.cmdand the NVIDIA driver profile match automatically). - Replace
bindings.ini(in the package root, right besideoptions.iniandseries-x.cmd) withbindings.inifrom this release zip. (Important: CNF's stockbindings.iniusesSprintMode = click+A = Enter, which makesShiftcrouch on GTA's default Standard controller layout. Ourbindings.inifixes this out of the box withA = Shift, EnterandSprint = none.) - Launch normally with
series-x.cmdorseries-s.cmd.
Default Controls
| Action | Default Key(s) | Notes |
|---|---|---|
| Move / Steer / Gas & Brake | W A S D |
W/S accelerate & brake in cars and boats (KeyboardDriving = 1) |
| Aim / Shoot | Mouse2 / Mouse1 |
True 1:1 raw mouse camera (NativeAim = 1); LMB fires RB in vehicles |
Run / Sprint / Confirm (A) |
Shift, Enter |
Shift sprints on foot/swimming (Enter confirms menus); leans forward while driving |
Crouch / Horn / Gear (LS) |
Ctrl |
Crouch on foot, horn in cars, landing gear in aircraft, lean back while driving |
| Jump / Handbrake / Auto Drive | Space |
Jump/climb (X) on foot & boats, Handbrake (A) in cars, Auto Drive (X) in Cinematic Camera |
Enter / Exit Vehicle (Y) |
F |
Enter, hijack, or exit vehicles |
Reload / Melee / Back (B) |
R, Backspace |
Reload, melee, cancel/back |
Weapon Wheel / Loadout (LB) |
Tab |
Automatically switches mouse to right stick while held |
Cover / Car Fire (RB) |
Q, Mouse5 |
Cover on foot, vehicle fire |
| Aircraft Yaw Left / Right | Q / E |
Maps to X / B in aircraft (Space fires RB); rebindable or clearable |
| Interact / D-Pad Right | E, Right |
Context interact, explosives, partner menu |
Look Behind (RS) |
C, Mouse3 |
Look behind on foot & in vehicles |
Focus / Special (LS+RS) |
CapsLock, Mouse4 |
Single-button LS + RS combo |
| Minigame Right-Stick Mouse | Alt (hold) or automatic |
Steady 360° positional Right Stick with mouse (hotwiring, lockpicking, fishing; automatically yields W/S to Left Stick) |
| Minigame Right-Stick Keys | I J K L |
Keyboard 360° Right Stick fallback (also yields W/S back to Left Stick during hotwiring) |
Camera / Map (View) |
V |
Cycle camera distance / map in aircraft |
Pause / Menu (Menu) |
Esc |
Open pause menu |
| D-Pad (Phone / Nav / Vehicle) | Up Down Left Right |
Arrow keys |
Live Hotkeys
| Key | Action |
|---|---|
F5 |
Toggle Force On-Foot Mode (temporarily disables vehicle/aircraft overrides for scripted seats) |
F6 |
Manually lock / unlock mouse cursor capture |
F8 |
Cycle vehicle camera auto-center (auto (1.5s) -> off -> on, saved to bindings.ini) |
[ / ] |
Decrease / increase 1:1 AimSensitivity live (saved to bindings.ini) |
F9 |
Toggle performance / VRAM overlay |
F10 |
Open / close settings & live Controls menu |
Alt+Enter |
Toggle borderless fullscreen |
Feature Details
- True Native 1:1 Raw Mouse Aiming (
NativeAim = 1): hooks RAGE'slook_pulldirectly via Windows Raw Input (WM_INPUT), scaling byAimSensitivityand the game's live zoom/ADS scale — zero stick cap, zero deadzone, zero smoothing, zero acceleration. Yields to the analog right stick only when needed (Weapon/Radio Wheel onTab, or holdingAltfor minigames). - PC Keyboard Key-Cap & PlayStation Button Prompts (
Prompts = auto): replaces on-screen Xbox button icons with crisp vector PC key caps matching yourbindings.inibindings (Shift,Space,F,E,LMB,RMB, etc.), or switch betweenauto,keys,xbox, andplaystationinbindings.iniorF10 -> Controls -> Button prompts(applies on next launch). - Live In-Game
F10 -> ControlsTab: adjustAim sensitivity,Stick sensitivity,Invert Y,Sprint mode,Keyboard driving,Vehicle auto-center,Button prompts, and live-rebind all 30 controls to keyboard keys orMouse1–Mouse5with atomic saves tobindings.iniand one-click Reset to defaults. - Per-Seat Driving, Boat Jump, Cinematic Auto Drive & Aircraft Yaw:
- Land vehicles:
W/Sgas & brake,Shift/Ctrllean (suppressed from handbrake/horn while driving),SpaceHandbrake (A),LMBfire (RB). - Boats (
eVehicleType9..=11):W/Sthrottle/brake andShift/Ctrltrim while keepingSpace = Xfor boat-to-boat[Space] JUMP. - Cinematic Camera: yields
Spaceback toXfor Auto Drive and keepsRMB/LMBonLT/RTforSPEED 1 / 2 / 3. - Aircraft (
eVehicleTypeplane/heli/blimp):Q/Emap toX/B(Yaw Left / Yaw Right), withSpacefiringRBwhenQclaimsRB.
- Land vehicles:
- Smart Vehicle Camera Auto-Center (
VehicleAutoCenter = auto): holds the vehicle camera free for 1.5 seconds after mouse motion before smoothly re-centering (GTA V PC feel). Cycleauto (1.5s)/off/onlive viaF8orF10 -> Controls. - Gamepad + Menu/Map Mouse Interop: prevents a stationary mouse cursor from stealing focus when navigating menus or the world map with a controller.
Credits
- VIctory by Marvisak and its contributors is the base of everything here. Licensed GPL-3.0-or-later; so is this fork.
- Official CNF (
67a25de) — Streamline 2.14.16 DLSS-G + Reflex, automaticnvprofile,rainrange, and hover-to-selectmenumouse. - Darner by TrustNo1 and its
contributors (GPL-3.0-or-later) — source of the native 1:1
look_pullhook, map/menu cursor hooks, andbindings.inifoundation. - gamingwithhomie/larp — source of the Scaleform GFx keyboard key-cap & PlayStation prompt redrafter.
- XCL by ivall and its contributors (GPL-2.0-only) — reference for title behavior under another layer.
Building
Requirements: Windows 10/11 x64, Rust (pinned in rust-toolchain.toml), a
C++17 compiler, and dxc (the one DXC names, else the newest of the Windows
Kits, else dxc on the path).
cargo build --release -p larp
target\release\larp.exe run <game dir>\game_scarlett_master.exe --execute
License
GPL-3.0-or-later. See LICENSE.

