RobLoach / net.lutris.Lutris

Pull requests for new applications to be added
https://flathub.org
2 stars 0 forks source link

Ankama Launcher does not work #42

Open LeandroStanger opened 5 years ago

LeandroStanger commented 5 years ago
Running /sysroot/home/leandro/Games/ankama-launcher/AnkamaLauncher64.AppImage
fuse: failed to exec fusermount: No such file or directory

Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information
open dir error: No such file or directory
Waiting on children
All children gone
Exit with returncode 1
gasinvein commented 5 years ago

AppImage relies on fuse, which won't work in flatpak sandbox. You can extract the appimage is as it suggests and try running extracted binary.

lionirdeadman commented 5 years ago

Possibly could talk with Lutris team to extract it and run the executable if the system can't create fuses? @gasinvein

gasinvein commented 5 years ago

How Lutris and this Ankama Launcher are related btw? I can't find anything in Lutris code mentioning it.

RobLoach commented 5 years ago

Is this https://lutris.net/games/ankama-launcher/ ? In order to run AppImages, would we have to ship fuse as part of the Flatpak?

gasinvein commented 5 years ago

@RobLoach

https://lutris.net/games/ankama-launcher/

This looks like something done by third-party, not by Lutris devs.

In order to run AppImages, would we have to ship fuse as part of the Flatpak?

It won't be enough, I guess. Does bwrap sandbox even allow fuse interaction?

refi64 commented 5 years ago

AFAIK FUSE isn't supported inside of sandboxes at all due to kernel constraints. However, you could extract the AppImage, using either --appimage-extract or unappimage (which is used by the Unity Hub Flatpak, since --appimage-extract wants access to /proc which isn't available in apply_extra).

gasinvein commented 5 years ago

@refi64, true, thus this can't be fixed on our side. I think the best we can is to to ask the author of this to extract the appimage instead of running it as is.

LeandroStanger commented 5 years ago

The RPCS3 is also a AppImage application https://github.com/RPCS3/rpcs3/issues/5935

gasinvein commented 5 years ago

RPCS3 is a runner in Lutris terms, not a 3rd-party game like Ankama Launcher. And we (well, at least me) plan to build runners ourselves instead of poking around prebuilt binaries.