diff options
| author | Madhyn <yohann.ribeiro@unifesp.br> | 2026-11-24 22:43:53 -0300 |
|---|---|---|
| committer | Madhyn <yohann.ribeiro@unifesp.br> | 2026-11-24 22:43:53 -0300 |
| commit | d3741102e4760cdff7ebf9ca91510b5d8f5c96f7 (patch) | |
| tree | 5efae7b1995e7dfa4f9c9f8ec8289d99684ae498 /docs/linux.md | |
| parent | 5a5df8e0b6bff458814c934e18f4216e69c40d36 (diff) | |
runtime: accept prebuilt XMA2 decoder via -DLEONIDA_XMA2_DECODER_LIB (BUILD-XMA2-PREBUILT-LIB)
Diffstat (limited to 'docs/linux.md')
| -rw-r--r-- | docs/linux.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/linux.md b/docs/linux.md index e7ca27455..4660f8d53 100644 --- a/docs/linux.md +++ b/docs/linux.md | |||
| @@ -83,6 +83,11 @@ Runtime workflow. The stage writes `<out>/gta6rt.sh`, which starts `gta6rt.exe` | |||
| 83 | [testing.md](testing.md#the-windows-runtime-on-linux-under-wine-or-proton) has the test runs under Wine and Proton | 83 | [testing.md](testing.md#the-windows-runtime-on-linux-under-wine-or-proton) has the test runs under Wine and Proton |
| 84 | and what fails there. | 84 | and what fails there. |
| 85 | 85 | ||
| 86 | For XMA2 audio, `runtime/CMakeLists.txt` builds `runtime/xma_decoder` for `x86_64-pc-windows-msvc` when `cargo` is on | ||
| 87 | `PATH`. Distribution Rust packages typically omit the Windows MSVC standard library, which leaves XMA voices silent | ||
| 88 | unless you add the `x86_64-pc-windows-msvc` Rust target or pass a prebuilt static library with | ||
| 89 | `-DLEONIDA_XMA2_DECODER_LIB=<path>` ([runtime/xma_decoder/README.md](../runtime/xma_decoder/README.md)). | ||
| 90 | |||
| 86 | ### Why there is no native Linux `gta6rt` | 91 | ### Why there is no native Linux `gta6rt` |
| 87 | 92 | ||
| 88 | A native (ELF) loader is not a matter of build flags: | 93 | A native (ELF) loader is not a matter of build flags: |