OSS-Cosmic / AmnesiaTheDarkDescent

GNU General Public License v3.0
52 stars 4 forks source link

DevIL dependency not standard in Steam's Linux Runtime #75

Open parkerlreed opened 1 year ago

parkerlreed commented 1 year ago

Seems this update requires the DevIL library, which isn't available in the Steam Linux Runtime.

Using this on Steam Deck for example, there's no way out of the box to acquire the dependency.

Maybe bundle it with the download?

/bin/sh\0-c\0/home/deck/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=57300 -- /home/deck/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/deck/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/deck/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 --  '/home/deck/.local/share/Steam/steamapps/common/Amnesia The Dark Descent/Amnesia.bin.x86_64'\0
chdir "/home/deck/.local/share/Steam/steamapps/common/Amnesia The Dark Descent"
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
pid 24564 != 24560, skipping destruction (fork without exec?)
pid 24569 != 24560, skipping destruction (fork without exec?)
/home/deck/.local/share/Steam/steamapps/common/Amnesia The Dark Descent/Amnesia.bin.x86_64: error while loading shared libraries: libIL.so.1: cannot open shared object file: No such file or directory
Uploaded AppInterfaceStats to Steam
pollend commented 1 year ago

I see, I don't see that much of a problem to include DevIL. umm. need to tweak the build pipeline to copy the library in. I'll have to see next week. I'm actually not sure how to do that. I was thinking lld grep then cp but that doesn't seem quite right?