* Allow retaining warmed graphics pipelines in memory (cherry picked from commit 6d3919be27cb679b7eeaec3c5c07e06eb49da122) * Warn when resident pipelines have low Windows commit headroom * Pass the Windows commit query size explicitly
larp (Community Enhanced Fork)
A modified version of VIctory, a compatibility layer that runs an Xbox Series title natively on Windows from files the user supplies.
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.
Questions, Saves & Setup Help: Use GitHub Discussions (Q&A) or join Fluxer (keep GitHub Issues for bug reports with
zip-logs).Want to Help Review or Contribute? Read CONTRIBUTING.md and check the Maintainer & Triage Call (#909).
Codeberg Mirror (backup if GitHub is unavailable): https://codeberg.org/gamingwithhomie/larp — mirror of code, branches, tags, and release ZIPs.
Documentation Hub
| Guide | What It Covers |
|---|---|
| Releases — Which One Do I Download? | Stable vs AMD channels, FULL vs UPDATE zips, updating without recompiling shaders, verifying SHA-256 |
| Setup, Quick Start & Save Migration | Required Larp\ folder structure, nv-profile, VRAM presets (series-s vs series-x), laptop iGPU fix, save transfers, AmericasLauncher |
| Troubleshooting, Exit Codes & Crash Offsets | Instant fixes for -2005270523, -1073741819 (AMD), -1073740791 (WaterTarget), -2147483645 (+0x3e42541, +0x247af2d, etc.) |
| Controls, Mouse & Keyboard, DualSense & Mods | Raw Input mouse capture, default PC GTA keys, custom controls.example.ini, native DualSense USB/BT, mods\ loader |
| Community FAQ (Q&A) | Why RAM/FPS is better (UMA), Ray Tracing & resolution defaults, 5–10 min 8 GB crash fix, Profile Inspector victory.exe mistake, building from source |
| CLI & Environment Variables Reference | Every larp.exe command and LARP_* environment switch |
Original Stock Source vs. Enhanced Fork
Both the untouched original larp release (1c2a608) and our Community Enhanced Fork are preserved in this repository:
| Version | Branch / Release | Direct Source ZIP |
|---|---|---|
| Enhanced Fork (Recommended) | main / Latest Release |
Download Enhanced Source (.zip) |
Original Stock larp (1c2a608) |
stock-original branch / v1c2a608-stock-original git tag (archive — not on the Releases page) |
Download Stock Source (.zip) |
5-Step Quick Start
Easiest: Download the FULL zip from Releases (e.g.
larp-v1.1.8-windows-nvidia-FULL.zip, or-linux-proton-FULL.zip; AMD users use the latest-amdpre-release) — it is the complete ready-to-runLarp\folder (configure.cmd,series-s.cmd,series-x.cmd,bin\larp.exe,bin\dlss\,bin\fsr\,bin\D3D12\,bin\shader-replace\). No separate base/CNF package needed. Extract it, runconfigure.cmdonce (point it at your own game folder), thenseries-x.cmd/series-s.cmd. The smaller UPDATE zip is only for people who already have a workingLarp\folder (it replacesbin\larp.exeand launchers).
- Extract the FULL release zip (or, if updating, extract the UPDATE zip over your existing
Larp\folder). - Run
configure.cmdand select your unpacked game folder (containinggame_scarlett_master.exeand.rpffiles). - NVIDIA GPUs — Set Shader Heap once (open Windows PowerShell as Administrator and paste one line):
(Use
& "C:\path\to\Larp\bin\larp.exe" nv-profile --mb 2048--mb 1024for 8 GB VRAM cards; no NVIDIA Profile Inspector needed!) - Laptops / CPUs with Integrated Graphics: Go to Windows Settings > System > Display > Graphics, add
Larp\bin\larp.exe, and set it to High Performance (your dedicated GPU). - Launch via
series-s.cmd(recommended for 8–12 GB VRAM) orseries-x.cmd(16 GB+ VRAM). Wait for the shader compilation counter at the top of the window to reach 100% — keyboard, mouse, and controller input are intentionally held until compilation finishes!
Fast Self-Diagnosis (Most Common Issues)
(Full details and register/offset tables in docs/troubleshooting-and-crashes.md.)
| Symptom / Error | Cause & Fix |
|---|---|
exit -2005270523 (0x887A0005 after loading screen) |
GPU Device Removed. On NVIDIA, run & "C:\path\to\Larp\bin\larp.exe" nv-profile --mb 2048 (or 1024) from Admin PowerShell. On 8–12 GB cards, use series-s.cmd and set stream_budget = 2500 in options.ini. |
exit -1073741819 (0xC0000005 on AMD RX 9060 XT / 9070 / 9070 XT) |
AMD amdxc64 shader compiler crash. Replace Larp\bin\larp.exe with v2+ AND delete the entire Larp\cache folder before launching so broken cached DXIL is rebuilt. |
exit -1073740791 (WaterTarget: no host copy) |
Wrong GPU or out of VRAM. Force Larp\bin\larp.exe to High Performance in Windows Graphics Settings (fixes laptops/iGPUs), launch series-s.cmd, and set stream_budget = 2000 in options.ini. |
exit -2147483645 (+0x3e42541 in crashes.log after title screen) |
Missing texture DB file. Verify <game_dir>\data\ttdb\graphics\ttdb_graphics.ttpf (34,411,776 bytes) exists — incomplete game dumps sometimes omit the graphics\ subfolder. |
exit -2147483645 (+0x247af2d at System Init, Frame 0) |
Custom output resolution assert. Fixed in v4+ (2560x1440, 1920x1080, 1664x936, 1280x720 now launch cleanly via legacy UI layout + 2 MiB-aligned UI pool sizing). On older builds, delete resolution = ... from settings.ini. |
Error: no replacement shaders: none of these folders exists |
You ran larp.exe outside the full Larp package. Place larp.exe inside Larp\bin\ next to shader-replace\, dlss\, and fsr\, and launch via series-s.cmd / series-x.cmd. |
| Keyboard / Mouse / Controller doesn't respond at startup | Wait for the pipeline compilation bar at the top of the screen to finish! For DualSense/controllers, also close Steam and DS4Windows so they don't hijack the controller. |
Where is controls.ini? / How to transfer Darner saves? |
controls.ini is optional — copy docs/controls.example.ini to Larp\controls.ini to customize keys. For saves, copy both saves\ and storage\ into Larp\data\7952987A\ (guide). |
| Missing voice audio on phone calls | Fixed in v5+ — ported DECODE_CONVERT_OPUS + CONVERT_PCM sample-rate conversion (xapu.dll) and XMA2 overlap carry/resume (acphal.dll). Update Larp\bin\larp.exe to the latest release. |
Reporting Bugs (larp zip-logs)
If you hit an issue not covered above, generate a sanitized log archive (your Windows username is automatically stripped):
& "C:\path\to\Larp\bin\larp.exe" zip-logs
Attach the generated Larp\logs\larp-logs-*.zip along with your GPU, driver version, CPU, RAM, and launcher (series-s / series-x) in GitHub Issues or our Fluxer Community Channel.
What's Added in This Fork (Up to v1.1.8)
Recent Release Highlights
- v1.1.8 (Current Stable — Windows NVIDIA + Linux/Proton, Cache: NONE):
- Progressive host RAM leak fixed (#795, #826): zeroes uninitialized padding in placed views, bounds
draw::State::persistentbuffer retention, and caps ownerless view-table entries (LARP_OWNERLESS_VIEWS). - 5-second periodic stutters & GPU hitches fixed (#464, #497): removes the blocking 5 s full-GPU
settle()drain before upload sweep, adds targeted RT UAV barriers, stack-allocatesSetDescriptorHeaps, and bounds descriptor reader spinning. - Audio stutter & crackle fixes (#515, #860): decouples time-critical mixer reads from XMA voice decoding and adds
LARP_AUDIO_LOCKto keep the APU heap locked in memory. - Hybrid-GPU laptop auto-selection (#852): prefers
DXGI_GPU_PREFERENCE_HIGH_PERFORMANCEhardware adapters supporting Enhanced Barriers instead of failing on Intel/AMD iGPUs. - DualSense R2 stuck-trigger fix (#875): releases zero-strength mode
0x26witheffect_off()(0x05) and clears triggers + rumble cleanly on exit. - Display, Frame Gen & QoL (#804, #803, #870, #508, #824, #829, #753, #761, #736, #738, #821, #814, #869, #796, #741): 240Hz+ DSC borderless "No Signal" fix, GPU-bound DLSS-FG pacer fixes, named NGX error codes, native
5120×1440(32:9), reversible F10 graphics performance preset, F10 keyboard driving toggle, raw null UAV views, low-4 GiB startup cushion,LARP_PIPELINE_BLOBS=0, non-UTF-8zip-logs, andsettings.iniBOM fix.
- Progressive host RAM leak fixed (#795, #826): zeroes uninitialized padding in placed views, bounds
- v1.1.8-amd (AMD Radeon [Test]): includes all
v1.1.8Stable fixes plusLARP_NO_LIVE_QUADS(the confirmed#353/#430live-quads kill-form fix for AMD0x887A0006 DEVICE_HUNGat world entry),LARP_EVEN_PACING=1, AMD typed integer stride-table fix, and >4 GiB element buffer view guard. - v1.1.8-linux (Linux / Proton): includes
#738(LARP_PIPELINE_BLOBS=0for#732RADV/RDNA2),#755(SteamOS/UMA/APU & AMD Wine/RADV optimizations, adaptive Wine write-guard, event-driven FG pacer), Steamlibraryfolders.vdfProton auto-detection (#720), opt-inLARP_RADV_TRANSFER_QUEUE=1(#498/#517), and RAM-aware 16 GB compile worker protection (#456). - v1.1.7: driver/adapter/PIX-scoped Windows PSO blobs (
#376), NVIDIA 616.x 40–139 GBptxasOOM leak fix (#249/#452), RAM-aware 9/12 pipeline workers (~8% faster cold compile) + blob-writer exit flush, configurableLARP_PIPELINE_CACHE_DIR/pipeline_cache_dir(#512), MFG Unlocker auto-Streamline backend (#492/#438/#473), per-minutememory:diagnostics (#468), Agility SDK loader (#139), crash stack-dump/watchdog switches (#140), full mouse button mapping, and optional Defender cache exclusion.bat. - v1.1.3 – v1.1.6:
#335BRDF/LUT drop fix,#240d16 integer view fix,#227dual-heap (1M + 2M) replacement shaders across all channels,#153vehicle auto-center & handbrake,#296live ultrawide HUD placement/scale,#247AMD loop register reduction,#320/#301/#306cross-page shader/readback/hot-path perf,#309LARP_SKIP_INTRO/LARP_SKIP_BINK,#211frame-82 audio lock fix, BC7 texture decode fix, native3440×1440, tabbedF10menu + live Controls editor, black ground tiles & save safety fixes. - v1.0.6 – v1.1.2: FULL ready-to-run zips, FG UI/HUD exclusion, MVFG any-GPU frame gen, Streamline FG, DittoSR, direct 1:1 mouse camera & world-map mouse, first-person view (
F7), wave64 stall-guard retry, Wine/Proton fixes, phone-call Opus/XMA2 audio fix, custom resolutions (1440p/1080p/936p/720p), water mosaic fix, aspect-ratio pillarbox, and 9-language UI localisation.
Core Built-in Features
- 9-Language UI Localisation (
--lang/LARP_LANGUAGE/F10Language Menu): English, Deutsch, Français, Español, Polski, Português (Brasil), Türkçe, 简体中文, and 繁體中文. - Full Mouse & Keyboard + Live
F10 → ControlsEditor (LARP_CONTROLS=auto|mnk|pad): Raw Input mouse look, direct 1:1 camera, world-map mouse, full mouse-button bindings, keyboard driving toggle, and customcontrols.ini. - Native DualSense / DualSense Edge / DualShock 4 HID (USB & Bluetooth) with rumble, lightbar (
LARP_DS_LIGHTBAR), adaptive triggers (LARP_DS_TRIGGERS=1), and PlayStation / PC keycap prompts (LARP_PROMPTS=auto|playstation|keys|xbox). - Upscalers & Frame Gen: DLSS, FSR, DittoSR, MVFG, NVIDIA Streamline FG (
LARP_FG_BACKEND=streamline), Reflex, HDR10 (LARP_HDR=1), live Exposure slider, andLARP_MFG_UNLOCKER=1. - Built-in Tools:
larp nv-profile(auto NVIDIA shader heap without Profile Inspector),larp zip-logs(sanitized log packager), startup hardware/driver advisor,mods\DLL/ASI loader, andLARP_TRAINER=1.
Building from Source
Requirements: Windows 10/11 x64, Rust (stable), Visual Studio 2022 C++ Build Tools, and Windows 10/11 SDK (dxc.exe).
$env:RUSTUP_TOOLCHAIN = 'stable'
cargo test --workspace
cargo build --release -p larp
# Then copy target\release\larp.exe into your Larp\bin\ folder!
See CONTRIBUTING.md for PR rules, CI checks, and how to join our triage/reviewer team.
Credits, Contributors & License
Upstream Foundations
- CNF (
larpcommit1c2a608,GPL-3.0-or-later) — originallarpbase preserved untouched on thestock-originalbranch. - VIctory by Marvisak and contributors (
GPL-3.0-or-later). - Darner and contributors (
GPL-3.0-or-later) for DualSense HID, button prompts,nv-profile, HDR10, exposure, AMDamdxc64fixes, phone audio, direct mouse camera, and Z-ROX controller hold. - XCL by ivall and contributors (
GPL-2.0-only) as behavioral reference.
Community Contributors & Maintainers
Huge thanks to everyone whose PRs, debugging, DRED/RGD captures, and hardware testing made this fork possible:
- Core Reviewers, GPU, Shaders, Memory & Stability:
@vanya890,@ZerefDragnee1l,@Kal0s-design,@erdtreefaithful,@yyc160,@kadiratesdev,@ambrosia-works,@Lakanya,@smacket-dev,@prikhi,@SteamEngineAmur,@ExzoTikStyle,@unluckiestly,@mikakod,@az1111mb,@HolyRoses,@DriifterSelf,@Logan1h,@iws322112,@rtho782,@kirksw,@talfour,@Sans0001010,@owsware,@Bud-Open. - AMD RDNA Debugging, Live-Quads Breakthrough & Forks:
@Dyll-Dot,@Skilletz-ttv,@Spo7ty,@iceboerg00(larp-amd),@Bov3rs(larp-amd),@Zelbrad(VIda-LARP),@StormicK(larp-amd-linux). - Linux / SteamOS / Proton:
@cadae,@r32601366. - Controls, Input, Ultrawide, UI & Localisation:
@greedtv92,@IndianStalker,@Kassadd,@860776819,@Logard0,@Lynat1k,@Wraithstalker90,@H-Bole,@Magn-coder,@SheppardX,@Omnicrash,@compl3xity1337. - Fluxer Community Moderators: Xinsys (
Xinsys#6772) and NotPecunia (9soqko#7988).
Licensed under GPL-3.0-or-later. See LICENSE.