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
3c928884
Commit
3c928884
authored
Nov 17, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 2051###
parent
65ead2ca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
11 deletions
+31
-11
changelog
data_from_portwine/changelog
+3
-0
League of Legends
data_from_portwine/scripts/portwine_db/League of Legends
+17
-0
PW_LOL
data_from_portwine/scripts/pw_autoinstall/PW_LOL
+10
-10
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
3c928884
...
...
@@ -5,6 +5,9 @@
* добавить проверку количества db файлов на один exe
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2051###
* Добавлена проверка и скачивание актуальной версии WINE для League of Legends перед запуском игры
###Scripts version 2050###
* HOTFIX - отображение версий WINE при создании db файла
...
...
data_from_portwine/scripts/portwine_db/League of Legends
View file @
3c928884
...
...
@@ -41,6 +41,23 @@ export PW_NO_ESYNC=1 # Do not use eventfd-based in-pr
##export PW_USE_TERMINAL=1 # Force run in terminal
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
check_download_wine_ver_for_lol
()
{
if
[
!
-d
"
${
PORT_WINE_PATH
}
/data/dist/
${
PW_WINE_USE
}
"
]
;
then
if
try_download
"https://github.com/Castro-Fidel/wine_builds/releases/download/
${
PW_WINE_USE
}
/
${
PW_WINE_USE
}
.tar.xz"
\
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
;
then
if
unpack_tar_xz
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
"
${
PORT_WINE_PATH
}
/data/dist/"
;
then
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
UNPACK_STATUS
=
0
else
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
try_remove_dir
"
${
PORT_WINE_PATH
}
/data/dist/
${
PW_WINE_USE
}
"
fi
fi
[[
"
${
UNPACK_STATUS
}
"
!=
0
]]
&&
exit
1
fi
}
check_download_wine_ver_for_lol
check_port_for_lol
()
{
pw_start_progress_bar_block
"Loading and start League of Legends. Please wait. It can take a long time!"
process
=
LeagueClientUx.exe
...
...
data_from_portwine/scripts/pw_autoinstall/PW_LOL
View file @
3c928884
...
...
@@ -4,23 +4,23 @@
export
LAUNCH_PARAMETERS
=(
"/q"
)
export
PW_AUTOINSTALL_EXE
=
"
${
WINEPREFIX
}
/drive_c/live.na.exe"
export
LAUNCH_PARAMETERS
=(
"--launch-product=league_of_legends"
"--launch-patchline=live"
)
export
VERSION_WINE_FOR_LOL
=
"WINE_LOL_GE_6.16-3"
export
PW_MUST_HAVE_DLL
=
""
if
[
!
-d
"
${
PORT_WINE_PATH
}
/data/dist/
${
VERSION_WINE_FOR_LOL
}
"
]
;
then
if
try_download
"https://github.com/Castro-Fidel/wine_builds/releases/download/
${
VERSION_WINE_FOR_LOL
}
/
${
VERSION_WINE_FOR_LOL
}
.tar.xz"
\
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_FOR_LOL
}
.tar.xz"
;
then
if
unpack_tar_xz
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_FOR_LOL
}
.tar.xz"
"
${
PORT_WINE_PATH
}
/data/dist/"
;
then
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_FOR_LOL
}
.tar.xz"
export
PW_VULKAN_USE
=
1
export
PW_WINE_USE
=
WINE_LOL_GE_6.16-3
if
[
!
-d
"
${
PORT_WINE_PATH
}
/data/dist/
${
PW_WINE_USE
}
"
]
;
then
if
try_download
"https://github.com/Castro-Fidel/wine_builds/releases/download/
${
PW_WINE_USE
}
/
${
PW_WINE_USE
}
.tar.xz"
\
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
;
then
if
unpack_tar_xz
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
"
${
PORT_WINE_PATH
}
/data/dist/"
;
then
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
UNPACK_STATUS
=
0
else
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
VERSION_WINE_FOR_LOL
}
.tar.xz"
try_remove_dir
"
${
PORT_WINE_PATH
}
/data/dist/
${
VERSION_WINE_FOR_LOL
}
"
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
try_remove_dir
"
${
PORT_WINE_PATH
}
/data/dist/
${
PW_WINE_USE
}
"
fi
fi
[[
"
${
UNPACK_STATUS
}
"
!=
0
]]
&&
exit
1
fi
export
PW_WINE_USE
=
WINE_LOL_GE_6.16-3
export
PW_VULKAN_USE
=
1
start_portwine
if
try_download
"https://lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.na.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
then
...
...
data_from_portwine/scripts/var
View file @
3c928884
#!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=205
0
#SCRIPTS_NEXT_VERSION=205
1
#PORT_NEXT_VERSION=97
########################################################################
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