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
0a346f20
Commit
0a346f20
authored
Dec 01, 2019
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add start from xterm
parent
aae3bd7c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
21 deletions
+18
-21
debug
portwine_run_scripts/debug
+4
-2
runlib
portwine_run_scripts/runlib
+2
-12
start_settings
portwine_run_scripts/start_settings
+12
-7
winetricks
portwine_run_scripts/winetricks
+0
-0
No files found.
portwine_run_scripts/debug
View file @
0a346f20
...
...
@@ -62,9 +62,11 @@ export DXVK_LOG_LEVEL="info"
export
VKD3D_DEBUG
=
"warn"
export
DXVK_HUD
=
"fps,devinfo"
"
${
optirun_on
}
"
"
${
WINELOADER
}
"
"
${
gamestart
}
"
"
${
launch_parameters
}
"
2>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
"
/usr/bin/xterm"
-geometry
150x10
-sb
-e
'"${optirun_on}" "${WINELOADER}" "${gamestart}" "${launch_parameters}" 2>> "${PORT_WINE_PATH}/${portname}.log"'
sleep
5
START_PORTWINE
sleep
3
while
[
$(
pgrep wineserver
)
>
'0'
]
do
sleep
3
...
...
portwine_run_scripts/runlib
View file @
0a346f20
...
...
@@ -139,15 +139,12 @@ fi
# export WINEESYNC=1
# fi
#fi
${
WINESERVER
}
-k
chmod
-R
777
"
${
WINEPREFIX
}
"
${
WINESERVER
}
-k
########################################################################
START_PORTWINE
()
{
chown
-R
"
$USER
"
"
$WINEPREFIX
/drive_c"
chown
-R
"
$USER
"
"
$WINEPREFIX
"
/
*
.reg
gpu
=
"0"
export
DRI_PRIME
=
1
export
optirun_on
=
env
...
...
@@ -210,13 +207,6 @@ export DXVK_STATE_CACHE=0
export
__GL_SHADER_DISK_CACHE_PATH
=
"
${
PATH_TO_GAME
}
"
export
__GL_SHADER_DISK_CACHE
=
1
export
mesa_glthread
=
"true"
if
[
-x
"
`
which nvidia-settings 2>/dev/null
`
"
]
then
export
LD_PRELOAD
=
"libpthread.so.0 libGL.so.1"
export
__GL_THREADED_OPTIMIZATIONS
=
1
fi
}
########################################################################
...
...
portwine_run_scripts/start_settings
View file @
0a346f20
...
...
@@ -55,13 +55,13 @@ case \$xsd in
START_PORTWINE
WINE_DX_TO_OPENGL
OPENGL_SET
"
\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"
;;
"
/usr/bin/xterm" -geometry 150x10 -sb -e '"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"'
;;
"\
${
port_start8
}
")
START_PORTWINE
WINE_DX_TO_VULKAN
VULKAN_SET
"
\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"
;;
"
/usr/bin/xterm" -geometry 150x10 -sb -e '"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"'
;;
esac
...
...
@@ -82,7 +82,8 @@ cat > "${link}/start" <<EOF
. "\
$(
dirname
\$
(
readlink
-f
"
\$
0"
)
)/runlib"
START_PORTWINE
WINE_DX_TO_OPENGL
"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"
OPENGL_SET
"/usr/bin/xterm" -geometry 150x10 -sb -e '"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"'
STOP_PORTWINE
EOF
;;
...
...
@@ -98,7 +99,8 @@ cat > "${link}/start" <<EOF
. "\
$(
dirname
\$
(
readlink
-f
"
\$
0"
)
)/runlib"
START_PORTWINE
WINE_DX_TO_VULKAN
"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"
VULKAN_SET
"/usr/bin/xterm" -geometry 150x10 -sb -e '"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"'
STOP_PORTWINE
EOF
;;
...
...
@@ -114,7 +116,8 @@ cat > "${link}/start" <<EOF
. "\
$(
dirname
\$
(
readlink
-f
"
\$
0"
)
)/runlib"
START_PORTWINE
WINE_DX_TO_VULKAN
"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"
VULKAN_SET
"/usr/bin/xterm" -geometry 150x10 -sb -e '"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"'
STOP_PORTWINE
EOF
;;
...
...
@@ -130,12 +133,14 @@ cat > "${link}/start" <<EOF
. "\
$(
dirname
\$
(
readlink
-f
"
\$
0"
)
)/runlib"
START_PORTWINE
WINE_DX_TO_VULKAN
"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"
VULKAN_SET
"/usr/bin/xterm" -geometry 150x10 -sb -e '"\
${
optirun_on
}
" "\
${
WINELOADER
}
" "\
${
gamestart
}
" "\
${
launch_parameters
}
"'
STOP_PORTWINE
EOF
;;
esac
########################################################################
${
WINESERVER
}
-k
${
WINEBOOT
}
-r
portwine_run_scripts/winetricks
View file @
0a346f20
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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