HGL
ambitious-aqua
Flatpak version - no system installed wine found
Hello,
Is it normal that the Flatpak version of Heroic is not able to find system-wide installed wine in the
/usr/bin/wine
folder?
I have 2 versions of heroic installed alongside:
1) Flatpak
2) heroic-games-launcher-bin
from the AUR (I'm running Arch, if it makes a difference)
2) can find the installed wine version from /usr/bin/wine
, but 1) can't. I have an additional option in the AUR version, that is missing in the Flatpak version.
Reading the wiki, it says: "Heroic searches for the default installed Wine, normally in /usr/bin/wine, and uses it as the default to launch games (the Flatpak version of Wine is not supported for now)."
If I'm understanding correctly, the second part of the sentence refers to this wine: https://flathub.org/apps/org.winehq.Wine, so therefore not relevant to my problem. Flatpak Heroic should still be able to find wine from /usr/bin, right?
Is there any way to make heroic from flatpak find this additional wine? I noticed the GE wine versions by GloriousEggroll have sometimes issues with GOG.com games, so I have to use normal wine instead.
I made sure to run flatpak update && flatpak install --reinstall com.heroicgameslauncher.hgl
beforehand.11 Replies
metropolitan-bronze•2y ago
you can check the flatpak's permissions with flatseal and give heroic permissions to access the folders where the system wine is (not sure if it will work though), flatpaks are isolated by default, so if you want to give it access to more places others than the ones we ask during install you have to do it manually
I'm curious though, which problems you see for GOG.com games? I tested literally all my games with Wine-GE and I haven't had issues specific of wine-ge combined with gog
we don't recommend using the default system wine, it's usually pretty outdated
ambitious-aquaOP•2y ago
I had the exact same idea, giving flatpak additional directories, but then I found the official docs https://docs.flatpak.org/en/latest/sandbox-permissions.html
Everything in the /usr folder is blacklisted
ambitious-aquaOP•2y ago
One example for a borked GOG game is https://www.gog.com/de/game/pod_gold
GOG.com
POD Gold
Passe deine eigene leistungsstarke Maschine an und schieße durch futuristische Umgebung
ambitious-aquaOP•2y ago
This is how it looks like on GE wine latest:
ambitious-aquaOP•2y ago

ambitious-aquaOP•2y ago
And it's supposed to like this:
ambitious-aquaOP•2y ago

ambitious-aquaOP•2y ago
I have also problems with "Serious Sam: The First Encounter"
metropolitan-bronze•2y ago
wow, I've never seen that error before
I'm not sure if it's possible for the flatpak to use the system wine if the access is blocked
any reason you want to fix this for flatpak when you have the AUR package working? just curious
ambitious-aquaOP•2y ago
I usually try to go official Arch Packages, then flatpak, then AUR
My reasons are:
1) AUR packages can take an awful long time to build
2) for some programs flatpak version is the only supported way by the developer and the only option to file a bug report on (for example: Bottles, Fractal, ...)
3) AUR programs lag sometimes behind with updates. Some 'modern' apps like to nag you to install "the new version", but it's just not possible if the AUR maintainer hasn't updated the build script yet (happened to me with Mailspring and I think even with Heroic in the past)
There's also this whole security angle, flatpaks are supposed to run in a sandbox and with AURs you are expected to check every update yourself, but this is rarely done
I also don't want to talk down wine-GE, I have had issues with games for a long time, even to this day with the latest wine 8.21, but with wine-GE-8.24 it just works
extended-salmon•2y ago
Current heroic aur is updated by us