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
d7aac3de
Commit
d7aac3de
authored
Dec 16, 2022
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pre-update for PoE
parent
8d03563d
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
48 deletions
+63
-48
poe.png
data_from_portwine/img/gui/poe.png
+0
-0
lang
data_from_portwine/scripts/lang
+12
-5
League of Legends
data_from_portwine/scripts/portwine_db/League of Legends
+1
-34
Path of Exile
data_from_portwine/scripts/portwine_db/Path of Exile
+22
-0
steam
data_from_portwine/scripts/portwine_db/steam
+7
-0
PW_POE
data_from_portwine/scripts/pw_autoinstall/PW_POE
+20
-0
runlib
data_from_portwine/scripts/runlib
+0
-5
start.sh
data_from_portwine/scripts/start.sh
+1
-0
var
data_from_portwine/scripts/var
+0
-4
No files found.
data_from_portwine/img/gui/poe.png
0 → 100755
View file @
d7aac3de
2.87 KB
data_from_portwine/scripts/lang
View file @
d7aac3de
#!/usr/bin/env bash
# Author: linux-gaming.ru
read
"update_loc"
<
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
export
update_loc
=
${
update_loc
}
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
]]
;
then
read
"update_loc"
<
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
export
update_loc
=
${
update_loc
}
fi
if
[
"
${
update_loc
}
"
=
"RUS"
]
then
export
loc_gui_pw_reinstall_pp
=
"Переустановить PORTPROTON"
export
loc_gui_rm_pp
=
"Удалить PORTPROTON"
export
loc_gui_upd_pp
=
"Проверить обновления"
...
...
@@ -209,7 +210,8 @@ then
export
loc_gui_installing_the
=
"Устанавливаем"
export
loc_gui_please_wait
=
"Пожалуйста подождите..."
else
elif
[
"
${
update_loc
}
"
=
"ENG"
]
then
export
loc_gui_installing_the
=
"Installing the"
export
loc_gui_please_wait
=
"Please wait..."
...
...
@@ -313,7 +315,7 @@ else
export
loc_download_other_wine
=
"Download other wine-proton from GITHUB"
#Helped in translation: ConTI1NuEsZZZ
#
Helped in translation: ConTI1NuEsZZZ
export
loc_create_shortcut
=
"Create shortcut for select file..."
export
loc_delete_shortcut
=
"Delete shortcut for select file..."
export
loc_debug
=
"Launch with the creation of a .log file at the root
${
portname
}
"
...
...
@@ -326,4 +328,9 @@ else
export
loc_edit_db
=
"Edit database file for"
export
loc_find_d3dadapter9_error
=
"not found in the system.
\n
Install it and try again."
else
SET_LANG
=
`
zenity
--title
"LAUNGUAGE"
--text
"Select the language"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"RUS"
FALSE
"ENG"
`
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
exit
0
fi
data_from_portwine/scripts/portwine_db/League of Legends
View file @
d7aac3de
...
...
@@ -41,40 +41,7 @@ check_download_wine_ver_for_lol () {
}
check_download_wine_ver_for_lol
# check_port_for_lol () {
# "${pw_yad}" --progress --progress-text="Loading and start League of Legends. Please wait. It can take a long time!" \
# --pulsate --no-buttons --undecorated --center --skip-taskbar --image="${PW_GUI_ICON_PATH}/covers/lol_cover.jpg" --image-on-top > /dev/null 4>&1 &
# PW_YAD_PID_LOL="$!"
# process=LeagueClientUx.exe
# while [[ -z `pidof ${process}` ]] ; do
# echo "PID ${process} not found"
# sleep 1
# done
# uxpid=`pidof ${process}`
# echo "LeagueClientUx pid: ${uxpid}"
# port=$(xargs -0 < /proc/${uxpid}/cmdline | sed -n 's/.*--app-port=\([[:digit:]]*\).*/\1/p')
# if [ ! -n $port ]; then
# echo "Could not find port"
# exit 1
# fi
# echo "Waiting for port ${port}"
# kill -STOP ${uxpid}
# timeout 200m /usr/bin/env bash -c "
# until openssl s_client -connect :${port} <<< Q > /dev/null 2>&1 ; do
# sleep 1
# done"
# kill -CONT ${uxpid}
# kill -s SIGUSR1 "${PW_YAD_PID_LOL}"
# }
add_in_start_portwine
()
{
echo
""
# if [ "$(cat /proc/sys/abi/vsyscall32)" -ne 0 ] ; then
# pw_stop_progress_bar
# zenity --question --title="Fix for LoL anti-cheat" \
# --text='Root rights are required to execute the command: \n"sysctl -w abi.vsyscall32=0"' --no-wrap
# [ "$?" = 1 ] && exit 0
# pkexec /usr/bin/env bash -c 'sysctl -w abi.vsyscall32=0'
# fi
# check_port_for_lol &
}
data_from_portwine/scripts/portwine_db/Path of Exile
0 → 100755
View file @
d7aac3de
#!/usr/bin/env bash
#Author: castro-fidel
#PathOfExile.exe
#PathOfExile_x64.exe
#Rating=1-5
#####################examples###########################
# export WINEDLLOVERRIDES="mscoree,mshtml="
export
LAUNCH_PARAMETERS
=
"--nologo --noasync --nopreload -gc 2"
export
PW_VULKAN_USE
=
1
export
PW_MUST_HAVE_DLL
=
""
# export PW_DLL_INSTALL="riched20 usp10"
export
PW_PREFIX_NAME
=
"PATH_OF_EXILE"
export
PW_NO_FSYNC
=
0
export
PW_NO_ESYNC
=
1
# export PW_DISABLED_CREATE_DB=1
export
PW_USE_D3D_EXTRAS
=
1
#export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
export
PW_WINDOWS_VER
=
7
add_in_start_portwine
()
{
echo
""
}
data_from_portwine/scripts/portwine_db/steam
View file @
d7aac3de
...
...
@@ -10,3 +10,10 @@ export WINEDLLOVERRIDES="libglesv2,lsteamclient="
export
LAUNCH_PARAMETERS
=
"-no-cef-sandbox"
export
PW_VULKAN_USE
=
1
# export PW_WINE_USE=PROTON_GE
add_in_start_portwine
()
{
echo
"Disabled silent autostart steam."
if
[[
-f
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/user.reg"
]]
;
then
sed
-i
'/steam.exe\\" -silent"/d'
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/user.reg"
fi
}
data_from_portwine/scripts/pw_autoinstall/PW_POE
0 → 100755
View file @
d7aac3de
#!/usr/bin/env bash
# Author: Castro Fidel (linux-gaming.ru)
########################################################################
export
LAUNCH_PARAMETERS
=(
"/S"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/PathOfExileInstaller.exe"
export
PW_PREFIX_NAME
=
"PATH_OF_EXILE"
start_portwine
if
try_download
"https://web.poecdn.com/protected/downloads/PathOfExileInstaller.exe?key=lpKVe-ZJOqVrur8612s8gg"
"
${
PW_AUTOINSTALL_EXE
}
"
then
pw_start_progress_bar_block
"
${
loc_gui_installing_the
}
Path of Exile.
${
loc_gui_please_wait
}
"
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
$WINEPREFIX
/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
kill_portwine
pw_stop_progress_bar
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Path of Exile"
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/runlib
View file @
d7aac3de
...
...
@@ -651,11 +651,6 @@ cd "${PORT_SCRIPTS_PATH}"
export
PW_PLUGINS_PATH
=
"
${
PORT_WINE_TMP_PATH
}
/plugins
${
PW_PLUGINS_VER
}
"
if
[
!
-f
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
]
;
then
SET_LANG
=
`
zenity
--title
"LAUNGUAGE"
--text
"Select the language"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"RUS"
FALSE
"ENG"
`
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
fi
.
"
${
PORT_SCRIPTS_PATH
}
"
/lang
.
"
${
PORT_SCRIPTS_PATH
}
"
/zen_yad_gui
...
...
data_from_portwine/scripts/start.sh
View file @
d7aac3de
...
...
@@ -706,6 +706,7 @@ else
--field
=
" Warframe"
!
"
$PW_GUI_ICON_PATH
/warframe.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_WARFRAME"'
\
--field
=
" Panzar"
!
"
$PW_GUI_ICON_PATH
/panzar.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_PANZAR"'
&
# --field=" Path of Exile (TEST)"!"$PW_GUI_ICON_PATH/poe.png"!"":"FBTN" '@bash -c "button_click PW_POE"'
# --field=" Guild Wars 2"!"$PW_GUI_ICON_PATH/gw2.png"!"":"FBTN" '@bash -c "button_click PW_GUILD_WARS_2"'
# --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PW_BETHESDA"'
...
...
data_from_portwine/scripts/var
View file @
d7aac3de
...
...
@@ -88,8 +88,4 @@ pw_other_fixes ()
fi
fi
fi
#disabled silent autostart steam
# if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg" ]] ; then
# sed -i '/steam.exe\\" -silent"/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg"
# 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