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
fa40eae2
Commit
fa40eae2
authored
May 20, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix log and gamemode
parent
8692507b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
6 deletions
+16
-6
restart
data_from_portwine/scripts/restart
+4
-0
start
data_from_portwine/scripts/start
+1
-1
vars
data_from_portwine/scripts/vars
+10
-4
winetricks
data_from_portwine/scripts/winetricks
+0
-0
winetricks-q-force
data_from_portwine/scripts/winetricks-q-force
+1
-1
No files found.
data_from_portwine/scripts/restart
View file @
fa40eae2
...
...
@@ -2,6 +2,10 @@
# Author: PortWINE-Linux.ru
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
"
${
WINESERVER
}
"
-k
wine_pids
=
$(
ls
-l
/proc/
*
/exe 2>/dev/null |
grep
-E
'wine(64)?-preloader|wineserver'
| perl
-pe
's;^.*/proc/(\d+)/exe.*$;$1;g;'
)
if
!
[
-z
"
${
wine_pids
}
"
]
;
then
kill
-9
${
wine_pids
}
fi
STOP_PORTWINE | pwzen
rm
-f
"
${
config_path
}
/dxvk_on"
data_from_portwine/scripts/start
View file @
fa40eae2
...
...
@@ -2,5 +2,5 @@
# Author: Tergoev M.A.
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
START_PORTWINE
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
|
${
var_gamemode
}
& KILL9_WINEDEVICE
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
>
&2 |
${
var_gamemode
}
>
/dev/null
& KILL9_WINEDEVICE
STOP_PORTWINE
data_from_portwine/scripts/vars
View file @
fa40eae2
...
...
@@ -11,12 +11,14 @@ export gamestart="${PATH_TO_GAME}/.exe"
########################################################################
#__NV_PRIME_RENDER_OFFLOAD=1
#__GLX_VENDOR_LIBRARY_NAME=nvidia
export
MESA_GL_VERSION_OVERRIDE
=
4.4COMPAT
#
export MESA_GL_VERSION_OVERRIDE=4.4COMPAT
export
STAGING_SHARED_MEMORY
=
1
export
PROTON_FORCE_LARGE_ADDRESS_AWARE
=
0
export
PROTON_USE_SECCOMP
=
0
export
WINEDLLOVERRIDES
=
"winemenubuilder.exe=d"
export
WINEDEBUG
=
"-all"
export
DXVK_LOG_LEVEL
=
none
export
VKD3D_DEBUG
=
none
export
kill_winedevice
=
0
export
kill_explorer
=
0
########################################################################
...
...
@@ -28,6 +30,7 @@ then ###OPENGL###
export
vblank_mode
=
0
export
__GL_SYNC_TO_VBLANK
=
0
export
PROTON_USE_WINED3D
=
1
export
PROTON_USE_VKD3D
=
0
export
PROTON_USE_D9VK
=
0
export
PROTON_NO_D3D11
=
0
export
PROTON_NO_D3D10
=
0
...
...
@@ -37,8 +40,8 @@ else ###DXVK###
export
vblank_mode
=
1
export
__GL_SYNC_TO_VBLANK
=
1
export
PROTON_USE_WINED3D
=
0
export
PROTON_USE_D9VK
=
1
#
export PROTON_USE_VKD3D=0
export
PROTON_USE_D9VK
=
0
export
PROTON_USE_VKD3D
=
0
export
PROTON_NO_D3D11
=
0
export
PROTON_NO_D3D10
=
0
export
PROTON_OLD_GL_STRING
=
0
...
...
@@ -48,6 +51,9 @@ else ###DXVK###
fi
########################################################################
cd
"
${
PATH_TO_GAME
}
"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/ProgramData/Agent/data"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/steamuser/Blizzard Entertainment/Battle.net/Cache"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
}
########################################################################
ADD_IN_STOP_PORTWINE
()
...
...
@@ -57,6 +63,6 @@ echo " "
########################################################################
ADD_IN_POST_INSTALL
()
{
rm
-f
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/ProgramData/Battle.net/Agent/product.db"
`
zenity
--info
--title
"
${
inst_set_top
}
"
--text
"
${
inst_succ
}
"
--no-wrap
`
>
/dev/null 2>&1
}
########################################################################
data_from_portwine/scripts/winetricks
View file @
fa40eae2
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/winetricks-q-force
View file @
fa40eae2
...
...
@@ -8,5 +8,5 @@ chmod +x "${link}/winetricks"
sed
-i
'2a . $(dirname $(readlink -f "$0"))/runlib\nSTART_PORTWINE\nexport WINELOADER="${PORT_WINE_PATH}/data/wine/bin/wine" '
"
${
link
}
/winetricks"
sleep
1
export
WINEDEBUG
=
""
"/usr/bin/xterm"
-e
"sh
${
link
}
/winetricks -q
--force
"
"/usr/bin/xterm"
-e
"sh
${
link
}
/winetricks -q"
STOP_PORTWINE
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