Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
606da062
Commit
606da062
authored
Jul 29, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3d api
parent
7384b310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
functions_helper
data_from_portwine/scripts/functions_helper
+24
-24
No files found.
data_from_portwine/scripts/functions_helper
View file @
606da062
...
...
@@ -1822,13 +1822,14 @@ start_portwine () {
fi
pw_wineboot
()
{
LIST_NATIVE_WINE_DLL
=
"winevulkan ir50_32 wined3d vulkan-1 dxgi d3d8 d3d9 d3d10core d3d11 d3d12 d3d12core
"
for
change_wine_dll
in
$LIST_NATIVE_WINE_DLL
;
do
LIST_NATIVE_WINE_DLL
_LINKS
=
"winevulkan ir50_32 wined3d vulkan-1
"
for
change_wine_dll
in
$LIST_NATIVE_WINE_DLL
_LINKS
;
do
try_force_link_file
"
${
WINEDIR
}
/lib64/wine/x86_64-windows/
${
change_wine_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/
${
change_wine_dll
}
.dll"
try_force_link_file
"
${
WINEDIR
}
/lib/wine/i386-windows/
${
change_wine_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/
${
change_wine_dll
}
.dll"
done
for
change_wine_dll
in
atl100 ntdll shell32
;
do
LIST_NATIVE_WINE_DLL_COPY
=
"atl100 ntdll shell32"
for
change_wine_dll
in
$LIST_NATIVE_WINE_DLL_COPY
;
do
try_copy_file
"
${
WINEDIR
}
/lib64/wine/x86_64-windows/
${
change_wine_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/
${
change_wine_dll
}
.dll"
try_copy_file
"
${
WINEDIR
}
/lib/wine/i386-windows/
${
change_wine_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/
${
change_wine_dll
}
.dll"
done
...
...
@@ -2153,7 +2154,7 @@ start_portwine () {
print_info
"Use WINED3D OpenGL"
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_GIT_VER
}
"
CP_VKD3D_FILES
=
"libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d3d8 d3d9 d3d10core d3d10_1 d3d10 d3d11 dxgi d3d12 d3d12core
"
CP_WINE_FILES
=
"d
3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi
"
export
__GL_YIELD
=
"NOTHING"
export
mesa_glthread
=
"true"
export
WINE_D3D_CONFIG
=
"renderer=gl"
...
...
@@ -2165,9 +2166,9 @@ start_portwine () {
print_info
"VKD3D-PROTON v.
${
VKD3D_STABLE_VER
}
in use"
PATH_TO_DXVK_FILES
=
"
${
PW_VULKAN_DIR
}
/dxvk-
${
DXVK_STABLE_VER
}
"
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_STABLE_VER
}
"
CP_DXVK_FILES
=
"d3d11 d3d10
_1 d3d10 d3d10core
d3d9 dxgi"
# openvr_api_dxvk
CP_DXVK_FILES
=
"d3d11 d3d10
core d3d10_1 d3d10
d3d9 dxgi"
# openvr_api_dxvk
CP_VKD3D_FILES
=
"d3d12 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d3d8 d3d12core
"
CP_WINE_FILES
=
"d
3d12core d3d8
"
;;
2
)
# NEWEST DXVK AND VKD3D
...
...
@@ -2177,7 +2178,7 @@ start_portwine () {
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_GIT_VER
}
"
CP_DXVK_FILES
=
"d3d11 d3d10core d3d9 d3d8 dxgi"
# openvr_api_dxvk
CP_VKD3D_FILES
=
"d3d12 d3d12core libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d
3d10_1 d3d10"
CP_WINE_FILES
=
"d3d10_1 d3d10"
;;
3
)
# GALLIUM NINE
...
...
@@ -2185,7 +2186,7 @@ start_portwine () {
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_GIT_VER
}
"
CP_GALLIUM_NINE_FILES
=
"d3d9"
CP_VKD3D_FILES
=
"libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d3d8 d3d11 d3d10core d3d10_1 d3d10 dxgi d3d12 d3d12core
"
CP_WINE_FILES
=
"d
3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d8 dxgi
"
export
__GL_YIELD
=
"NOTHING"
export
mesa_glthread
=
"true"
export
WINE_D3D_CONFIG
=
"renderer=gl"
...
...
@@ -2207,7 +2208,7 @@ start_portwine () {
print_info
"Use GALLIUM-ZINK (OpenGL on MESA vulkan drivers)"
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_GIT_VER
}
"
CP_VKD3D_FILES
=
"libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d3d8 d3d9 d3d10core d3d10_1 d3d10 d3d11 dxgi d3d12 d3d12core
"
CP_WINE_FILES
=
"d
3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi
"
export
__GL_YIELD
=
"NOTHING"
export
mesa_glthread
=
"true"
export
WINE_D3D_CONFIG
=
"renderer=gl"
...
...
@@ -2228,14 +2229,14 @@ start_portwine () {
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_GIT_VER
}
"
CP_DXVK_FILES
=
"d3d11 d3d10core d3d10_1 d3d10 d3d9 dxgi"
CP_VKD3D_FILES
=
"libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d3d8 d3d12 d3d12core
"
CP_WINE_FILES
=
"d
3d12 d3d12core d3d8
"
;;
6
)
# WINED3D VULKAN (DAMAVAND)
print_info
"Use DAMAVAND (DirectX to wined3d vulkan)"
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_GIT_VER
}
"
CP_VKD3D_FILES
=
"libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES
=
"d
draw d3d8 d3d9 d3d10core d3d10_1 d3d10 d3d11 dxgi d3d12 d3d12core
"
CP_WINE_FILES
=
"d
3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi
"
export
WINE_D3D_CONFIG
=
"renderer=vulkan"
;;
esac
...
...
@@ -2244,41 +2245,39 @@ start_portwine () {
if
[[
"
${
PW_DGVOODOO2
}
"
==
"1"
]]
;
then
print_info
"Try create symlink DGVOODOO2 files..."
PATH_TO_DGV2_FILES
=
"
${
PW_VULKAN_DIR
}
/dgvoodoo2-
${
DGV2_VER
}
"
CP_DGV2_FILES
=
"d
draw d3dimm d3d8 d3d9 glide glide2x glide3x
"
CP_DGV2_FILES
=
"d
3d9 d3d8 d3dimm ddraw glide3x glide2x glide
"
try_copy_file
"
${
PATH_TO_DGV2_FILES
}
/dgVoodoo.conf"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
DGV2CONF
=
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/dgVoodoo.conf"
if
[[
"
${
PW_DGV2_DISABLE_D3D
}
"
==
"1"
]]
;
then
rm_from_var CP_DGV2_FILES
"d3d8 d3d9"
rm_from_var CP_WINE_FILES
"ddraw"
rm_from_var CP_DGV2_FILES
"d3d9 d3d8"
else
try_force_link_file
"
${
PATH_TO_DGV2_FILES
}
/x64/d3d9.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/d3d9.dll"
try_remove_file
"
${
WINEPREFIX
}
/drive_c/windows/system32/dgVoodoo.conf"
try_force_link_file
"
${
DGV2CONF
}
"
"
${
WINEPREFIX
}
/drive_c/windows/system32/dgVoodoo.conf"
case
"
${
PW_VULKAN_USE
}
"
in
0
)
rm_from_var CP_WINE_FILES
"d
draw d3d8 d3d9
"
rm_from_var CP_WINE_FILES
"d
3d9 d3d8
"
;;
1
)
rm_from_var CP_WINE_FILES
"ddraw d3d8"
rm_from_var CP_DXVK_FILES
"d3d9"
rm_from_var CP_WINE_FILES
"d3d8"
;;
2
)
rm_from_var CP_WINE_FILES
"ddraw"
rm_from_var CP_DXVK_FILES
"d3d9 d3d8"
;;
3
)
rm_from_var CP_WINE_FILES
"ddraw d3d8"
rm_from_var CP_GALLIUM_NINE_FILES
"d3d9"
rm_from_var CP_WINE_FILES
"d3d8"
;;
4
)
rm_from_var CP_WINE_FILES
"d
draw d3d8 d3d9
"
rm_from_var CP_WINE_FILES
"d
3d9 d3d8
"
;;
5
)
rm_from_var CP_WINE_FILES
"ddraw d3d8"
rm_from_var CP_DXVK_FILES
"d3d9"
rm_from_var CP_WINE_FILES
"d3d8"
;;
6
)
rm_from_var CP_WINE_FILES
"d
draw d3d8 d3d9
"
rm_from_var CP_WINE_FILES
"d
3d9 d3d8
"
;;
esac
fi
...
...
@@ -2459,6 +2458,7 @@ start_portwine () {
for
rm_dgv2_dll
in
d3dimm glide glide2x glide3x
;
do
try_remove_file
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/
${
rm_dgv2_dll
}
.dll"
done
add_to_var CP_WINE_FILES
"ddraw"
fi
# force use dxgi.dll from wine
...
...
@@ -2467,8 +2467,8 @@ start_portwine () {
add_to_var CP_WINE_FILES
"dxgi"
fi
print_info
"Try c
opy
WINE files..."
for
copy_wine_dll
in
$CP_WINE_FILES
"vulkan-1"
;
do
print_info
"Try c
reate symlink
WINE files..."
for
copy_wine_dll
in
$CP_WINE_FILES
;
do
try_force_link_file
"
${
WINEDIR
}
/lib64/wine/x86_64-windows/
${
copy_wine_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/
${
copy_wine_dll
}
.dll"
try_force_link_file
"
${
WINEDIR
}
/lib/wine/i386-windows/
${
copy_wine_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/
${
copy_wine_dll
}
.dll"
done
...
...
@@ -2488,7 +2488,7 @@ start_portwine () {
fi
if
[[
"
$DXVK_ENABLE_NVAPI
"
==
"1"
]]
;
then
print_info
"Try c
opy
NVAPI files..."
print_info
"Try c
reate symlink
NVAPI files..."
try_force_link_file
"
${
PATH_TO_DXVK_FILES
}
/x32/nvapi.dll"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/nvapi.dll"
try_force_link_file
"
${
PATH_TO_DXVK_FILES
}
/x64/nvapi64.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/nvapi64.dll"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment