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
Vladislav
PortWINE
Commits
337a639d
Commit
337a639d
authored
May 27, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check xneur, check primusrun and optirun
parent
c4191d2b
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
39 additions
and
25 deletions
+39
-25
_loc
data/tmp/_loc
+0
-1
_ver
data/tmp/_ver
+0
-1
dxvk_on
data/tmp/dxvk_on
+0
-1
update_notifier
data/tmp/update_notifier
+0
-1
debug
data_from_portwine/scripts/debug
+2
-1
runlib
data_from_portwine/scripts/runlib
+28
-14
start
data_from_portwine/scripts/start
+2
-1
wineboot
data_from_portwine/scripts/wineboot
+1
-1
winecfg
data_from_portwine/scripts/winecfg
+1
-0
winecmd
data_from_portwine/scripts/winecmd
+1
-1
winefile
data_from_portwine/scripts/winefile
+2
-1
winereg
data_from_portwine/scripts/winereg
+1
-1
winetricks-q-force
data_from_portwine/scripts/winetricks-q-force
+1
-1
No files found.
data/tmp/_loc
deleted
100644 → 0
View file @
c4191d2b
RUS
data/tmp/_ver
deleted
100644 → 0
View file @
c4191d2b
10
data/tmp/dxvk_on
deleted
100644 → 0
View file @
c4191d2b
2
data/tmp/update_notifier
deleted
100644 → 0
View file @
c4191d2b
1
data_from_portwine/scripts/debug
View file @
337a639d
#!/bin/bash
# Author: PortWINE-Linux.ru
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
"
${
WINESERVER
}
"
-k
START_PORTWINE
echo
"
${
port_deb1
}
"
>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
echo
"
${
port_deb2
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
...
...
@@ -70,7 +71,7 @@ export WINE_MONO_TRACE="E:System.NotImplementedException"
#"/usr/bin/xterm" -geometry 130x13 -sb -e 'echo "--------------------------------------------------------PORTWINE-LINUX.RU--------------------------------------------------------" && "${PROTONRUN}" "run" "${gamestart}" "${launch_parameters}" &>> "${PORT_WINE_PATH}/${portname}.log"'
${
var_gamemode
}
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
2>&1
"
${
optirun_on
}
"
"
${
var_gamemode
}
"
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
2>&1
KILL9_WINEDEVICE | pwzen
STOP_PORTWINE | pwzen
...
...
data_from_portwine/scripts/runlib
View file @
337a639d
...
...
@@ -93,20 +93,28 @@ export urlg="http://portwine-linux.ru/donate"
########################################################################
START_PORTWINE
()
{
"
${
WINESERVER
}
"
-k
sh
"
${
link
}
"
/port_update
export
PROTON_NO_FSYNC
=
0
if
[
-x
"
`
which nvidia-settings 2>/dev/null
`
"
]
then
nvidia-settings
-a
[
gpu:0]/GPUPowerMizerMode
=
1
>
/dev/null
# export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json #Использовать только с примусран
export
optirun_on
=
env
if
[
-x
"
`
which primusrun 2>/dev/null
`
"
]
then
export
optirun_on
=
"primusrun"
export
VK_ICD_FILENAMES
=
/usr/share/vulkan/icd.d/nvidia_icd.json
elif
[
-x
"
`
which optirun 2>/dev/null
`
"
]
then
export
optirun_on
=
"optirun -b primus"
export
VK_ICD_FILENAMES
=
/usr/share/vulkan/icd.d/nvidia_icd.json
fi
export
__NV_PRIME_RENDER_OFFLOAD
=
1
export
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
export
__GL_SYNC_TO_VBLANK
=
1
export
__GL_SHADER_DISK_CACHE_PATH
=
"
${
PATH_TO_GAME
}
"
export
__GL_SHADER_DISK_CACHE
=
1
export
__GL_SHADER_DISK_CACHE_SIZE
=
1000000000
export
__GL_THREADED_OPTIMIZATIONS
=
1
# export __NV_PRIME_RENDER_OFFLOAD=1
# export __GLX_VENDOR_LIBRARY_NAME=nvidia
nvidia-settings
-a
[
gpu:0]/GPUPowerMizerMode
=
1
>
/dev/null
else
export
DRI_PRIME
=
1
export
vblank_mode
=
1
...
...
@@ -133,15 +141,18 @@ if [ ! -d "${def_pfx}" ]
then
"
${
PROTONRUN
}
"
"run"
| pwzen
fi
#if grep ESYNC "${WINEDIR}/lib/wine/ntdll.dll.so"|| grep ESYNC "${WINEDIR}/lib64/wine/ntdll.dll.so" &>/dev/null
#then
# if ! ulimit -n 500000 &>/dev/null
# then
export
PROTON_NO_ESYNC
=
1
# else
# export PROTON_NO_ESYNC=0
# fi
#if ! ulimit -n 500000 &>/dev/null
#the
export
PROTON_NO_ESYNC
=
1
#else
# export PROTON_NO_ESYNC=0
#fi
export
int_xneur
=
0
if
[
$(
pgrep xneur
)
>
'0'
]
then
killall xneur
export
int_xneur
=
1
fi
ADD_IN_START_PORTWINE
}
########################################################################
...
...
@@ -172,7 +183,10 @@ STOP_PORTWINE ()
{
WAIT_WINESERVER
ADD_IN_STOP_PORTWINE
sleep
3
if
[
"
$int_xneur
"
-eq
"1"
]
then
xneur &
fi
#killall -r -s9 winedevice
rm
-f
"
${
PORT_WINE_PATH
}
"
/0
rm
-f
"
${
link
}
"
/0
...
...
data_from_portwine/scripts/start
View file @
337a639d
#!/bin/bash
# Author: Tergoev M.A.
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
"
${
WINESERVER
}
"
-k
START_PORTWINE
"
${
var_gamemode
}
"
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
& KILL9_WINEDEVICE
>
&2
"
${
optirun_on
}
"
"
${
var_gamemode
}
"
"
${
PROTONRUN
}
"
"run"
"
${
gamestart
}
"
${
launch_parameters
}
& KILL9_WINEDEVICE
>
&2
STOP_PORTWINE
data_from_portwine/scripts/wineboot
View file @
337a639d
#!/bin/bash
# Author: PortWINE-Linux.ru
.
"
$(
dirname
"
`
readlink
-f
"
$0
"
`
"
)
"
/runlib
"
${
WINESERVER
}
"
-k
rm
-f
${
link
}
/winetricks
"/usr/bin/xterm"
-e
wget
-T
3
--output-document
=
"
${
link
}
/winetricks"
https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod
+x
"
${
link
}
/winetricks"
...
...
data_from_portwine/scripts/winecfg
View file @
337a639d
...
...
@@ -2,6 +2,7 @@
# Author: PortWINE-Linux.ru
runlib_path
=
"
$(
dirname
$(
readlink
-f
"
$0
"
))
"
/runlib
.
"
$runlib_path
"
"
${
WINESERVER
}
"
-k
START_PORTWINE
"
${
PROTONRUN
}
"
"run"
"winecfg"
STOP_PORTWINE
data_from_portwine/scripts/winecmd
View file @
337a639d
...
...
@@ -3,5 +3,5 @@
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
START_PORTWINE
"
${
PROTONRUN
}
"
"run"
"cmd"
"
${
optirun_on
}
"
"
${
var_gamemode
}
"
"
${
PROTONRUN
}
"
"run"
"cmd"
>
&2
STOP_PORTWINE
data_from_portwine/scripts/winefile
View file @
337a639d
...
...
@@ -2,5 +2,6 @@
# Author: PortWINE-Linux.ru
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
START_PORTWINE
${
var_gamemode
}
"
${
PROTONRUN
}
"
"run"
"explorer"
& KILL9_WINEDEVICE
export
WINEDEBUG
=
"fixme-all"
"
${
optirun_on
}
"
${
var_gamemode
}
"
${
PROTONRUN
}
"
"run"
"explorer"
& KILL9_WINEDEVICE
>
&2
STOP_PORTWINE
data_from_portwine/scripts/winereg
View file @
337a639d
#!/bin/bash
# Author: PortWINE-Linux.ru
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
"
${
WINESERVER
}
"
-k
START_PORTWINE
"
${
PROTONRUN
}
"
"run"
"regedit"
STOP_PORTWINE
data_from_portwine/scripts/winetricks-q-force
View file @
337a639d
#!/bin/bash
# Author: PortWINE-Linux.ru
.
"
$(
dirname
"
`
readlink
-f
"
$0
"
`
"
)
"
/runlib
"
${
WINESERVER
}
"
-k
rm
-f
${
link
}
/winetricks
"/usr/bin/xterm"
-e
wget
-T
3
--output-document
=
"
${
link
}
/winetricks"
https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod
+x
"
${
link
}
/winetricks"
...
...
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