Closed smcv closed 1 year ago
This game uses plib (which seems to be more or less a SDL competitor, so I don't know why it uses both plib and SDL...) and plib seems to be X11-specific. Perhaps the same trick I suggested on #249 would help here.
This wasn't fixed by https://github.com/libsdl-org/sdl12-compat/commit/2a96bb35d7562f75c710e5824a49eb14c13c1bac, please reopen. If we can find a suitable symbol to detect "this is using plib in a way that is probably not Wayland-friendly" then we can probably expand the automatic quirks?
plib seems to be dead upstream (the last release was in 2006 and it has unfixed security vulnerabilities in its issue tracker), so I'm not going to waste time trying to get plib fixed.
Unfortunately its ABI is C++, so we'll have to use a mangled name to recognise it.
Prerequisites:
pipewire-pulse
emulating PulseAudioapt install crrcsim
(Debian package version0.9.13-3.2
)libsdl1.2-compat
either 1.2.58-1 (packaged in Debian experimental) or commit 63e4393 (locally built)libsdl2-2.0-0
version2.24.1+dfsg-1
libsdl1.2debian
(real SDL 1.2) version1.2.15+dfsg2-8
To reproduce:
crrcsim
LD_LIBRARY_PATH=.../sdl12-compat/_build crrcsim
SDL_VIDEODRIVER=wayland LD_LIBRARY_PATH=.../sdl12-compat/_build crrcsim
Expected result: all work (ignoring #251 which is a separate issue).
Actual result: with Wayland selected: