Unable to install directx11

Questions about Wine on Linux
Locked
Arashk
Newbie
Newbie
Posts: 1
Joined: Thu Oct 22, 2020 1:50 pm

Unable to install directx11

Post by Arashk »

Hi, so I've been trying to install and run rabbids coding on wine (yes I know, I play these types of games). And it gave me an error about directx11 not installed.So I went ahead and tried to install d3dx11_43 using winetricks. But one of the "cabextract" commands returned an error value. It was:

Code: Select all

Note: command cabextract -q -d /home/arashk/.wine/dosdevices/c:/windows/syswow64 -L -F d3dx11_43.dll /home/arashk/.wine/dosdevices/c:/windows/temp/*.cab returned status 1. Aborting.
The line before that was interesting:

Code: Select all

/home/arashk/.wine/dosdevices/c:/windows/temp/*.cab: No such file or directory
Also /home/arashk/.wine/dosdevices/c:/windows/temp is empty if you're wondering. I tried running it on a clean 32 bit bottle but same result. I have wine 5.19, 64 bit bottle. The same issue happened with d3dx11_42.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Unable to install directx11

Post by Bob Wya »

@Arashk

The verb:

Code: Select all

winetricks d3dx11_43
works fine for me, both with 32-bit and 64-bit WINEPREFIX's ...

You might want to ensure that you are using the Git version of winetricks, as this has a race condition fix (which occurs when creating a new WINEPREFIX).

Bob
TuxThePenguin
Newbie
Newbie
Posts: 1
Joined: Tue Dec 22, 2020 6:58 am

Re: Unable to install directx11

Post by TuxThePenguin »

@Arashk

I had the same issue , try clearing (deleting ) your winetricks cache first

mine was $HOME/.cache/winetricks

That worked for me
Locked