issue setting it up with latest bash command #47

Open
opened 2026-12-02 15:51:24 +00:00 by sandhu-s · 3 comments
sandhu-s commented 2026-12-02 15:51:24 +00:00 (Migrated from github.com)
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by sandhu-s on 2026-12-02T15:51:24Z.


jv@cachyos-x8664 ~ [0|1]> curl -fsSL https://raw.githubusercontent.com/Slaktarn700/SlaktarnVI/main/install.sh | bash
SlaktarnVI installer: from nothing to PLAY. Steps already done are skipped.
The first time takes 20 to 40 minutes and roughly 1 to 2 GB of downloads (the driver and Proton are built from source).

== Step 1 of 9: this PC
AMD Radeon with 16304 MB, resizable BAR on
Proton Experimental: /mnt/GameDrive/SteamLibrary/steamapps/common/Proton - Experimental

== Step 2 of 9: tools and libraries
all there
rustup: rustup 1.29.3 (edbc831ce 2026-11-02)

== Step 3 of 9: the source
/home/jv/SlaktarnVI, up to date (425e870, 2026-12-02)

== Step 4 of 9: the launcher
PySide6: the system's

== Step 5 of 9: the program (Rust and the build)
== Rust 1.98.1 with the Windows target (rust-toolchain.toml)
info: syncing channel updates for 1.98.1-x86_64-unknown-linux-gnu
info: latest update on 2026-09-03 for version 1.98.1 (48a229cea 2026-09-01)
info: component clippy is up to date
info: component rust-std for target x86_64-pc-windows-msvc is up to date
info: component rustfmt is up to date

1.98.1-x86_64-unknown-linux-gnu unchanged - rustc 1.98.1 (48a229cea 2026-09-01)

info: checking for self-update (current version: 1.29.3)
== cargo-xwin-xwin 0.24.2
cargo-xwin downloads Microsoft's C runtime and Windows SDK, which come under Microsoft's license:
https://go.microsoft.com/fwlink/?LinkId=2086102
Do you accept it? [y/N] y
== the program (release)
Finished release profile [optimized + debuginfo] target(s) in 0.08s
== done: /home/jv/SlaktarnVI/target/x86_64-pc-windows-msvc/release/victory.exe

== Step 6 of 9: Microsoft's shader compiler and AMD FSR
== d3dcompiler_47.dll: there, kept (/home/jv/SlaktarnVI/linux/keep/ms-d3d/d3dcompiler_47.dll)
== dxil.dll: missing
== amd_fidelityfx_upscaler_dx12.dll: missing
== amd_fidelityfx_framegeneration_dx12.dll: missing
== fetching dxc.zip from github.com/microsoft/DirectXShaderCompiler/releases/download/v1.9.2609/dxc_2026_09_29.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 30.79M 100 30.79M 0 0 7.85M 0 00:03 00:03 6.69M
caution: filename not matched: bin/x64/dxil.dll
VALHALLA: no bin/x64/dxil.dll in the DirectX Shader Compiler's zip
jv@cachyos-x8664 ~ [0|1]>

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:issue:6748897113 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/47). Originally posted by [sandhu-s](https://github.com/sandhu-s) on 2026-12-02T15:51:24Z. --- jv@cachyos-x8664 ~ [0|1]> curl -fsSL https://raw.githubusercontent.com/Slaktarn700/SlaktarnVI/main/install.sh | bash SlaktarnVI installer: from nothing to PLAY. Steps already done are skipped. The first time takes 20 to 40 minutes and roughly 1 to 2 GB of downloads (the driver and Proton are built from source). == Step 1 of 9: this PC AMD Radeon with 16304 MB, resizable BAR on Proton Experimental: /mnt/GameDrive/SteamLibrary/steamapps/common/Proton - Experimental == Step 2 of 9: tools and libraries all there rustup: rustup 1.29.3 (edbc831ce 2026-11-02) == Step 3 of 9: the source /home/jv/SlaktarnVI, up to date (425e870, 2026-12-02) == Step 4 of 9: the launcher PySide6: the system's == Step 5 of 9: the program (Rust and the build) == Rust 1.98.1 with the Windows target (rust-toolchain.toml) info: syncing channel updates for 1.98.1-x86_64-unknown-linux-gnu info: latest update on 2026-09-03 for version 1.98.1 (48a229cea 2026-09-01) info: component clippy is up to date info: component rust-std for target x86_64-pc-windows-msvc is up to date info: component rustfmt is up to date 1.98.1-x86_64-unknown-linux-gnu unchanged - rustc 1.98.1 (48a229cea 2026-09-01) info: checking for self-update (current version: 1.29.3) == cargo-xwin-xwin 0.24.2 cargo-xwin downloads Microsoft's C runtime and Windows SDK, which come under Microsoft's license: https://go.microsoft.com/fwlink/?LinkId=2086102 Do you accept it? [y/N] y == the program (release) Finished `release` profile [optimized + debuginfo] target(s) in 0.08s == done: /home/jv/SlaktarnVI/target/x86_64-pc-windows-msvc/release/victory.exe == Step 6 of 9: Microsoft's shader compiler and AMD FSR == d3dcompiler_47.dll: there, kept (/home/jv/SlaktarnVI/linux/keep/ms-d3d/d3dcompiler_47.dll) == dxil.dll: missing == amd_fidelityfx_upscaler_dx12.dll: missing == amd_fidelityfx_framegeneration_dx12.dll: missing == fetching dxc.zip from github.com/microsoft/DirectXShaderCompiler/releases/download/v1.9.2609/dxc_2026_09_29.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 30.79M 100 30.79M 0 0 7.85M 0 00:03 00:03 6.69M caution: filename not matched: bin/x64/dxil.dll VALHALLA: no bin/x64/dxil.dll in the DirectX Shader Compiler's zip jv@cachyos-x8664 ~ [0|1]>
sandhu-s commented 2026-12-02 15:55:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by sandhu-s on 2026-12-02T15:55:06Z.


yo @Slaktarn700
even manualy adding dll's still same error

mayeb use this link instead of windows one
https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.9.2609/linux_dxc_2026_09_28.x86_x64.tar.gz

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7351143818 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/47#issuecomment-7351143818). Originally posted by [sandhu-s](https://github.com/sandhu-s) on 2026-12-02T15:55:06Z. --- yo @Slaktarn700 even manualy adding dll's still same error mayeb use this link instead of windows one https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.9.2609/linux_dxc_2026_09_28.x86_x64.tar.gz
sandhu-s commented 2026-12-03 07:47:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by sandhu-s on 2026-12-03T07:47:37Z.


cachyos and fish terminal if that helps

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7371435149 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/47#issuecomment-7371435149). Originally posted by [sandhu-s](https://github.com/sandhu-s) on 2026-12-03T07:47:37Z. --- cachyos and fish terminal if that helps
fasjgkgjalksjkgau commented 2026-12-03 16:18:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by fasjgkgjalksjkgau on 2026-12-03T16:18:40Z.


fixed with this:

diff --git a/linux/setup-dlls.sh b/linux/setup-dlls.sh
index 75973ab..1286943 100755
--- a/linux/setup-dlls.sh
+++ b/linux/setup-dlls.sh
@@ -103,7 +103,7 @@ if (( do_d3d )); then fetch "$D3DCOMPILER_URL" "$D3DCOMPILER_SUM" "$MS/d3dcompil
 if (( do_dxil )); then
     fetch "$DXC_URL" "$DXC_SUM" "$WORK/dxc.zip"
     rm -rf "$WORK/dxc"
-    unzip -q -o -j "$WORK/dxc.zip" 'bin/x64/dxil.dll' -d "$WORK/dxc" || fail "no bin/x64/dxil.dll in the DirectX Shader Compiler's zip"
+    unzip -q -o -j "$WORK/dxc.zip" 'bin?x64?dxil.dll' -d "$WORK/dxc" || (( $? == 1 )) || fail "no bin/x64/dxil.dll in the DirectX Shader Compiler's zip"
     mv -f "$WORK/dxc/dxil.dll" "$MS/dxil.dll"
     rm -rf "$WORK/dxc" "$WORK/dxc.zip"
 fi

the problem was that this is a windows zip, so it comes with files listed with reverse slashes, so it failed to find bin/x64/dxil.dll, because it's listed as bin\x64\dxil.dll. putting "?" instead would make it work for both normal and reverse slashes, and also need to add a check so it doesn't stop the script from the warning about reverse slashes.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7384624061 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/47#issuecomment-7384624061). Originally posted by [fasjgkgjalksjkgau](https://github.com/fasjgkgjalksjkgau) on 2026-12-03T16:18:40Z. --- fixed with this: ```diff diff --git a/linux/setup-dlls.sh b/linux/setup-dlls.sh index 75973ab..1286943 100755 --- a/linux/setup-dlls.sh +++ b/linux/setup-dlls.sh @@ -103,7 +103,7 @@ if (( do_d3d )); then fetch "$D3DCOMPILER_URL" "$D3DCOMPILER_SUM" "$MS/d3dcompil if (( do_dxil )); then fetch "$DXC_URL" "$DXC_SUM" "$WORK/dxc.zip" rm -rf "$WORK/dxc" - unzip -q -o -j "$WORK/dxc.zip" 'bin/x64/dxil.dll' -d "$WORK/dxc" || fail "no bin/x64/dxil.dll in the DirectX Shader Compiler's zip" + unzip -q -o -j "$WORK/dxc.zip" 'bin?x64?dxil.dll' -d "$WORK/dxc" || (( $? == 1 )) || fail "no bin/x64/dxil.dll in the DirectX Shader Compiler's zip" mv -f "$WORK/dxc/dxil.dll" "$MS/dxil.dll" rm -rf "$WORK/dxc" "$WORK/dxc.zip" fi ``` the problem was that this is a windows zip, so it comes with files listed with reverse slashes, so it failed to find bin/x64/dxil.dll, because it's listed as bin\x64\dxil.dll. putting "?" instead would make it work for both normal and reverse slashes, and also need to add a check so it doesn't stop the script from the warning about reverse slashes.
Sign in to join this conversation.
No labels
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.

Reference
Slaktarn700/SlaktarnVI#47
No description provided.