diff options
| author | d6ge-dev <304062470+d6ge-dev@users.noreply.github.com> | 2026-11-25 18:24:22 +0200 |
|---|---|---|
| committer | d6ge-dev <304062470+d6ge-dev@users.noreply.github.com> | 2026-11-25 18:24:22 +0200 |
| commit | dda535e1c520f8a7821320d847c8a6fa396f60af (patch) | |
| tree | e010495913952a5cb5bc3757bc8c918f853448e7 /docs/linux.md | |
| parent | b0f3d3998f0401eb7df8ddbb7a303d1e6bee9fb8 (diff) | |
Add CrossOver bottle support to the generated runtime launcher
Diffstat (limited to 'docs/linux.md')
| -rw-r--r-- | docs/linux.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/linux.md b/docs/linux.md index 555cb3ed4..800d28a34 100644 --- a/docs/linux.md +++ b/docs/linux.md | |||
| @@ -84,6 +84,16 @@ Runtime workflow. The stage writes `<out>/gta6rt.sh`, which starts `gta6rt.exe` | |||
| 84 | [testing.md](testing.md#the-windows-runtime-on-linux-under-wine-or-proton) has the test runs under Wine and Proton | 84 | [testing.md](testing.md#the-windows-runtime-on-linux-under-wine-or-proton) has the test runs under Wine and Proton |
| 85 | and what fails there. | 85 | and what fails there. |
| 86 | 86 | ||
| 87 | On Apple Silicon, set `LEONIDA_CX_BOTTLE` to the name of an existing CrossOver bottle to use the same launcher: | ||
| 88 | |||
| 89 | ```sh | ||
| 90 | LEONIDA_CX_BOTTLE=Leonida ./gta6rt.sh --dry-run | ||
| 91 | ``` | ||
| 92 | |||
| 93 | Run this from the packaged output directory. The launcher uses CrossOver in `/Applications` by default. Set `WINE` | ||
| 94 | to the CrossOver `bin/wine` path if the app is installed elsewhere. It enables Rosetta's AVX advertisement by default | ||
| 95 | for this mode and honours an explicit `ROSETTA_ADVERTISE_AVX` value. | ||
| 96 | |||
| 87 | For XMA2 audio, `runtime/CMakeLists.txt` builds `runtime/xma_decoder` for `x86_64-pc-windows-msvc` when `cargo` is on | 97 | For XMA2 audio, `runtime/CMakeLists.txt` builds `runtime/xma_decoder` for `x86_64-pc-windows-msvc` when `cargo` is on |
| 88 | `PATH`. Distribution Rust packages typically omit the Windows MSVC standard library, which leaves XMA voices silent | 98 | `PATH`. Distribution Rust packages typically omit the Windows MSVC standard library, which leaves XMA voices silent |
| 89 | unless you add the `x86_64-pc-windows-msvc` Rust target or pass a prebuilt static library with | 99 | unless you add the `x86_64-pc-windows-msvc` Rust target or pass a prebuilt static library with |