Files
larp/docs/setup-and-quickstart.md

8.7 KiB
Raw Blame History

Setup, Quick Start & Save Migration Guide

Important: This repository contains only the open-source larp.exe compatibility layer (GPL-3.0-or-later). It contains no game files, assets, or proprietary SDK DLLs.


1. Prerequisites & Folder Layout

To run the game, you need two things:

  1. Your unpacked game folder containing game_scarlett_master.exe, the .rpf archives (appdata0.rpf, common.rpf, levels.rpf, etc.), and data\ttdb\graphics\ttdb_graphics.ttpf (34,411,776 bytes).
  2. The full Larp runtime folder (which includes configure.cmd, series-s.cmd, series-x.cmd, options.ini, bin\dlss\, bin\fsr\, bin\shader-replace\, and bin\SDL3.dll).

Warning

Download a ...-FULL.zip release package (not "Source code (zip)")! Running larp.exe outside a Larp\bin\ folder without shader-replace\ will fail immediately with: Error: no replacement shaders: none of these folders exists: ...\shader-replace Download the ...-FULL.zip for your channel from Releases for a first install, or extract ...-UPDATE.zip over an existing Larp\ folder to update without losing saves or caches.

Expected Larp\ folder layout:

Larp\
├── configure.cmd
├── series-s.cmd
├── series-x.cmd
├── options.ini
├── controls.ini          (optional — see docs/controls.example.ini)
├── game-dir.txt          (created by configure.cmd)
├── mods\                 (optional — drop .dll / .asi trainers here)
├── mfg\                  (optional — drop MFGUnlocker winmm.dll here; it also needs bin\streamline\)
└── bin\
    ├── larp.exe          <-- replace this with the Enhanced release binary
    ├── launch.ps1
    ├── SDL3.dll
    ├── dlss\
    ├── fsr\
    ├── streamline\       (optional — NVIDIA Streamline: sl.interposer.dll, sl.common.dll, sl.dlss_g.dll, sl.reflex.dll, sl.pcl.dll; needed by MFGUnlocker)
    └── shader-replace\

2. Step-by-Step First Launch

Step 1 — Point Larp to your game folder

Double-click configure.cmd inside your Larp\ folder and select your unpacked game directory (the folder containing game_scarlett_master.exe). This writes game-dir.txt.

Step 2 — Apply the NVIDIA Shader Heap Fix (NVIDIA GPUs only)

By default, NVIDIA's D3D12 driver limits the shader heap to 512 MiB, which causes exit -2005270523 (0x887A0005 Device Removed) right after the loading screen.

With the Enhanced larp.exe, you do not need NVIDIA Profile Inspector. Open Windows PowerShell as Administrator and run one line (replace the path with your actual Larp\bin\larp.exe path):

  • For 12 GB+ VRAM cards (RTX 3060 12GB, 3080 12GB, 3090, 4070+, 5070+, 5080, 5090):
    & "C:\path\to\Larp\bin\larp.exe" nv-profile --mb 2048
    
  • For 8–10 GB VRAM cards (RTX 3060 Ti, 3070, 3070 Ti, 3080 10GB, 4060, 4060 Ti 8GB):
    & "C:\path\to\Larp\bin\larp.exe" nv-profile --mb 1024
    

(You can check the current setting anytime without admin rights using & "C:\path\to\Larp\bin\larp.exe" nv-profile.)

Step 3 — Laptop / Dual-GPU Users: Dedicated GPU Selection

Since v1.1.8 (#852), larp.exe automatically prefers high-performance hardware D3D12 adapters that support Enhanced Barriers and skips integrated GPUs that lack it. If your laptop still routes larp.exe to an iGPU (e.g., exit -1073740791 / WaterTarget), also set it manually:

  1. Open Windows Settings > System > Display > Graphics.
  2. Click Add desktop app and select Larp\bin\larp.exe.
  3. Set GPU preference to High Performance (your dedicated RTX / Radeon GPU).

Step 4 — Choose series-s.cmd or series-x.cmd by VRAM

GPU VRAM Recommended Launcher Recommended options.ini Recommended F10 Menu Settings
16–32 GB (RTX 4080/4090/5070 Ti/5080/5090, RX 7900/9070 XT) series-x.cmd stream_budget = default DLSS/FSR Quality, Frame Gen 2x–4x, Reflex On
12 GB (RTX 3060 12GB, 4070, 5070, RX 6700 XT / 9060 XT) series-s.cmd (or series-x.cmd w/ budget) stream_budget = 3000 (if Series X) DLSS/FSR Quality or Balanced, Frame Gen 2x
8–10 GB (RTX 3070, 3070 Ti, 3080 10GB, 4060 Ti 8GB) series-s.cmd stream_budget = 2500 DLSS Quality or Balanced, Frame Gen 2x, Texture Detail Default/-1
6 GB (RTX 2060, 3060 Laptop, 4050 Laptop — tight!) series-s.cmd stream_budget = 1500 DLSS Performance, Texture Detail -2, close browsers/overlays

Note

Do I always launch via series-s.cmd or series-x.cmd? Yes! Do not double-click larp.exe directly — series-s.cmd and series-x.cmd set LARP_CACHE_DIR, LARP_DATA_DIR, LARP_DLSS_PATH, and LARP_FSR_PATH. You can right-click series-s.cmd or series-x.cmd and click Send to > Desktop (create shortcut) for one-click launching.

Prefer separate one-click launchers for KB+M, Xbox, and PlayStation gamepads? See docs/launchers/README.md for pure-ASCII .bat templates with matching on-screen prompts (keys / xbox / playstation + DualSense adaptive triggers).

Step 5 — Wait for Shader Precompilation at Startup!

On first launch (or after clearing Larp\cache), all keyboard, mouse, and controller input is intentionally held until the pipeline compilation counter at the top of the window reaches 100%. Once play.log prints:

pipelines: every queued one is made, the title gets its input

your controller, keyboard, and mouse will immediately work!


3. Updating GPU Drivers, Moving the Cache, or Updating larp.exe

  • Driver updates (v1.1.7+): Native Windows pipeline caches are automatically scoped by adapter, driver version, and PIX mode (cache\pipelines\blobs-windows-v1-<adapter>-<driver>-plain, PR #376), so driver updates safely create a fresh folder without colliding with old blobs. You can delete older driver folders (or the legacy cache\pipelines\blobs\ folder) to reclaim ~6 GB of disk space.
  • Move pipeline cache to another drive (#512): Set LARP_PIPELINE_CACHE_DIR=D:\larp-pipelines or add pipeline_cache_dir = D:\larp-pipelines in data\7952987A\settings.ini.
  • Faster first compilation on Windows: Optionally run 2b-Optional-Defender-Exclusion-RunAsAdmin.bat (included in Windows zips) to exclude cache\pipelines from real-time antivirus scans.
  • Deleting Larp\cache never touches your saves — saves always live in Larp\data\.

4. Migrating Game Saves (Darner / VIctory / FoxHound ↔ Larp)

Saves are 100% compatible across Darner, VIctory, FoxHound, and Larp because they all use the same Xbox save container format — as long as you copy BOTH saves and storage into the exact folder level:

  1. Close the game completely.
  2. Open your source save directory:
    • Darner: %LOCALAPPDATA%\darner\data\7952987A\
    • VIctory / FoxHound: %LOCALAPPDATA%\victory\data\7952987A\
  3. Copy both the saves folder and the storage folder.
  4. Paste them directly into Larp\data\7952987A\ so the final paths are:
    • Larp\data\7952987A\saves\
    • Larp\data\7952987A\storage\

Important

If you only copy saves without storage, or accidentally create an extra nested folder (Larp\data\7952987A\7952987A\saves), the game will treat the profile as empty, start from scratch, and overwrite it! Always keep a backup copy first.


5. Using larp Inside AmericasLauncher (Optional)

Larp does not require an external launcher, but if you want to build and launch this fork from AmericasLauncher (credit to u/xI_AM_AFRICAx):

  1. Close AmericasLauncher.
  2. Open <AmericasLauncher>\Data\runners.json in Notepad.
  3. Add a comma , after the last } entry before the closing ], and add:
    {
      "id": "larp",
      "name": "Larp (Enhanced)",
      "gitUrl": "https://github.com/gamingwithhomie/larp.git",
      "dependencies": [
        { "name": "Git", "wingetId": "Git.Git", "check": "command:git" },
        { "name": "Visual Studio Build Tools (C++)", "wingetId": "Microsoft.VisualStudio.2022.BuildTools", "check": "vsbuildtools" },
        { "name": "Rust (rustup)", "wingetId": "Rustlang.Rustup", "check": "command:rustup" }
      ],
      "buildCommands": [
        "cargo build --release -p larp"
      ],
      "exe": "target\\release\\larp.exe",
      "launchArgs": "run \"{gameExe}\" --execute",
      "notes": "Community Enhanced Larp fork.",
      "recommended": {}
    }
    
  4. Note that when launching outside Larp\bin\, you must also point LARP_SHADER_REPLACE, LARP_DLSS_PATH, and LARP_FSR_PATH to the folders from the Larp runtime package.