doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.01k stars 834 forks source link

Need help with the installation #948

Closed halukcang closed 5 years ago

halukcang commented 5 years ago

Hello this is a basic question but while I am running the: export WINEPREFIX=/path/to/.wine-prefix ./setup_dxvk.sh install
Command I keep getting a "not a valid wine prefix error" I don't know what to do and I appreciate your help

misyltoad commented 5 years ago

You should set the /path/to/.wine-prefix to the path to your wine prefix.

halukcang commented 5 years ago

I have already done that I went to wine-stable folder and chosen the prefix but still got the same error, reinstalled the eine same thing happens. /opt/usr/wine-stable/bin/wine

doitsujin commented 5 years ago

Don't run export WINEPREFIX=/path/to/.wine-prefix if you don't have multiple wine prefixes, or if you don't know what that command even does.

The given wine prefix has to exist before you can install DXVK into it.

SveSop commented 5 years ago

@halukcang To create a new empty prefix: WINEPREFIX=/home/halukcang/mywineprefix wineboot When you do stuff with that, you reference this with WINEPREFIX=/home/halukcang/mywineprefix

eg. WINEPREFIX=/home/halukcang/mywineprefix ./setup_dxvk.sh install will install dxvk in the prefix "mywineprefix". This can ofc be whatever you want.

If you find fiddling with prefixes and making scripts and whatnot to start your favorite games bothersome, there is always stuff like lutris that makes fiddling with various prefixes a wee bit easier :) https://lutris.net/

halukcang commented 5 years ago

Thanks for the help. I finally got it to work. I know it was kind of a noob question but I just switched a week ago so all of this is new to me.

PreritBhandari commented 4 years ago

first write the export WINEPREFIX=/path/to/.wine-prefix in the terminal window and run it. then open the winetricks in terminal by simply typing winetricks .If you dont have wineprefix at that location, it will create it for you.And then you can run the setup .sh file.Hope This helps. :dancing_men: