larp: Install failed (see the log) #154

Closed
opened 2026-12-05 19:54:52 +00:00 by github-bot · 2 comments
Owner

@⁠tojawojtek07 on GitHub · 2026-12-05 19:51 UTC · original

What happened

Launcher

  • VILauncher 2.2.1
  • System: Windows
  • CPU: 13th Gen Intel(R) Core(TM) i5-13400F
  • GPU: NVIDIA GeForce RTX 3060
  • Memory: 16 GB

Project

  • larp (gamingwithhomie/larp)
  • Last stage: Install failed (see the log)

Log (last 12 of 115 lines)

      float3 r1 = asfloat(matrix.Load3(min(mb + 16u, MAX_BYTE)));
                          ^
  <private>\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:199:25: error: cannot refer to class template 'matrix' without a template argument list
      float3 r2 = asfloat(matrix.Load3(min(mb + 32u, MAX_BYTE)));
                          ^
  <private>\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:200:25: error: cannot refer to class template 'matrix' without a template argument list
      float4 r3 = asfloat(matrix.Load4(min(mb + 48u, MAX_BYTE)));
                          ^


  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ERROR: "C:\\Users\\<private>\\.cargo\\bin\\cargo.exe" ended with exit code: 101

== Downloading the new version
From https://github.com/gamingwithhomie/larp

  • branch HEAD -> FETCH_HEAD
    HEAD is now at f209756 Merge pull request #115
    == Building (the first time takes several minutes)
    Compiling larp v0.1.0 (C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp)
    warning: unused import: stop_rumble
    --> crates\larp-hle\src\modules\gameinput\playstation.rs:792:48
    |
    792 | pub(super) use host::{hid_paths, pads, rumble, stop_rumble};
    | ^^^^^^^^^^^
    |
    = note: #[warn(unused_imports)] (part of #[warn(unused)]) on by default

warning: unreachable pattern
--> crates\larp-hle\src\settings.rs:325:9
|
324 | Target::Language | Target::Field { .. } | Target::OutputSize { .. } => String::new(),
| ---------------- matches all the relevant values
325 | Target::Language | Target::FirstPerson | Target::Field { .. } | Target::OutputSize { .. } => String::new(),
| ^^^^^^^^^^^^^^^^ no value can reach this
|
= note: #[warn(unreachable_patterns)] (part of #[warn(unused)]) on by default

warning: unreachable pattern
--> crates\larp-hle\src\settings.rs:325:50
|
324 | Target::Language | Target::Field { .. } | Target::OutputSize { .. } => String::new(),
| -------------------- matches all the relevant values
325 | Target::Language | Target::FirstPerson | Target::Field { .. } | Target::OutputSize { .. } => String::new(),
| ^^^^^^^^^^^^^^^^^^^^ no value can reach this

warning: unreachable pattern
--> crates\larp-hle\src\settings.rs:325:73
|
324 | Target::Language | Target::Field { .. } | Target::OutputSize { .. } => String::new(),
| ------------------------- matches all the relevant values
325 | Target::Language | Target::FirstPerson | Target::Field { .. } | Target::OutputSize { .. } => String::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this

warning: function slots is never used
--> crates\larp-hle\src\modules\gameinput\playstation.rs:841:15
|
841 | pub(super) fn slots(
| ^^^^^
|
= note: #[warn(dead_code)] (part of #[warn(unused)]) on by default

warning: function stop_rumble is never used
--> crates\larp-hle\src\modules\gameinput\playstation.rs:978:29
|
978 | pub(in super::super) fn stop_rumble() -> bool {
| ^^^^^^^^^^^

warning: larp-hle (lib) generated 6 warnings (run cargo fix --lib -p larp-hle to apply 1 suggestion)
error: failed to run custom build command for larp v0.1.0 (C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp)

Caused by:
process didn't exit successfully: C:\Users\LOQ\AppData\Local\VILauncher\target\gamingwithhomie_larp\release\build\larp-c32a28e75c160cb1\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rustc-link-arg-bins=/EXPORT:D3D12SDKVersion,DATA
cargo:rustc-link-arg-bins=/EXPORT:D3D12SDKPath,DATA
cargo:rustc-link-arg-bins=/DELAYLOAD:winmm.dll
cargo:rustc-link-arg-bins=delayimp.lib
cargo:rerun-if-changed=C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders
cargo:rerun-if-changed=C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\target\shader-replace
cargo:rerun-if-env-changed=DXC

--- stderr

thread 'main' (131580) panicked at apps\larp\build.rs:160:5:
replacement shaders:
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:191:23: error: template specialization requires 'template<>'
ByteAddressBuffer matrix = ResourceDescriptorHeap[cbv_slot(me)];
^~~~~~
template<>
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:191:23: error: no variable template matches specialization
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:193:25: error: cannot refer to class template 'matrix' without a template argument list
float3 r0 = asfloat(matrix.Load3(min(mb, MAX_BYTE))); // 0xd8
^
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:194:25: error: cannot refer to class template 'matrix' without a template argument list
float3 r1 = asfloat(matrix.Load3(min(mb + 16u, MAX_BYTE)));
^
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:195:25: error: cannot refer to class template 'matrix' without a template argument list
float3 r2 = asfloat(matrix.Load3(min(mb + 32u, MAX_BYTE)));
^
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\d3c330847c597f3c.compute.hlsl:196:25: error: cannot refer to class template 'matrix' without a template argument list
float4 r3 = asfloat(matrix.Load4(min(mb + 48u, MAX_BYTE)));
^

C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:195:23: error: template specialization requires 'template<>'
ByteAddressBuffer matrix = ResourceDescriptorHeap[cbv_slot(me)];
^~~~~~
template<>
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:195:23: error: no variable template matches specialization
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:197:25: error: cannot refer to class template 'matrix' without a template argument list
float3 r0 = asfloat(matrix.Load3(min(mb, MAX_BYTE))); // 0xd8
^
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:198:25: error: cannot refer to class template 'matrix' without a template argument list
float3 r1 = asfloat(matrix.Load3(min(mb + 16u, MAX_BYTE)));
^
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:199:25: error: cannot refer to class template 'matrix' without a template argument list
float3 r2 = asfloat(matrix.Load3(min(mb + 32u, MAX_BYTE)));
^
C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp....\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:200:25: error: cannot refer to class template 'matrix' without a template argument list
float4 r3 = asfloat(matrix.Load4(min(mb + 48u, MAX_BYTE)));
^

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
ERROR: "C:\Users\LOQ\.cargo\bin\cargo.exe" ended with exit code: 101

**@⁠tojawojtek07** on GitHub · 2026-12-05 19:51 UTC · [original](https://github.com/gamingwithhomie/larp/issues/154) ## What happened <!-- What did you do, and what did you expect? --> ## Launcher - VILauncher 2.2.1 - System: Windows - CPU: 13th Gen Intel(R) Core(TM) i5-13400F - GPU: NVIDIA GeForce RTX 3060 - Memory: 16 GB ## Project - larp (`gamingwithhomie/larp`) - Last stage: Install failed (see the log) ## Log (last 12 of 115 lines) ```text float3 r1 = asfloat(matrix.Load3(min(mb + 16u, MAX_BYTE))); ^ <private>\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:199:25: error: cannot refer to class template 'matrix' without a template argument list float3 r2 = asfloat(matrix.Load3(min(mb + 32u, MAX_BYTE))); ^ <private>\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:200:25: error: cannot refer to class template 'matrix' without a template argument list float4 r3 = asfloat(matrix.Load4(min(mb + 48u, MAX_BYTE))); ^ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR: "C:\\Users\\<private>\\.cargo\\bin\\cargo.exe" ended with exit code: 101 ``` == Downloading the new version From https://github.com/gamingwithhomie/larp * branch HEAD -> FETCH_HEAD HEAD is now at f209756 Merge pull request #115 == Building (the first time takes several minutes) Compiling larp v0.1.0 (C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp) warning: unused import: `stop_rumble` --> crates\larp-hle\src\modules\gameinput\playstation.rs:792:48 | 792 | pub(super) use host::{hid_paths, pads, rumble, stop_rumble}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unreachable pattern --> crates\larp-hle\src\settings.rs:325:9 | 324 | Target::Language | Target::Field { .. } | Target::OutputSize { .. } => String::new(), | ---------------- matches all the relevant values 325 | Target::Language | Target::FirstPerson | Target::Field { .. } | Target::OutputSize { .. } => String::new(), | ^^^^^^^^^^^^^^^^ no value can reach this | = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default warning: unreachable pattern --> crates\larp-hle\src\settings.rs:325:50 | 324 | Target::Language | Target::Field { .. } | Target::OutputSize { .. } => String::new(), | -------------------- matches all the relevant values 325 | Target::Language | Target::FirstPerson | Target::Field { .. } | Target::OutputSize { .. } => String::new(), | ^^^^^^^^^^^^^^^^^^^^ no value can reach this warning: unreachable pattern --> crates\larp-hle\src\settings.rs:325:73 | 324 | Target::Language | Target::Field { .. } | Target::OutputSize { .. } => String::new(), | ------------------------- matches all the relevant values 325 | Target::Language | Target::FirstPerson | Target::Field { .. } | Target::OutputSize { .. } => String::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this warning: function `slots` is never used --> crates\larp-hle\src\modules\gameinput\playstation.rs:841:15 | 841 | pub(super) fn slots( | ^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: function `stop_rumble` is never used --> crates\larp-hle\src\modules\gameinput\playstation.rs:978:29 | 978 | pub(in super::super) fn stop_rumble() -> bool { | ^^^^^^^^^^^ warning: `larp-hle` (lib) generated 6 warnings (run `cargo fix --lib -p larp-hle` to apply 1 suggestion) error: failed to run custom build command for `larp v0.1.0 (C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp)` Caused by: process didn't exit successfully: `C:\Users\LOQ\AppData\Local\VILauncher\target\gamingwithhomie_larp\release\build\larp-c32a28e75c160cb1\build-script-build` (exit code: 101) --- stdout cargo:rerun-if-changed=build.rs cargo:rustc-link-arg-bins=/EXPORT:D3D12SDKVersion,DATA cargo:rustc-link-arg-bins=/EXPORT:D3D12SDKPath,DATA cargo:rustc-link-arg-bins=/DELAYLOAD:winmm.dll cargo:rustc-link-arg-bins=delayimp.lib cargo:rerun-if-changed=C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders cargo:rerun-if-changed=C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\target\shader-replace cargo:rerun-if-env-changed=DXC --- stderr thread 'main' (131580) panicked at apps\larp\build.rs:160:5: replacement shaders: C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl: C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl:191:23: error: template specialization requires 'template<>' ByteAddressBuffer matrix = ResourceDescriptorHeap[cbv_slot(me)]; ^~~~~~ template<> C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl:191:23: error: no variable template matches specialization C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl:193:25: error: cannot refer to class template 'matrix' without a template argument list float3 r0 = asfloat(matrix.Load3(min(mb, MAX_BYTE))); // 0xd8 ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl:194:25: error: cannot refer to class template 'matrix' without a template argument list float3 r1 = asfloat(matrix.Load3(min(mb + 16u, MAX_BYTE))); ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl:195:25: error: cannot refer to class template 'matrix' without a template argument list float3 r2 = asfloat(matrix.Load3(min(mb + 32u, MAX_BYTE))); ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\d3c330847c597f3c.compute.hlsl:196:25: error: cannot refer to class template 'matrix' without a template argument list float4 r3 = asfloat(matrix.Load4(min(mb + 48u, MAX_BYTE))); ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl: C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:195:23: error: template specialization requires 'template<>' ByteAddressBuffer matrix = ResourceDescriptorHeap[cbv_slot(me)]; ^~~~~~ template<> C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:195:23: error: no variable template matches specialization C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:197:25: error: cannot refer to class template 'matrix' without a template argument list float3 r0 = asfloat(matrix.Load3(min(mb, MAX_BYTE))); // 0xd8 ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:198:25: error: cannot refer to class template 'matrix' without a template argument list float3 r1 = asfloat(matrix.Load3(min(mb + 16u, MAX_BYTE))); ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:199:25: error: cannot refer to class template 'matrix' without a template argument list float3 r2 = asfloat(matrix.Load3(min(mb + 32u, MAX_BYTE))); ^ C:\Users\LOQ\AppData\Local\VILauncher\repos\gamingwithhomie_larp\apps\larp\..\..\shaders\replace\ecbdc68c0c21db6f.compute.hlsl:200:25: error: cannot refer to class template 'matrix' without a template argument list float4 r3 = asfloat(matrix.Load4(min(mb + 48u, MAX_BYTE))); ^ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR: "C:\\Users\\LOQ\\.cargo\\bin\\cargo.exe" ended with exit code: 101
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 19:54:52 +00:00
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 21:01 UTC · original

This is a source build failure (AmericasLauncher/VILauncher compiling from GitHub), not a runtime crash: the replacement shader ecbdc68c0c21db6f.compute.hlsl fails on your DXC with cannot refer to class template 'matrix'. You dont need to build from source - the Releases ship ready-to-run FULL zips (prebuilt larp.exe, no compiler needed): grab larp-v1.1.1-windows-nvidia-FULL.zip (RTX 3060), extract, configure.cmd, series-x/s.cmd. Well track the HLSL/DXC compatibility separately for source builders.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 21:01 UTC · [original](https://github.com/gamingwithhomie/larp/issues/154#issuecomment-7445306170) This is a *source build* failure (AmericasLauncher/VILauncher compiling from GitHub), not a runtime crash: the replacement shader `ecbdc68c0c21db6f.compute.hlsl` fails on your DXC with `cannot refer to class template 'matrix'`. You dont need to build from source - the Releases ship ready-to-run FULL zips (prebuilt `larp.exe`, no compiler needed): grab `larp-v1.1.1-windows-nvidia-FULL.zip` (RTX 3060), extract, `configure.cmd`, `series-x/s.cmd`. Well track the HLSL/DXC compatibility separately for source builders.
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 21:34 UTC · original

Closing as answered: this was an AmericasLauncher/VILauncher source-build DXC failure, not a game crash. You dont need to build from source - the prebuilt FULL zips are on Releases (see also the v1.1.2 note: source builds work again with stock Windows SDK dxc 1.8 after the validator-pin fix).

**@⁠gamingwithhomie** on GitHub · 2026-12-05 21:34 UTC · [original](https://github.com/gamingwithhomie/larp/issues/154#issuecomment-7445788299) Closing as answered: this was an AmericasLauncher/VILauncher **source-build** DXC failure, not a game crash. You dont need to build from source - the prebuilt FULL zips are on Releases (see also the v1.1.2 note: source builds work again with stock Windows SDK dxc 1.8 after the validator-pin fix).
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#154
No description provided.