Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
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
Mikhail Tergoev
PortWINE
Commits
a00eb137
Commit
a00eb137
authored
May 24, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaning proton files
parent
e44f0139
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
35 deletions
+7
-35
proton
data_from_portwine/proton
+5
-33
vars
data_from_portwine/scripts/vars
+2
-2
No files found.
data_from_portwine/proton
View file @
a00eb137
...
...
@@ -291,39 +291,11 @@ class CompatData:
#create font files symlinks
self
.
create_fonts_symlinks
()
#copy steam files into place
if
"STEAM_COMPAT_CLIENT_INSTALL_PATH"
in
os
.
environ
:
#modern steam client sets this
steamdir
=
os
.
environ
[
"STEAM_COMPAT_CLIENT_INSTALL_PATH"
]
else
:
#linux-only fallback, really shouldn't get here
steamdir
=
os
.
environ
[
"HOME"
]
+
".steam/root/"
dst
=
self
.
prefix_dir
+
"/drive_c/Program Files (x86)/"
makedirs
(
dst
+
"Steam"
)
filestocopy
=
[
"steamclient.dll"
,
"steamclient64.dll"
,
"Steam.dll"
]
for
f
in
filestocopy
:
if
os
.
path
.
isfile
(
steamdir
+
"/legacycompat/"
+
f
):
dstfile
=
dst
+
"Steam/"
+
f
if
os
.
path
.
isfile
(
dstfile
):
os
.
remove
(
dstfile
)
try_copy
(
steamdir
+
"/legacycompat/"
+
f
,
dstfile
)
#copy openvr files into place
dst
=
self
.
prefix_dir
+
"/drive_c/vrclient/bin/"
makedirs
(
dst
)
try_copy
(
g_proton
.
lib_dir
+
"wine/fakedlls/vrclient.dll"
,
dst
)
try_copy
(
g_proton
.
lib64_dir
+
"wine/fakedlls/vrclient_x64.dll"
,
dst
)
try_copy
(
g_proton
.
lib_dir
+
"wine/dxvk/openvr_api_dxvk.dll"
,
self
.
prefix_dir
+
"/drive_c/windows/syswow64/"
)
try_copy
(
g_proton
.
lib64_dir
+
"wine/dxvk/openvr_api_dxvk.dll"
,
self
.
prefix_dir
+
"/drive_c/windows/system32/"
)
if
"wined3d"
in
g_session
.
compat_config
:
dxvkfiles
=
[
"dxvk_config"
]
dxvkfiles
=
[]
wined3dfiles
=
[
"d3d11"
,
"d3d10"
,
"d3d10core"
,
"d3d10_1"
,
"d3d9"
]
else
:
dxvkfiles
=
[
"d
xvk_config"
,
"d
3d11"
,
"d3d10"
,
"d3d10core"
,
"d3d10_1"
,
"d3d9"
]
dxvkfiles
=
[
"d3d11"
,
"d3d10"
,
"d3d10core"
,
"d3d10_1"
,
"d3d9"
]
wined3dfiles
=
[]
#if the user asked for dxvk's dxgi (dxgi=n), then copy it into place
...
...
@@ -449,10 +421,10 @@ class Session:
self
.
check_environment
(
"PROTON_USE_SECCOMP"
,
"seccomp"
)
if
not
"noesync"
in
self
.
compat_config
:
self
.
env
[
"WINEESYNC"
]
=
"1"
if
"SteamGameId"
in
self
.
env
else
"0"
self
.
env
[
"WINEESYNC"
]
=
"1"
if
not
"nofsync"
in
self
.
compat_config
:
self
.
env
[
"WINEFSYNC"
]
=
"1"
if
"SteamGameId"
in
self
.
env
else
"0"
self
.
env
[
"WINEFSYNC"
]
=
"1"
if
"seccomp"
in
self
.
compat_config
:
self
.
env
[
"WINESECCOMP"
]
=
"1"
...
...
@@ -615,7 +587,7 @@ if __name__ == "__main__":
g_session
.
init_wine
()
g_proton
.
make_default_prefix
()
#
g_proton.make_default_prefix()
g_session
.
init_session
()
...
...
data_from_portwine/scripts/vars
View file @
a00eb137
...
...
@@ -40,8 +40,8 @@ else ###DXVK###
export
vblank_mode
=
1
export
__GL_SYNC_TO_VBLANK
=
1
export
PROTON_USE_WINED3D
=
0
export
PROTON_USE_D9VK
=
0
export
PROTON_USE_VKD3D
=
0
export
PROTON_USE_D9VK
=
1
export
PROTON_USE_VKD3D
=
1
export
PROTON_NO_D3D11
=
0
export
PROTON_NO_D3D10
=
0
export
PROTON_OLD_GL_STRING
=
0
...
...
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