Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
dxvk
setup_dxvk_alt.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File setup_dxvk_alt.sh of Package dxvk
#!/bin/sh # 1) list all main prefix locations 2) check them for architecture 3) populate each in accordance with it (arch in system32 dir is reversed) for prefix in "${WINEPREFIX}" "${HOME}/.wine64" "${HOME}/.wine"; do if [ -d "${prefix}/drive_c/windows/syswow64" ]; then for file in /usr/libexec/dxvk/lib64/*.dll; do filename=$(basename "${file}" .dll) ln -sfv "${file}" "${prefix}/drive_c/windows/system32"/${filename}.dll wine64 reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "${filename}" /d 'native,builtin' /f done for file in /usr/libexec/dxvk/lib/*.dll; do filename=$(basename "${file}" .dll) ln -sfv "${file}" "${prefix}/drive_c/windows/syswow64"/${filename}.dll done else for file in /usr/libexec/dxvk/lib/*.dll; do filename=$(basename "${file}" .dll) ln -sfv "${file}" "${prefix}/drive_c/windows/system32"/${filename}.dll wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "${filename}" /d 'native,builtin' /f done fi done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor