Comments (5)
I'm working on the script.
from dxvk.
I guess something like this would make life much easier for people:
#!/bin/bash
printf "Please configure the intended environment variables to point to the right prefix!\n\t export WINEARCH=win32|win64 WINEPREFIX=\"/your prefix\"\n"
#Set dll redirection
wine reg add HKEY_CURRENT_USER\\Software\\Wine\\DllRedirects /v dxd11 /d dxd11_vk.dll /f
wine reg add HKEY_CURRENT_USER\\Software\\Wine\\DllRedirects /v dxgi /d dxgi_vk.dll /f
#Add dxvk library path to the prefix path
wine reg add HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Session\ Manager\\Environment /f /v PATH /d $(wine reg QUERY HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Session\ Manager\\Environment /v PATH | sed -n 's|^ *PATH *REG_EXPAND_SZ *C|z:\\usr\\lib\\dxvk\\lib;z:\\usr\\lib\\dxvk\\lib64;C|p')
OFC, there are checks that should be done before messing with the prefix registry, but if the environment is defined properly, this does the job, also replace the library path with yours in the sed pattern.
from dxvk.
Sounds interesting. I'd recommend using a separate Wine prefix for this kind of stuff anyway so messing around with the registry should be okay. It's something I need to make clear in the README though.
If any of you want to build some sort of "setup" script I'd gladly accept it as a pull request.
from dxvk.
See #19
from dxvk.
Setup script should work out of the box with 650170b.
from dxvk.
Related Issues (20)
- API trace DXVK files question HOT 5
- Watch Dogs 1 doesn't respect minimized state HOT 11
- Ability to build DXVK Native in distro environments HOT 1
- Need for Speed Underground - Image corruption on Intel HD Graphics 630 (KBL GT2) HOT 12
- The Witcher 3 DXVK Corruption Issue HOT 3
- Dxvk has 2 problems with GTA 5 HOT 1
- Issue with Ghostbusters: The Video Game Remastered HOT 6
- Generic EXE names in util/config/config.cpp HOT 4
- Possible combination of options in dxvk.conf HOT 9
- (Question) All Direct3D versions HOT 3
- [d3d9, regression] Myst V freeze/crash upon resolution change HOT 2
- [d3d9] Evenicle fullscreen blackness issue
- Libdisplayinfo Broken again HOT 1
- [d3d9] Blaster Master Zero 3 freeze on switch to windowed
- SHADE : Wrath of Angels - Freeze on Loading Screens HOT 13
- [d3d9] Alan Wake (2010) crashes after getting past the menu HOT 2
- Don`t work - dxvk.deviceFilter with 2 gpu windows and linux HOT 9
- Bully Scholarship Edition - FMVs do not play properly on Windows HOT 7
- StarCraft 2 lighting on the Void Thrashing mission HOT 5
- Wine 9.0 flatpak not working with flatpaked dxvk HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dxvk.