Files
larp/docs/faq.md

6.2 KiB
Raw Blame History

Frequently Asked Questions (Community Q&A)

Answers to the most common questions from Reddit and GitHub Issues.


1. Why is larp's RAM usage (~10 GB) and FPS so much better than earlier builds? How does it handle UMA?

Console titles expect a 16 GB Unified Memory Architecture (UMA) where CPU and GPU share the same physical RAM. Earlier layers spent heavy CPU/PCIe time comparing, guarding, and mirroring memory pages every frame. larp avoids that overhead in four ways:

  1. Direct Graphics Heap Feed (heapfeed.rs): Feeds the title's graphics heap (0x10340000+0xae00000) into a single GPU buffer over the async copy queue at title announcements — no page guards, no byte-by-byte CPU diffing, and no readbacks.
  2. D3D12 Tiled / Reserved Resources (sparse.rs): Ray-tracing acceleration structures (BVH), triangle position pools, and streamed geometry use hardware tiled resources (Tier 2+), mapping physical VRAM tiles only where used.
  3. Pooled Placed Textures (texheap.rs): Cuts textures from 64 MB D3D12MemAlloc heaps within your GPU's VRAM budget.
  4. Disk-Backed PSO Release (pipeline/make.rs): Unasked graphics pipelines are compiled once to disk blobs and immediately freed from host RAM — saving ~11.7 GB of system RAM compared to keeping all ~95,000 PSOs resident!

2. Is Ray Tracing on by default? What resolution does series-s vs series-x run at?

  • Ray Tracing: Yes! Hardware Ray Tracing (DXR Tier 1.1+ via bvh.rs / rt.rs) is enabled automatically in both series-s and series-x whenever your GPU supports hardware ray tracing.
  • Resolution:
    • series-s.cmd outputs a 1920x1080 picture (upscaled via DLSS or FSR from internal render scale, e.g. 720p at Quality or 540p at Performance).
    • series-x.cmd outputs a 3840x2160 (4K) picture (upscaled via DLSS or FSR from internal render scale, e.g. 1440p at Quality or 1080p at Performance).
    • When you press Alt + Enter for Borderless Fullscreen, the window stretches cleanly to fill your monitor.

3. How do I go Fullscreen?

  • Press Alt + Enter at any time in-game to toggle Borderless Fullscreen.
  • Or, in Enhanced larp.exe, add $env:LARP_DISPLAY_MODE = 'borderless' inside Larp\bin\launch.ps1 to start in Borderless Fullscreen automatically every time.

4. I don't see series-s.cmd, series-x.cmd, or configure.cmd!

Two possibilities:

  1. Windows hides file extensions by default: Look for files simply named configure, series-s, and series-x (with gear/command icons) in your Larp\ folder.
  2. You downloaded only the GitHub source ZIP or standalone larp.exe: GitHub only hosts the open-source larp code and larp.exe binary. You must extract the base Larp runtime folder first (which contains configure, series-s, series-x, bin\dlss, bin\fsr, and bin\shader-replace), then place the Enhanced larp.exe inside Larp\bin\.

5. Do I still need NVIDIA Profile Inspector? Why did Profile Inspector not stop my crashes?

  • With Enhanced larp.exe: No — just run & "C:\path\to\Larp\bin\larp.exe" nv-profile --mb 2048 (or 1024 on 8 GB GPUs) once from an Administrator PowerShell.
  • Why manual Profile Inspector failed for many people: Early guides copied from older builds told users to add victory.exe in step 10 instead of larp.exe! Because the executable is named larp.exe, adding victory.exe leaves larp.exe at the default 512 MiB heap (our startup [advisor] warns you if larp.exe is still at 512 MiB).
  • Manual NVIDIA Profile Inspector steps (if using stock larp.exe):
    1. Open nvidiaProfileInspector.exe, click Create new profile (sun/star icon), name it larp.
    2. Enable the Show unknown settings filter icon (top bar) so hidden driver hex keys appear.
    3. Find 0x001ABC0F and set it to 0x80000000 (2 GB, for 12 GB+ GPUs) or 0x40000000 (1 GB, for 8–10 GB GPUs).
    4. Click Add application to current profile and select Larp\bin\larp.exe (NOT victory.exe!).
    5. Click Apply changes (top right).

6. Why does my game crash after 5–10 minutes on an 8 GB GPU (e.g., RTX 3070 Laptop / 4060), or have random frame drops while driving?

  • Crashes after 5–10 minutes:
    1. Verify the NVIDIA shader heap (0x001ABC0F) is actually applied to larp.exe (& "C:\path\to\Larp\bin\larp.exe" nv-profile should say 1024 MiB or 2048 MiB, not 512 MiB).
    2. Open Larp\options.ini and set stream_budget = 2000 (or 2200) so streamed textures don't exceed 8 GB VRAM as you drive across the map.
    3. Press F10 in-game and set Texture Detail to -1 if VRAM still hits 100%.
    4. On 16 GB RAM PCs, make sure your Windows Pagefile (Virtual Memory) is enabled on an SSD (System Managed or 16–32 GB).
  • Stutters / frame drops in new areas:
    • Ensure the game and Larp\cache are on an NVMe SSD (not an HDD).
    • After updating GPU drivers, delete Larp\cache once so pipelines rebuild cleanly for the new driver.

7. Copying saves crashed Larp or started a new game from scratch!

  • Started from scratch: You must copy both saves\ and storage\ into Larp\data\7952987A\ (so you have Larp\data\7952987A\saves\ and Larp\data\7952987A\storage\), with no extra nested folder.
  • Crashed on launch after copying: Do NOT copy settings.ini or temp\ from Darner/VIctory — only copy the saves and storage folders! Delete Larp\data\7952987A\settings.ini if you accidentally copied another port's settings file.

8. Where did the source code come from, and what if I don't trust prebuilt .exe files?

  • The original src.zip (commit 1c2a608, GPL-3.0-or-later) was published by CNF in Fluxer announcements.
  • The stock-original branch is the exact, unmodified source archive.
  • Every single line added in our Enhanced Fork (main) is public and auditable via GitHub commit diffs. If you never run prebuilt .exe binaries from the internet (good security practice!), simply install Rust + Visual Studio C++ Build Tools + Windows SDK and run cargo build --release -p larp yourself.