From fcf80eb7a7317815cd15f92710c08e676547d89c Mon Sep 17 00:00:00 2001 From: John Reed <44419093+JohnReedV@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:25:15 -0800 Subject: [PATCH 1/5] docs: claim U-7 Linux Proton launch path --- TODO.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TODO.md b/TODO.md index 952d23588..d0b6beded 100644 --- a/TODO.md +++ b/TODO.md @@ -65,6 +65,7 @@ The goal: a console-like experience on PC. The game starts straight into play, h | U-1 | One step from download to playing: build, warm the cache (P-7) and run, with no terminal knowledge needed. | `run-gta6.ps1` | - | | U-2 | Fullscreen and borderless window, and a choice of output resolution. | `leonida-gpu` | GPU | | U-4 | Pad first: after launch, the game is playable without touching the keyboard. | `leonida-hle` (input) | game | +| U-7 | Provide a tested Linux/Proton launch path, including a working audio socket for Steam Flatpak. | Linux launcher, README | game, GPU | ## Code health From 218c339df699c92ad30bf8a262e854b74788ec66 Mon Sep 17 00:00:00 2001 From: John Reed <44419093+JohnReedV@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:38:25 -0800 Subject: [PATCH 2/5] feat: add Linux Proton launch helper --- README.md | 47 ++++++++++ TODO.md | 1 - run-gta6-linux.sh | 221 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 268 insertions(+), 1 deletion(-) create mode 100755 run-gta6-linux.sh diff --git a/README.md b/README.md index 583c14df5..a451a56ae 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,53 @@ powershell -ExecutionPolicy Bypass -File .\run-gta6.ps1 everything the game prints to `%LOCALAPPDATA%\leonida\logs`. `-SpeedSwitches off` runs it without the frame-rate switches or your graphics overrides, for a comparison in the same place. +### Experimental Linux launch with Steam Flatpak and Proton + +Leonida still builds as a Windows executable; Proton runs it on Linux. This path reached the account +picker on Pop!_OS 22.04 with Proton 11.0, an RTX 5090 and NVIDIA 580.173.02. Gameplay on +Linux has not been validated. You need the Steam Flatpak with Proton installed, a working +PulseAudio-compatible desktop socket, and an x64 `d3dcompiler_47.dll` from a Windows SDK +installation. [The Windows SDK includes this DLL][sdk-d3dcompiler]. + +Build the Windows executable on Linux with [cargo-xwin][cargo-xwin], or use a Windows release +build you made yourself. Follow cargo-xwin's setup instructions for Clang/LLVM, then run in this +repository: + +```sh +rustup target add x86_64-pc-windows-msvc +cargo install cargo-xwin --locked +cargo xwin build --release --locked --target x86_64-pc-windows-msvc -p leonida +``` + +Put the game executable named by `MicrosoftGame.config` beside that manifest and the rest of your +game files. Then run: + +```sh +./run-gta6-linux.sh \ + --game-dir "$HOME/Games/GTA6" \ + --proton "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Proton 11.0" \ + --compiler "$HOME/WindowsSDK/x64/d3dcompiler_47.dll" +``` + +Replace those three paths with yours. `--exe` selects another Leonida Windows executable. The +launcher reads the repository's `leonida.toml` if present; `--config` selects another settings +file. It also reads `gpu-profiles.local.json` beside that file. It creates a dedicated Wine prefix +with Proton's DXVK/vkd3d graphics DLLs and your compiler DLL. The prefix, shader cache and saves +stay under `~/.local/share/leonida/proton` (or `$XDG_DATA_HOME/leonida/proton`). `--state-dir` +chooses another location outside the repository. For symlinks to files in another directory, +pass `--read-only-dir` for each target directory. `--bind-only` checks imports without starting +the title. + +The script grants [Flatpak's PulseAudio socket][flatpak-sockets] and checks for its presence inside +Steam's sandbox before starting the game. If the check fails, restore your desktop's +PulseAudio-compatible audio service and Steam's audio permission. The title stays offline. This +launcher is for compatibility, **not malware isolation**: Steam's app data can still be visible +to Wine. Only run game files you trust. + +[sdk-d3dcompiler]: https://learn.microsoft.com/en-us/windows/desktop/directx-sdk--august-2009- +[cargo-xwin]: https://github.com/rust-cross/cargo-xwin +[flatpak-sockets]: https://docs.flatpak.org/en/latest/flatpak-command-reference.html + ### Graphics settings The measured base profile is automatic. Experimental profiles such as `card-windows` remain opt-in. diff --git a/TODO.md b/TODO.md index d0b6beded..952d23588 100644 --- a/TODO.md +++ b/TODO.md @@ -65,7 +65,6 @@ The goal: a console-like experience on PC. The game starts straight into play, h | U-1 | One step from download to playing: build, warm the cache (P-7) and run, with no terminal knowledge needed. | `run-gta6.ps1` | - | | U-2 | Fullscreen and borderless window, and a choice of output resolution. | `leonida-gpu` | GPU | | U-4 | Pad first: after launch, the game is playable without touching the keyboard. | `leonida-hle` (input) | game | -| U-7 | Provide a tested Linux/Proton launch path, including a working audio socket for Steam Flatpak. | Linux launcher, README | game, GPU | ## Code health diff --git a/run-gta6-linux.sh b/run-gta6-linux.sh new file mode 100755 index 000000000..5f1df15fd --- /dev/null +++ b/run-gta6-linux.sh @@ -0,0 +1,221 @@ +#!/usr/bin/env bash +# Run a Windows Leonida build through Proton's Wine inside the Steam Flatpak. +# The game, Windows SDK DLL, Proton installation and derived data stay outside +# this repository. This is a compatibility launcher, not malware isolation. +set -euo pipefail +umask 077 + +usage() { + cat <<'EOF' +Usage: ./run-gta6-linux.sh --game-dir DIR --proton DIR --compiler DLL [options] + +Required: + --game-dir DIR Your game folder (with MicrosoftGame.config and its exe) + --proton DIR Installed Steam Flatpak Proton directory + --compiler DLL Native x64 d3dcompiler_47.dll from your Windows SDK + +Options: + --exe EXE Windows Leonida build (default: target/.../leonida.exe) + --config FILE Leonida settings (default: ./leonida.toml if present) + --state-dir DIR Prefix, cache and saves (default: ~/.local/share/leonida/proton) + --read-only-dir DIR Also expose a symlink target inside Steam Flatpak (repeatable) + --bind-only Bind imports without starting the title + --help Show this help + +The launcher requires Flatpak Steam and a working PulseAudio-compatible socket. +It keeps the title offline, but it does not isolate untrusted executables from +Steam's app data. Use only game files you trust. +EOF +} + +fail() { + printf 'Leonida Linux launcher: %s\n' "$*" >&2 + exit 2 +} + +require_dir() { + [[ -d "$2" ]] || fail "$1 is not a directory: $2" + realpath -e -- "$2" +} + +require_file() { + [[ -f "$2" ]] || fail "$1 is not a file: $2" + realpath -e -- "$2" +} + +require_outside_source() { + local ancestor=$1 + while :; do + [[ ! -f "$ancestor/.leonida-root" ]] || + fail "$2 must be outside every Leonida source tree: $1" + [[ "$ancestor" != / ]] || break + ancestor=$(dirname -- "$ancestor") + done +} + +script_dir=$(dirname -- "$(realpath -e -- "$0")") +game_dir='' +proton_dir='' +compiler='' +exe="$script_dir/target/x86_64-pc-windows-msvc/release/leonida.exe" +config='' +[[ ! -f "$script_dir/leonida.toml" ]] || config="$script_dir/leonida.toml" +state_dir="${XDG_DATA_HOME:-$HOME/.local/share}/leonida/proton" +read_only_dirs=() +bind_only=false + +while (($#)); do + case "$1" in + --game-dir|--proton|--compiler|--exe|--config|--state-dir|--read-only-dir) + (($# >= 2)) || fail "$1 needs a path" + case "$1" in + --game-dir) game_dir=$2 ;; + --proton) proton_dir=$2 ;; + --compiler) compiler=$2 ;; + --exe) exe=$2 ;; + --config) config=$2 ;; + --state-dir) state_dir=$2 ;; + --read-only-dir) read_only_dirs+=("$2") ;; + esac + shift 2 + ;; + --bind-only) bind_only=true; shift ;; + --help|-h) usage; exit 0 ;; + *) fail "unknown option: $1 (see --help)" ;; + esac +done + +[[ -n "$game_dir" && -n "$proton_dir" && -n "$compiler" ]] || { + usage >&2 + fail 'game folder, Proton directory and native compiler DLL are required' +} +for command in flatpak realpath flock install; do + command -v "$command" >/dev/null || fail "$command is required" +done +flatpak info com.valvesoftware.Steam >/dev/null 2>&1 || + fail 'install the Steam Flatpak (com.valvesoftware.Steam) first' + +game_dir=$(require_dir 'game folder' "$game_dir") +proton_dir=$(require_dir 'Proton directory' "$proton_dir") +compiler=$(require_file 'native compiler DLL' "$compiler") +exe=$(require_file 'Leonida executable' "$exe") +require_outside_source "$game_dir" 'game folder' +require_outside_source "$proton_dir" 'Proton directory' +require_outside_source "$compiler" 'native compiler DLL' +manifest_found=false +for manifest in "$game_dir"/*; do + name=${manifest##*/} + if [[ -f "$manifest" && "${name,,}" == microsoftgame.config ]]; then + manifest_found=true + break + fi +done +"$manifest_found" || + fail "no MicrosoftGame.config in game folder: $game_dir" + +wine=$(require_file 'Proton Wine' "$proton_dir/files/bin/wine") +dxgi=$(require_file 'Proton DXVK DXGI' \ + "$proton_dir/files/lib/wine/dxvk/x86_64-windows/dxgi.dll") +d3d12=$(require_file 'Proton vkd3d D3D12' \ + "$proton_dir/files/lib/wine/vkd3d-proton/x86_64-windows/d3d12.dll") +d3d12core=$(require_file 'Proton vkd3d D3D12Core' \ + "$proton_dir/files/lib/wine/vkd3d-proton/x86_64-windows/d3d12core.dll") +if [[ -n "$config" ]]; then + config=$(require_file 'Leonida config' "$config") +fi + +state_dir=$(realpath -m -- "$state_dir") +require_outside_source "$state_dir" 'state directory' +case "$state_dir/" in + "$game_dir/"*) fail 'state directory must be separate from the game folder' ;; +esac +case "$game_dir/" in + "$state_dir/"*) fail 'state directory must be separate from the game folder' ;; +esac +mkdir -p -- "$state_dir" +state_dir=$(require_dir 'state directory' "$state_dir") +for path in "$game_dir" "$proton_dir" "$compiler" "$exe" "$config" "$state_dir"; do + [[ "$path" != *:* ]] || fail "colon in path is unsupported by Flatpak/Wine: $path" +done + +for subdir in prefix cache data gpu-cache gpu-logs; do + [[ ! -L "$state_dir/$subdir" ]] || fail "$subdir directory must not be a symlink" +done +mkdir -p -- "$state_dir/prefix" "$state_dir/cache" "$state_dir/data" \ + "$state_dir/gpu-cache" "$state_dir/gpu-logs" +[[ ! -L "$state_dir/prefix" ]] || fail 'Wine prefix must not be a symlink' +exec 9>"$state_dir/.launch.lock" +flock -n 9 || fail "another run is using $state_dir" + +flatpak_args=( + --unshare=network + --socket=pulseaudio + --nofilesystem=home + --nofilesystem=host + "--filesystem=$game_dir:ro" + "--filesystem=$(dirname -- "$exe"):ro" + "--filesystem=$proton_dir:ro" + "--filesystem=$state_dir" + "--env=WINEPREFIX=$state_dir/prefix" + --env=WINEARCH=win64 + "--env=DXVK_LOG_PATH=$state_dir/gpu-logs" + "--env=DXVK_STATE_CACHE_PATH=$state_dir/gpu-cache" + "--env=VKD3D_SHADER_CACHE_PATH=$state_dir/gpu-cache" +) +config_args=() +if [[ -n "$config" ]]; then + flatpak_args+=("--filesystem=$config:ro") + config_args+=("--env=LEONIDA_CONFIG=Z:$config") + local_profiles=$(dirname -- "$config")/gpu-profiles.local.json + if [[ -f "$local_profiles" ]]; then + local_profiles=$(require_file 'local graphics profiles' "$local_profiles") + flatpak_args+=("--filesystem=$local_profiles:ro") + fi +fi +for path in "${read_only_dirs[@]}"; do + path=$(require_dir 'additional read-only directory' "$path") + require_outside_source "$path" 'additional read-only directory' + [[ "$path" != *:* ]] || fail "colon in path is unsupported by Flatpak: $path" + flatpak_args+=("--filesystem=$path:ro") +done + +# Wine's endpoint APIs can succeed even when Steam's host audio socket is +# absent. Check the socket from inside the actual Flatpak before title launch. +flatpak run "${flatpak_args[@]}" --command=sh com.valvesoftware.Steam -c ' + if ! test -S "$XDG_RUNTIME_DIR/pulse/native"; then + echo "No PulseAudio-compatible socket inside Steam Flatpak; enable host audio." >&2 + exit 2 + fi +' || fail 'could not confirm an audio socket inside Steam Flatpak; check the error above' + +# Directly invoking Proton Wine creates a prefix with Wine built-in graphics +# DLLs. Replace those in this dedicated prefix with Proton's DXVK/vkd3d DLLs +# and the user's native compiler, then force native resolution for this run. +flatpak run "${flatpak_args[@]}" \ + --env=WINEDLLOVERRIDES=winemenubuilder.exe=d \ + --command="$wine" com.valvesoftware.Steam cmd /c exit 0 +system32="$state_dir/prefix/drive_c/windows/system32" +[[ -d "$system32" && ! -L "$system32" ]] || + fail "Wine did not create a normal system32 directory in $state_dir/prefix" +for spec in "$dxgi:dxgi.dll" "$d3d12:d3d12.dll" \ + "$d3d12core:d3d12core.dll" "$compiler:d3dcompiler_47.dll"; do + source=${spec%:*} + name=${spec##*:} + install -m 0644 -- "$source" "$system32/$name.new.$$" + mv -f -- "$system32/$name.new.$$" "$system32/$name" +done + +run_args=(run) +if ! "$bind_only"; then + run_args+=(--execute) +fi +cd -- "$game_dir" +unset LEONIDA_CONFIG +flatpak run "${flatpak_args[@]}" \ + "${config_args[@]}" \ + --env='WINEDLLOVERRIDES=winemenubuilder.exe=d;dxgi,d3d12,d3d12core,d3dcompiler_47=n' \ + "--env=LEONIDA_GAME_DIR=Z:$game_dir" \ + "--env=LEONIDA_CACHE_DIR=Z:$state_dir/cache" \ + "--env=LEONIDA_DATA_DIR=Z:$state_dir/data" \ + "--env=LEONIDA_LOG=${LEONIDA_LOG:-warn}" \ + --command="$wine" com.valvesoftware.Steam "$exe" "${run_args[@]}" From c05bca41ff54c44d05937598a2f86b6094378529 Mon Sep 17 00:00:00 2001 From: John Reed <44419093+JohnReedV@users.noreply.github.com> Date: Thu, 26 Nov 2026 13:38:54 -0800 Subject: [PATCH 3/5] docs: clarify Linux config location --- run-gta6-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-gta6-linux.sh b/run-gta6-linux.sh index 5f1df15fd..9a52c7895 100755 --- a/run-gta6-linux.sh +++ b/run-gta6-linux.sh @@ -16,7 +16,7 @@ Required: Options: --exe EXE Windows Leonida build (default: target/.../leonida.exe) - --config FILE Leonida settings (default: ./leonida.toml if present) + --config FILE Leonida settings (default: beside this script, if present) --state-dir DIR Prefix, cache and saves (default: ~/.local/share/leonida/proton) --read-only-dir DIR Also expose a symlink target inside Steam Flatpak (repeatable) --bind-only Bind imports without starting the title From 2aabe04943702084b991828a61bd11c36a278e07 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Thu, 26 Nov 2026 14:11:39 -0800 Subject: [PATCH 4/5] feat(linux): accept newer vkd3d DLL pair --- README.md | 8 ++++++++ run-gta6-linux.sh | 22 ++++++++++++++++------ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a451a56ae..f7e4565e2 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,13 @@ chooses another location outside the repository. For symlinks to files in anothe pass `--read-only-dir` for each target directory. `--bind-only` checks imports without starting the title. +On this NVIDIA test PC, Proton 11.0's vkd3d-proton 3.0.0 exited while creating compute pipelines +during world loading. If you see that failure, use vkd3d-proton 3.2.0 or newer from the +[official package workflow][vkd3d-proton]. Extract the package outside this repository and add +`--vkd3d-dir "/path/to/vkd3d-proton/x64"` to the command above. That folder must contain the +matching x64 `d3d12.dll` and `d3d12core.dll`; the launcher copies them only into its dedicated +Wine prefix. Omit the option to use Proton's bundled pair. + The script grants [Flatpak's PulseAudio socket][flatpak-sockets] and checks for its presence inside Steam's sandbox before starting the game. If the check fails, restore your desktop's PulseAudio-compatible audio service and Steam's audio permission. The title stays offline. This @@ -153,6 +160,7 @@ to Wine. Only run game files you trust. [sdk-d3dcompiler]: https://learn.microsoft.com/en-us/windows/desktop/directx-sdk--august-2009- [cargo-xwin]: https://github.com/rust-cross/cargo-xwin [flatpak-sockets]: https://docs.flatpak.org/en/latest/flatpak-command-reference.html +[vkd3d-proton]: https://github.com/HansKristian-Work/vkd3d-proton/actions/workflows/artifacts.yml ### Graphics settings diff --git a/run-gta6-linux.sh b/run-gta6-linux.sh index 9a52c7895..add8d0df4 100755 --- a/run-gta6-linux.sh +++ b/run-gta6-linux.sh @@ -17,6 +17,7 @@ Required: Options: --exe EXE Windows Leonida build (default: target/.../leonida.exe) --config FILE Leonida settings (default: beside this script, if present) + --vkd3d-dir DIR x64 DLL folder from a separate vkd3d-proton build --state-dir DIR Prefix, cache and saves (default: ~/.local/share/leonida/proton) --read-only-dir DIR Also expose a symlink target inside Steam Flatpak (repeatable) --bind-only Bind imports without starting the title @@ -59,6 +60,7 @@ proton_dir='' compiler='' exe="$script_dir/target/x86_64-pc-windows-msvc/release/leonida.exe" config='' +vkd3d_dir='' [[ ! -f "$script_dir/leonida.toml" ]] || config="$script_dir/leonida.toml" state_dir="${XDG_DATA_HOME:-$HOME/.local/share}/leonida/proton" read_only_dirs=() @@ -66,7 +68,7 @@ bind_only=false while (($#)); do case "$1" in - --game-dir|--proton|--compiler|--exe|--config|--state-dir|--read-only-dir) + --game-dir|--proton|--compiler|--exe|--config|--vkd3d-dir|--state-dir|--read-only-dir) (($# >= 2)) || fail "$1 needs a path" case "$1" in --game-dir) game_dir=$2 ;; @@ -74,6 +76,7 @@ while (($#)); do --compiler) compiler=$2 ;; --exe) exe=$2 ;; --config) config=$2 ;; + --vkd3d-dir) vkd3d_dir=$2 ;; --state-dir) state_dir=$2 ;; --read-only-dir) read_only_dirs+=("$2") ;; esac @@ -116,10 +119,17 @@ done wine=$(require_file 'Proton Wine' "$proton_dir/files/bin/wine") dxgi=$(require_file 'Proton DXVK DXGI' \ "$proton_dir/files/lib/wine/dxvk/x86_64-windows/dxgi.dll") -d3d12=$(require_file 'Proton vkd3d D3D12' \ - "$proton_dir/files/lib/wine/vkd3d-proton/x86_64-windows/d3d12.dll") -d3d12core=$(require_file 'Proton vkd3d D3D12Core' \ - "$proton_dir/files/lib/wine/vkd3d-proton/x86_64-windows/d3d12core.dll") +if [[ -n "$vkd3d_dir" ]]; then + vkd3d_dir=$(require_dir 'vkd3d-proton x64 DLL folder' "$vkd3d_dir") + require_outside_source "$vkd3d_dir" 'vkd3d-proton DLL folder' + d3d12=$(require_file 'vkd3d-proton D3D12' "$vkd3d_dir/d3d12.dll") + d3d12core=$(require_file 'vkd3d-proton D3D12Core' "$vkd3d_dir/d3d12core.dll") +else + d3d12=$(require_file 'Proton vkd3d D3D12' \ + "$proton_dir/files/lib/wine/vkd3d-proton/x86_64-windows/d3d12.dll") + d3d12core=$(require_file 'Proton vkd3d D3D12Core' \ + "$proton_dir/files/lib/wine/vkd3d-proton/x86_64-windows/d3d12core.dll") +fi if [[ -n "$config" ]]; then config=$(require_file 'Leonida config' "$config") fi @@ -134,7 +144,7 @@ case "$game_dir/" in esac mkdir -p -- "$state_dir" state_dir=$(require_dir 'state directory' "$state_dir") -for path in "$game_dir" "$proton_dir" "$compiler" "$exe" "$config" "$state_dir"; do +for path in "$game_dir" "$proton_dir" "$compiler" "$exe" "$config" "$vkd3d_dir" "$state_dir"; do [[ "$path" != *:* ]] || fail "colon in path is unsupported by Flatpak/Wine: $path" done From 2f024d60b4236432546c5f8ec750604060976b40 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Thu, 26 Nov 2026 14:26:03 -0800 Subject: [PATCH 5/5] docs(linux): show tested vkd3d launch path --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f7e4565e2..4c7b31159 100644 --- a/README.md +++ b/README.md @@ -109,9 +109,10 @@ switches or your graphics overrides, for a comparison in the same place. ### Experimental Linux launch with Steam Flatpak and Proton -Leonida still builds as a Windows executable; Proton runs it on Linux. This path reached the account -picker on Pop!_OS 22.04 with Proton 11.0, an RTX 5090 and NVIDIA 580.173.02. Gameplay on -Linux has not been validated. You need the Steam Flatpak with Proton installed, a working +Leonida still builds as a Windows executable; Proton runs it on Linux. On Pop!_OS 22.04 with +Proton 11.0, an RTX 5090 and NVIDIA 580.173.02, this path reached the opening scene with a +newer vkd3d-proton build, then stopped at a game resource-pool breakpoint. Gameplay on Linux +has not been validated. You need the Steam Flatpak with Proton installed, a working PulseAudio-compatible desktop socket, and an x64 `d3dcompiler_47.dll` from a Windows SDK installation. [The Windows SDK includes this DLL][sdk-d3dcompiler]. @@ -126,16 +127,21 @@ cargo xwin build --release --locked --target x86_64-pc-windows-msvc -p leonida ``` Put the game executable named by `MicrosoftGame.config` beside that manifest and the rest of your -game files. Then run: +game files. On the tested NVIDIA PC, Proton 11.0's bundled vkd3d-proton 3.0.0 exited while +creating compute pipelines during world loading. For that combination, download vkd3d-proton +3.2.0 or newer from the [official package workflow][vkd3d-proton] and extract it outside this +repository. Its `x64` folder must contain matching `d3d12.dll` and `d3d12core.dll` files. +Then run: ```sh ./run-gta6-linux.sh \ --game-dir "$HOME/Games/GTA6" \ --proton "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/Proton 11.0" \ - --compiler "$HOME/WindowsSDK/x64/d3dcompiler_47.dll" + --compiler "$HOME/WindowsSDK/x64/d3dcompiler_47.dll" \ + --vkd3d-dir "$HOME/Downloads/vkd3d-proton/x64" ``` -Replace those three paths with yours. `--exe` selects another Leonida Windows executable. The +Replace those four paths with yours. `--exe` selects another Leonida Windows executable. The launcher reads the repository's `leonida.toml` if present; `--config` selects another settings file. It also reads `gpu-profiles.local.json` beside that file. It creates a dedicated Wine prefix with Proton's DXVK/vkd3d graphics DLLs and your compiler DLL. The prefix, shader cache and saves @@ -144,12 +150,8 @@ chooses another location outside the repository. For symlinks to files in anothe pass `--read-only-dir` for each target directory. `--bind-only` checks imports without starting the title. -On this NVIDIA test PC, Proton 11.0's vkd3d-proton 3.0.0 exited while creating compute pipelines -during world loading. If you see that failure, use vkd3d-proton 3.2.0 or newer from the -[official package workflow][vkd3d-proton]. Extract the package outside this repository and add -`--vkd3d-dir "/path/to/vkd3d-proton/x64"` to the command above. That folder must contain the -matching x64 `d3d12.dll` and `d3d12core.dll`; the launcher copies them only into its dedicated -Wine prefix. Omit the option to use Proton's bundled pair. +The launcher copies the newer vkd3d-proton DLL pair only into its dedicated Wine prefix. If +your Proton already includes a working version, omit `--vkd3d-dir` to use its bundled pair. The script grants [Flatpak's PulseAudio socket][flatpak-sockets] and checks for its presence inside Steam's sandbox before starting the game. If the check fails, restore your desktop's