docs(build): list the runtime files a source build needs beside larp.exe #584
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!584
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-584"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@eipastel on GitHub · 2026-12-06 03:15 UTC · original
eipastel:docs/build-from-source-runtime-files→main· +15 −1 · 2 files · 1 commits · openFixes #583.
"Building from Source" in
README.mdnow says whattarget\release\larp.exeneeds to run straight from the build:D3D12\besidelarp.exe(nugetMicrosoft.Direct3D.D3D121.620.2), and what larp does without them;LARP_SHADER_REPLACEpointing attarget\shader-replace, since the exe does not look there by itself andshaders\replaceholds sources that are all refused;LARP_UPSCALER=dlss,LARP_DLSS_PATH) on NVIDIA, since without an upscaler the Series S scene is black (#81);SDL3.dllfor DualShock 4 / DualSense.docs/environment-variables.md: theLARP_SHADER_REPLACErow names the folder to use from a source build.Related: #586 makes
target elease\larp.exefindtarget\shader-replaceby itself. If it merges first, theLARP_SHADER_REPLACEstep here is only needed for other layouts; I'll update this PR to match.Root cause
The section stopped at "copy
larp.exeintoLarp\bin\", which only works with the release package's folder around it.How it was checked
Each statement is from a run of
main459db13on this machine (RTX 5060, driver 621.01, Windows 11 build 26300),--console series-s:D3D12\beside the exe:D3D12 runtime: asking Windows for SDK version 616 (no D3D12\D3D12Core.dll beside larp.exe),D3D12 device made,buffer views by byte offset ... device15=false. I only ran it for 120 s (to the menu), so the docs do not claim a crash.LARP_SHADER_REPLACEunset, exe intarget\release:Error: no replacement shaders: none of these folders exists: ...\target\release\shader-replace, ...\shader-replace.LARP_SHADER_REPLACE=...\shaders\replace:usable=0 ... refused=157;...\target\shader-replace:usable=85 ... refused=0.LARP_UPSCALER=dlss+LARP_DLSS_PATH: black window vs picture (numbers in #81).SDL3.dll: the log linehost pads: from XInput, which sees no DualShock 4 or DualSense: SDL3.dll not loaded from ....Docs only: no
cargo fmt/clippy/testrun for this PR.Written with AI assistance (Claude Code).
@eipastel on GitHub · 2026-12-06 03:22 UTC · original
Note: #586 makes
target\release\larp.exefindtarget\shader-replaceby itself. If it is merged first, theLARP_SHADER_REPLACEbullet here can be shortened to "only needed for another folder; nevershaders\replace"; I can update this PR either way.Written with AI assistance (Claude Code).
@wagney on GitHub · 2026-12-06 03:37 UTC · original · reviewed
Reviewed the doc updates in \README.md\ and \docs/environment-variables.md. All paths and environment variables (\D3D12\D3D12Core.dll, \ arget\shader-replace, \LARP_SHADER_REPLACE, \LARP_UPSCALER=dlss, \LARP_DLSS_PATH, \SDL3.dll) match what the runtime expects when running directly from \ arget\release\larp.exe. Very helpful addition for people building from source.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.