Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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-old
Commits
ad6fd6d8
Commit
ad6fd6d8
authored
Oct 16, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 2021###
parent
afcac371
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
17 deletions
+24
-17
changelog
data_from_portwine/changelog
+4
-0
functions_helper
data_from_portwine/scripts/functions_helper
+2
-2
League of Legends
data_from_portwine/scripts/portwine_db/League of Legends
+3
-3
hulk
data_from_portwine/scripts/portwine_db/hulk
+0
-9
PW_WGC
data_from_portwine/scripts/pw_autoinstall/PW_WGC
+10
-1
runlib
data_from_portwine/scripts/runlib
+4
-1
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
ad6fd6d8
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
* добавить комментарии описывающие функционал скриптов и db файлов
* добавить комментарии описывающие функционал скриптов и db файлов
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
-----------------------------------------
###Scripts version 2021###
* HOTFIX - создание каталогов mono и gecko при первом запуске
* Добавлена поддержка работы PortProton под ROSA FRESH R12 (необходимые зависимости опубликованы на сайте)
###Scripts version 2020###
###Scripts version 2020###
* HOTFIX - отрабатывания новой кнопки скачивания PROTON_GE
* HOTFIX - отрабатывания новой кнопки скачивания PROTON_GE
...
...
data_from_portwine/scripts/functions_helper
View file @
ad6fd6d8
...
@@ -91,14 +91,14 @@ try_force_link_dir () {
...
@@ -91,14 +91,14 @@ try_force_link_dir () {
try_download
()
{
try_download
()
{
set
-o
pipefail
set
-o
pipefail
wget
-c
-t
5
-T
2
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
wget
-c
-t
5
-T
3
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
tr
'\r'
'\n'
|
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
tr
'\r'
'\n'
|
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
zenity
--progress
--percentage
=
0
--title
=
"Download
$(
basename
$1
)
"
--text
=
Starting...
--auto-close
--auto-kill
--width
=
500
--height
=
90
zenity
--progress
--percentage
=
0
--title
=
"Download
$(
basename
$1
)
"
--text
=
Starting...
--auto-close
--auto-kill
--width
=
500
--height
=
90
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
}
try_download_silent
()
{
try_download_silent
()
{
wget
-
c
-t
1
-T
2
0
"
$1
"
--output-document
=
"
$2
"
wget
-
t
2
-T
1
0
"
$1
"
--output-document
=
"
$2
"
[
"
$?
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
[
"
$?
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
}
...
...
data_from_portwine/scripts/portwine_db/League of Legends
View file @
ad6fd6d8
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
#LeagueClient.exe
#LeagueClient.exe
#RiotClientServices.exe
#RiotClientServices.exe
#Install League of Legends ru.exe
#Install League of Legends ru.exe
#Install League of Legends n
u
.exe
#Install League of Legends n
a
.exe
#Install League of Legends euw.exe
#Install League of Legends euw.exe
#live.na.exe
#live.na.exe
#Rating=1-5
#Rating=1-5
#####################examples###########################
#####################examples###########################
export
TEXT_OPSSL
=
""
export
TEXT_OPSSL
=
""
[[
-z
`
which openssl
`
]]
&&
export
TEXT_OPSSL
=
"Install openssl in your system!!!
\n
"
[[
-z
`
which openssl
`
]]
&&
export
TEXT_OPSSL
=
"Install openssl in your system!!!
\n
"
export
PW_COMMENT_DB
=
"
${
TEXT_OPSSL
}
Dwnload and start League of Legend can take a long time"
export
PW_COMMENT_DB
=
"
${
TEXT_OPSSL
}
Dwnload and start League of Legend
s
can take a long time"
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export WINEDLLOVERRIDES="blabla=n,b"
...
@@ -44,7 +44,7 @@ export PW_GECKO_VER="2.47.2"
...
@@ -44,7 +44,7 @@ export PW_GECKO_VER="2.47.2"
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
check_port_for_lol
()
{
check_port_for_lol
()
{
pw_start_progress_bar_block
"Download and start League of Legend. Please wait. It can take a long time!"
pw_start_progress_bar_block
"Download and start League of Legend
s
. Please wait. It can take a long time!"
process
=
LeagueClientUx.exe
process
=
LeagueClientUx.exe
while
[[
-z
`
pidof
${
process
}
`
]]
;
do
while
[[
-z
`
pidof
${
process
}
`
]]
;
do
echo
"PID
${
process
}
not found"
echo
"PID
${
process
}
not found"
...
...
data_from_portwine/scripts/portwine_db/hulk
deleted
100644 → 0
View file @
afcac371
#!/bin/bash
#Author: Сергей 33(46)
#hulk.exe
#Rating=1-5
################################################
export
PW_VULKAN_USE
=
0
export
PW_WINDOWS_VER
=
"XP"
export
LAUNCH_PARAMETERS
=
"-d3d9"
export
PW_WINE_USE
=
proton_steam
data_from_portwine/scripts/pw_autoinstall/PW_WGC
View file @
ad6fd6d8
...
@@ -4,8 +4,17 @@
...
@@ -4,8 +4,17 @@
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT"
)
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT"
)
[
"
${
update_loc
}
"
=
"RUS"
]
&&
export
WGC_LOC
=
RU
||
export
WGC_LOC
=
EU
[
"
${
update_loc
}
"
=
"RUS"
]
&&
export
WGC_LOC
=
RU
||
export
WGC_LOC
=
EU
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/Wargaming_Game_Center_Install_WoT_
${
WGC_LOC
}
.exe"
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/Wargaming_Game_Center_Install_WoT_
${
WGC_LOC
}
.exe"
try_download_wgc
()
{
set
-o
pipefail
wget
-t
5
-T
3
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
tr
'\r'
'\n'
|
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
zenity
--progress
--percentage
=
0
--title
=
"Download
$(
basename
$1
)
"
--text
=
Starting...
--auto-close
--auto-kill
--width
=
500
--height
=
90
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
start_portwine
start_portwine
if
try_download
"https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_
${
WGC_LOC
}
.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
if
try_download
_wgc
"https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_
${
WGC_LOC
}
.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
then
then
pw_start_progress_bar_block
"Starting WGC installation..."
pw_start_progress_bar_block
"Starting WGC installation..."
pw_kill_autostart wgc.exe &
pw_kill_autostart wgc.exe &
...
...
data_from_portwine/scripts/runlib
View file @
ad6fd6d8
...
@@ -471,7 +471,10 @@ if [ -d "${PORT_WINE_PATH}/data/dist" ] ; then
...
@@ -471,7 +471,10 @@ if [ -d "${PORT_WINE_PATH}/data/dist" ] ; then
done
done
IFS
=
"
$orig_IFS
"
IFS
=
"
$orig_IFS
"
fi
fi
create_new_dir
"
${
PORT_WINE_TMP_PATH
}
"
create_new_dir
"
${
PORT_WINE_TMP_PATH
}
"
/gecko
create_new_dir
"
${
PORT_WINE_TMP_PATH
}
"
/mono
if
[
-d
"
${
HOME
}
/.PortWINE/"
]
;
then
if
[
-d
"
${
HOME
}
/.PortWINE/"
]
;
then
try_remove_dir
"
${
HOME
}
/.PortWINE/tmp"
try_remove_dir
"
${
HOME
}
/.PortWINE/tmp"
mv
-f
"
${
HOME
}
/.PortWINE"
/
*
"
${
PORT_WINE_TMP_PATH
}
"
mv
-f
"
${
HOME
}
/.PortWINE"
/
*
"
${
PORT_WINE_TMP_PATH
}
"
...
...
data_from_portwine/scripts/var
View file @
ad6fd6d8
#!/bin/bash
#!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru)
#Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=202
0
#SCRIPTS_NEXT_VERSION=202
1
#PORT_NEXT_VERSION=97
#PORT_NEXT_VERSION=97
########################################################################
########################################################################
export
PW_MANGOHUD
=
1
export
PW_MANGOHUD
=
1
...
...
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