Documentation update.
This commit is contained in:
1 parent
f9aa0dabed
commit
13b25b581a
4 files changed
+96
-21
No files matched your search
@@ -323,13 +323,19 @@ and ambiguous choices between multiple applications are left alone.
|
||||
|
||||
## Steam, Proton and Protontricks
|
||||
|
||||
Games and applications launched through Steam Play (Proton) work the same
|
||||
way as plain Wine applications, with no per-game setup: the reader's
|
||||
supervisor discovers the Proton prefix from `STEAM_COMPAT_DATA_PATH`
|
||||
(`<compatdata>/<appid>/pfx`) and starts the helper with that game's own
|
||||
Proton Wine. The same applies to programs started through Protontricks,
|
||||
including `protontricks-launch --appid <id> <program>` and windows opened
|
||||
by Winetricks verbs (`protontricks <appid> <verb>`).
|
||||
Current Cthulhu and the Orca extension supplied here implement automatic
|
||||
helper startup for host-visible Steam Play (Proton) and Protontricks
|
||||
processes. Their supervisors use the active process's `WINEPREFIX`, or
|
||||
`STEAM_COMPAT_DATA_PATH/pfx` when `WINEPREFIX` is absent, and start the helper
|
||||
with that game's own Wine loader. This includes programs started through
|
||||
`protontricks-launch --appid <id> <program>` and windows opened by Winetricks
|
||||
verbs (`protontricks <appid> <verb>`). No per-game DLL overrides are required.
|
||||
|
||||
This integration supplies the same controller, standard-control and review
|
||||
capabilities as ordinary Wine. It does not add embedded-browser support or
|
||||
establish compatibility with every game. Supervisor regression checks and
|
||||
live launcher acceptance are described in the
|
||||
[test guide](tests/README.md#launcher-acceptance).
|
||||
|
||||
What a supervisor must get right for Proton prefixes:
|
||||
|
||||
@@ -361,17 +367,22 @@ What a supervisor must get right for Proton prefixes:
|
||||
Runtime, so a system-installed `/usr/libexec/wine-access` helper cannot
|
||||
be opened (`ShellExecuteEx failed: File not found` in the helper log).
|
||||
The home directory is bound at the same path in both namespaces: a
|
||||
user-local installation under `~/.local/libexec` works as-is, and the
|
||||
Orca extension stages a copy of a system installation under
|
||||
`~/.local/state/orca-wine-access/helper/<content-hash>/` for such prefixes.
|
||||
user-local installation under `~/.local/libexec` is visible there. Both
|
||||
supervisors stage complete helper sets for such prefixes. Their default
|
||||
state directories are `~/.local/state/cthulhu/wine-access/helper/` for
|
||||
Cthulhu and `~/.local/state/orca-wine-access/helper/` for Orca, with a separate
|
||||
content-hash directory for each build (`$XDG_STATE_HOME` replaces
|
||||
`~/.local/state` when set).
|
||||
Each staged directory contains a complete helper set and is left unchanged
|
||||
while older helpers or application hooks may still use it.
|
||||
|
||||
The Orca extension in this repository implements all of this. Cthulhu's
|
||||
supervisor needs the equivalent loader resolution in Cthulhu itself; until
|
||||
then, Protontricks-launched applications do not get a Cthulhu helper. To
|
||||
start the helper manually for a running game, use its Proton build and
|
||||
prefix. Install the complete helper set under the user-local path first.
|
||||
Both supervisors implement the loader resolution, sync-mode forwarding,
|
||||
reader-bus selection and helper staging above. Updating Wine Access alone
|
||||
does not update Cthulhu's supervisor or an older installed Orca extension.
|
||||
|
||||
For manual diagnosis of a running game, use its Proton build and prefix.
|
||||
Install the complete helper set under the user-local path first, and avoid
|
||||
starting a second helper when a supervisor already owns that prefix.
|
||||
Set `gameEsync` and `gameFsync` to the running game process's `WINEESYNC`
|
||||
and `WINEFSYNC` values (use an empty value when absent), for example:
|
||||
|
||||
@@ -383,8 +394,25 @@ WINEESYNC="$gameEsync" WINEFSYNC="$gameFsync" \
|
||||
```
|
||||
|
||||
Add the reader options from above for Orca. Flatpak builds of Steam or
|
||||
Protontricks are not supported: their sandboxes hide both the host helper
|
||||
installation and the game processes from the reader.
|
||||
Protontricks remain unsupported. Their additional sandbox boundaries need
|
||||
separate integration; support for Steam's pressure-vessel runtime does not
|
||||
establish Flatpak support.
|
||||
|
||||
## Heroic, Lutris and other Wine launchers
|
||||
|
||||
Discovery follows running Wine processes rather than a launcher's library or
|
||||
configuration files. A non-Flatpak launcher using a host-visible Wine runner
|
||||
and prefix is therefore expected to use the existing integration. This
|
||||
includes ordinary Wine launches from Heroic and Lutris, but launcher-specific
|
||||
end-to-end acceptance has not been established here.
|
||||
|
||||
Heroic's Proton/UMU launches need separate live verification of the actual
|
||||
prefix, runner, sync settings and container-visible helper path. The
|
||||
supervisors prefer the running process's `WINEPREFIX`; do not infer the final
|
||||
prefix solely from the launcher's configured directory. Flatpak Heroic is
|
||||
also unverified and should not be assumed to work with host discovery.
|
||||
Use the [launcher acceptance procedure](tests/README.md#launcher-acceptance)
|
||||
before reporting one of these configurations as working.
|
||||
|
||||
## Protocol and behavior
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Storm Dragon <storm_dragon@stormux.org>
|
||||
pkgname=wine-access-git
|
||||
pkgver=r63.g0763498
|
||||
pkgver=r74.gf9aa0da
|
||||
pkgrel=1
|
||||
pkgdesc='Wine accessibility helper with MSAA, NVDA Controller, and Tolk compatibility for screen readers'
|
||||
arch=('x86_64')
|
||||
|
||||
+10
-3
@@ -90,15 +90,22 @@ wine-access.exe --reader orca --reader-path /org/gnome/Orca1/Service/WineAccess
|
||||
--reader-interface org.gnome.Orca1.WineAccess
|
||||
```
|
||||
|
||||
with the program's own loader, display and bus, and
|
||||
with the program's own loader and display, using Orca's session bus when the
|
||||
program has a pressure-vessel bus proxy, and
|
||||
`ORCA_WINE_ACCESS_MANAGED=1`. For Steam Play and Protontricks launches the
|
||||
loader is resolved to the game's real Proton `files/bin/wine` (Protontricks'
|
||||
proxy `WINELOADER` is bypassed), the game's `WINEESYNC`/`WINEFSYNC` are
|
||||
forwarded so the helper joins the running server, and the helper set is
|
||||
staged as complete sets in separate content-hash directories under the
|
||||
state directory because the container's wineserver cannot
|
||||
see a system `/usr/libexec` installation; see the main README's Steam
|
||||
section.
|
||||
see a system `/usr/libexec` installation; see the main README's
|
||||
[Steam section](../README.md#steam-proton-and-protontricks). Current Cthulhu
|
||||
implements equivalent supervision in its own project.
|
||||
|
||||
Other launchers use the same process discovery when their Wine processes,
|
||||
prefix and runner are visible on the host. Heroic/Lutris launcher acceptance,
|
||||
Heroic Proton/UMU and Flatpak limitations are described in the
|
||||
[main README](../README.md#heroic-lutris-and-other-wine-launchers).
|
||||
|
||||
## Controller-only mode
|
||||
|
||||
|
||||
@@ -871,3 +871,43 @@ one uses a separate complete set. Check ordinary Wine menus, editor navigation,
|
||||
password exclusion, speech and Braille separately. After changing exclusions,
|
||||
close affected applications and restart Orca before relaunching them; pinned
|
||||
DLLs cannot be removed by a helper restart.
|
||||
|
||||
## Launcher acceptance
|
||||
|
||||
The supervisor tests above use simulated process trees and helper launches.
|
||||
They verify discovery, loader selection, environment forwarding and staging;
|
||||
they do not prove a real Steam, Protontricks, Heroic or Lutris session works.
|
||||
Cthulhu's corresponding supervisor checks live in its own repository and run
|
||||
there with `go test ./internal/wine`.
|
||||
|
||||
Test one reader at a time with its installed helper and supervisor. Record
|
||||
the reader/helper versions, launcher installation type, runner version and
|
||||
exact game or application. Treat Steam Proton, Protontricks, Heroic Wine,
|
||||
Heroic Proton/UMU and Lutris Wine as separate configurations. Flatpak Steam
|
||||
and Protontricks remain unsupported; Flatpak Heroic is unverified.
|
||||
|
||||
1. Start the reader, then launch the application normally. Inspect its reader
|
||||
log for the helper identity and ready records and confirm that the selected
|
||||
prefix and Wine loader match the application. Cthulhu's debug log includes
|
||||
those paths; the Orca extension's logs are under
|
||||
`~/.local/state/orca-wine-access/` by default. Check both the reader's
|
||||
startup decision and the helper's component availability; a ready record
|
||||
alone does not establish working feedback.
|
||||
2. Exercise the application's existing accessibility: NVDA/Tolk speech and
|
||||
cancellation where provided, menus and standard controls where present,
|
||||
editor navigation, and review. Check audible speech and physical Braille
|
||||
separately. An inaccessible embedded browser is not evidence of failed
|
||||
launcher discovery; embedded-browser support is not implemented.
|
||||
3. Close the application, then repeat with the application already running
|
||||
before starting the reader. Confirm discovery in both launch orders and
|
||||
helper cleanup after the last application in the prefix exits.
|
||||
4. Repeat with a second prefix active. Verify that control/review feedback
|
||||
follows the foreground application, helpers use their respective runners
|
||||
and prefixes, and closing one application leaves the other working. Check
|
||||
controller speech separately where provided. Retest ordinary Wine menus
|
||||
and editing alongside the launcher session.
|
||||
|
||||
If startup fails, retain the identity/startup diagnostics and the actual
|
||||
runner/prefix information before changing configuration. Review debug logs
|
||||
for private text before sharing. Check controller-only exclusions using the
|
||||
procedure above when the application requires them.
|
||||
Reference in new issue
Block a user