Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.1k stars 424 forks source link

Flatpak: cabextract can't find libmspack when installing d3dx9 or dxvk #3332

Open SuddenPineapple opened 10 months ago

SuddenPineapple commented 10 months ago

Describe the bug

Trying to install any D3dx9 related stuff in winetricks will cause an error where cabextract cant find libsmpack. It might be #2625 again. It is installed through Flatpak. I was using Ge-Proton but it still happened when I tried the normal 8.0 version of proton. I am trying to run the GOG version of Batman Arkham Asylum.This is like my third time righting a bug report so sorry if its messy.

Add logs

(21:53:27) INFO:    [Winetricks]:       Executing load_d3dx9 

(21:53:27) ERROR:   [Winetricks]:       grep: warning: stray \ before /

(21:53:28) INFO:    [Winetricks]:       Executing cabextract -q -d /home/rileyj/Games/Heroic/Prefixes/default/Batman Arkham Asylum Game of the Year Edition/pfx/dosdevices/c:/windows/temp -L -F *d3dx9*x86* /home/rileyj/.var/app/com.heroicgameslauncher.hgl/cache/winetricks/directx9/directx_Jun2010_redist.exe

(21:53:28) ERROR:   [Winetricks]:       cabextract: error while loading shared libraries: libmspack.so.0: cannot open shared object file: No such file or directory

Steps to reproduce

On the flatpak version try to install d3dx9 or dxvk onto Ge-Proton 25 using either the built in menu or the Winetricks GUI.

Expected behavior

It installs

Screenshots

No response

Heroic Version

Latest Stable

System Information

I am on Void Linux with an AMD 3500u using Sway

Additional information

No response

arielj commented 10 months ago

Have you tried with Wine-GE-Proton instead? installing that with winetricks shouldn't fail

mfisher87 commented 9 months ago

I'm not OP, but was having trouble installing d3dcompiler_43 and more following these instructions and getting the same error as OP. Using "Wine Manager" to install Wine-GE-Proton did resolve this problem. Thank you @arielj!