HGL
correct-apricot

Winetricks doesn't work

I'm using the Flatpak version, installed via KDE Discover on Bazzite (Steam-flavored Fedora Atomic). If I right-click a game and go to settings, I get
Winetricks error
Error:
Winetricks returned the following error during execution:
Error: spawn /home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks ENOENT
Winetricks error
Error:
Winetricks returned the following error during execution:
Error: spawn /home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks ENOENT
11 Replies
correct-apricot
correct-apricotOP2y ago
I'm assuming that manually putting winetricks there isn't the right way to do it, so I'm wondering if I have something set up wrong I wanted to use Winetricks specifically because I'm having trouble launching some games that are verified compatible on the Steam store, but the versions of the games that I have crash due to what looks like a dependency error. and with this error i'm wondering if something that is supposed to install dependencies is broken
CommandMC
CommandMC2y ago
Could you send in Heroic's full log (Settings -> Log)? Heroic auto-downloads Winetricks into that location on startup, so it sounds like something's going wrong there
correct-apricot
correct-apricotOP2y ago
Sure, one moment https://bin.mediabox.ibeep.com/?7ec5b0f3c45c68d1#FpC4jM639O+2NYgzltacmCUmjcidziJYKhXbGLU94Vk= It doesn’t fit in here so this is just my self-hosted pastebin
bri@desktop-spa2bq8:/var/home/bri$ ls /home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks
ls: cannot access '/home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks': No such file or directory
bri@desktop-spa2bq8:/var/home/bri$
bri@desktop-spa2bq8:/var/home/bri$ ls /home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/
dxvk dxvk-nvapi eos_overlay proton redist runtimes vkd3d wine
bri@desktop-spa2bq8:/var/home/bri$ ls /home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks
ls: cannot access '/home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/winetricks': No such file or directory
bri@desktop-spa2bq8:/var/home/bri$
bri@desktop-spa2bq8:/var/home/bri$ ls /home/bri/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/
dxvk dxvk-nvapi eos_overlay proton redist runtimes vkd3d wine
Should I just mkdir that folder?
fair-rose
fair-rose2y ago
winetricks wouldn't be a folder. it's a script
correct-apricot
correct-apricotOP2y ago
Oh, well then I have no idea why the log says ENOENT if it’s supposed to be downloading it It has those lines even if I just clean start Heroic and don’t try to launch winetricks
fair-rose
fair-rose2y ago
Heroic pulls it from https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks it's possible you had a network hiccup in that moment or maybe your network path to github's cdn is bad
correct-apricot
correct-apricotOP2y ago
Can’t be either, because I can get there just fine in a browser and I consistently get this issue if I try to open winetricks from heroic. Also I’m hardwired in
fair-rose
fair-rose2y ago
it's a plaintext sh script, so you can put it in manually as a last resort even though Heroic should be pulling it
correct-apricot
correct-apricotOP2y ago
Frustrating but I can definitely try that Thanks Huh. It’s not failing on Downloading Winetricks anymore after that too. Is it possible that for some reason it’s failing to create that file if it doesn’t exist? (I mean that seems to be what was happening, so I guess what I mean is, is this a bug in the code? Or maybe something to do with flatpak limitations or something?)
fair-rose
fair-rose2y ago
shouldn't be a flatpak permissions thing. a flatpak app has full access within its respective ~/.var/app folder I also use flatpak Heroic yet have never had this be an issue
correct-apricot
correct-apricotOP2y ago
Hm, weird. I’m not sure then… If I feel up to it I’ll try and look at the code but I doubt I’ll find anything too interesting there. Thanks again @termdisc

Did you find this page helpful?