docs: building from source does not say which runtime files target\release\larp.exe needs #583

Open
opened 2026-12-06 03:17:35 +00:00 by github-bot · 0 comments
Owner

@⁠eipastel on GitHub · 2026-12-06 03:15 UTC · original

README.md "Building from Source" ends at cargo build --release -p larp and "copy larp.exe into Larp\bin\". Running target\release\larp.exe straight from a source build needs more, and none of it is written down there:

  • Replacement shaders. The build compiles shaders\replace\*.hlsl into target\shader-replace\, but target\release\larp.exe looks for target\release\shader-replace and <repo>\shader-replace only, so with LARP_SHADER_REPLACE unset it stops:
    Error: no replacement shaders: none of these folders exists: ...\target\release\shader-replace, ...\shader-replace (LARP_SHADER_REPLACE=<folder> names another)
    
    Pointing LARP_SHADER_REPLACE at shaders\replace (the sources) refuses every file: shader replacements: folder read folder=...\shaders\replace usable=0 with_structure_views=0 with_interface=0 refused=157. target\shader-replace gives usable=85 ... refused=0.
  • Agility SDK. Without D3D12\D3D12Core.dll beside larp.exe, larp falls back to Windows' runtime (D3D12 runtime: asking Windows for SDK version 616 (no D3D12\D3D12Core.dll beside larp.exe)) and byte-offset buffer views are off (device15=false).
  • Upscaler on NVIDIA, Series S. With no DLSS/FSR folder the title's own FSR 4 path runs and the 3D scene is black (#81); LARP_UPSCALER=dlss + LARP_DLSS_PATH gives a picture.

Seen on main 459db13, Windows 11 build 26300, RTX 5060, driver 621.01.

Written with AI assistance (Claude Code).

**@⁠eipastel** on GitHub · 2026-12-06 03:15 UTC · [original](https://github.com/gamingwithhomie/larp/issues/583) `README.md` "Building from Source" ends at `cargo build --release -p larp` and "copy `larp.exe` into `Larp\bin\`". Running `target\release\larp.exe` straight from a source build needs more, and none of it is written down there: - **Replacement shaders.** The build compiles `shaders\replace\*.hlsl` into `target\shader-replace\`, but `target\release\larp.exe` looks for `target\release\shader-replace` and `<repo>\shader-replace` only, so with `LARP_SHADER_REPLACE` unset it stops: ``` Error: no replacement shaders: none of these folders exists: ...\target\release\shader-replace, ...\shader-replace (LARP_SHADER_REPLACE=<folder> names another) ``` Pointing `LARP_SHADER_REPLACE` at `shaders\replace` (the sources) refuses every file: `shader replacements: folder read folder=...\shaders\replace usable=0 with_structure_views=0 with_interface=0 refused=157`. `target\shader-replace` gives `usable=85 ... refused=0`. - **Agility SDK.** Without `D3D12\D3D12Core.dll` beside `larp.exe`, larp falls back to Windows' runtime (`D3D12 runtime: asking Windows for SDK version 616 (no D3D12\D3D12Core.dll beside larp.exe)`) and byte-offset buffer views are off (`device15=false`). - **Upscaler on NVIDIA, Series S.** With no DLSS/FSR folder the title's own FSR 4 path runs and the 3D scene is black (#81); `LARP_UPSCALER=dlss` + `LARP_DLSS_PATH` gives a picture. Seen on `main` 459db13, Windows 11 build 26300, RTX 5060, driver 621.01. Written with AI assistance (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 03:17:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#583
No description provided.