diff options
| author | aslan2142 <jan.trencansky@protonmail.com> | 2026-11-25 14:15:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-25 14:15:49 +0100 |
| commit | 384abe5b06d08e349f4b4e4394c68f036da47dc7 (patch) | |
| tree | 6e608825aba65b0cad8776badce77ee58a31e67c /docs/linux_proton.md | |
| parent | 98c2f7777276f83eb90b491a51721ef90a43ea73 (diff) | |
| parent | c68f494160c8e79c76bfa109b2e99571a5c11358 (diff) | |
Merge pull request #1843 from aslan2142/rt-input-script-no-sdl3
RT-INPUT-SCRIPT-NO-SDL3: scripted input in builds without SDL3
Diffstat (limited to 'docs/linux_proton.md')
| -rw-r--r-- | docs/linux_proton.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/linux_proton.md b/docs/linux_proton.md index c792a550d..de4760d70 100644 --- a/docs/linux_proton.md +++ b/docs/linux_proton.md | |||
| @@ -53,12 +53,15 @@ the layout the comments at their top describe (`/opt/leonida` for traces, overla | |||
| 53 | `__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1`. | 53 | `__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1`. |
| 54 | - **Input:** a pad through GameInput/SDL3, or the keyboard pad (`LEONIDA_KEYBOARD_PAD=always`), or a script: | 54 | - **Input:** a pad through GameInput/SDL3, or the keyboard pad (`LEONIDA_KEYBOARD_PAD=always`), or a script: |
| 55 | `LEONIDA_INPUT_SCRIPT=a@210,a@240` presses A at those seconds (any length since this branch; it was cut at 63 | 55 | `LEONIDA_INPUT_SCRIPT=a@210,a@240` presses A at those seconds (any length since this branch; it was cut at 63 |
| 56 | characters before). | 56 | characters before). The script also works in a build without SDL3, where it drives one scripted pad |
| 57 | ([docs/gameinput.md](gameinput.md#scripted-input-without-sdl3)); pads and the keyboard pad need SDL3. | ||
| 57 | - **Window:** frames are presented in the title's own window; `LEONIDA_PRESENT_WINDOW=own|hidden` chooses otherwise. | 58 | - **Window:** frames are presented in the title's own window; `LEONIDA_PRESENT_WINDOW=own|hidden` chooses otherwise. |
| 58 | 59 | ||
| 59 | Three setup mistakes each give a blank or empty picture without an error: the executable's embedded shaders missing | 60 | Three setup mistakes each give a blank or empty picture without an error: the executable's embedded shaders missing |
| 60 | from the library (`exe/index.json`), a build without SDL3 (no pad), and a BCPack predictor file that was never | 61 | from the library (`exe/index.json`), a build without SDL3 and without `LEONIDA_INPUT_SCRIPT` (no pad, so nothing |
| 61 | generated (`tools/build_dstorage_history.py`; without it the loading art and most BC7 textures stay empty). | 62 | gets past the first prompt; set a script, or build with SDL3 for a pad or the keyboard pad), and a BCPack predictor |
| 63 | file that was never generated (`tools/build_dstorage_history.py`; without it the loading art and most BC7 textures | ||
| 64 | stay empty). | ||
| 62 | 65 | ||
| 63 | ## Running the game under Wine with one command | 66 | ## Running the game under Wine with one command |
| 64 | 67 | ||