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
cbf96481
Commit
cbf96481
authored
Oct 12, 2022
by
castro-fidel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2136
parent
c826f585
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
59 additions
and
9 deletions
+59
-9
changelog_eng
data_from_portwine/changelog_eng
+3
-0
changelog_rus
data_from_portwine/changelog_rus
+3
-0
lgc.png
data_from_portwine/img/gui/lgc.png
+0
-0
wgc
data_from_portwine/scripts/portwine_db/wgc
+3
-1
PW_LGC
data_from_portwine/scripts/pw_autoinstall/PW_LGC
+37
-0
runlib
data_from_portwine/scripts/runlib
+2
-6
start.sh
data_from_portwine/scripts/start.sh
+10
-1
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog_eng
View file @
cbf96481
...
...
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: boosty.to/linu
-----------------------------------------
Changelog:
###Scripts version 2136###
* added "Lesta Game Center" in AUTOINSTALL
###Scripts version 2135###
* updated PROTON_GE_7-37 (updated dxvk and vkd3d)
...
...
data_from_portwine/changelog_rus
View file @
cbf96481
...
...
@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2136###
* добавлен автоустановщик "Lesta Game Center" и автоматическое обновление ярлыков, при условии что LGC уже утановлен, но запущен ярлык для WGC.
###Scripts version 2135###
* обновлен "PROTON_GE" до версии 7-37 (версии dxvk и vkd3d обновлены)
...
...
data_from_portwine/img/gui/lgc.png
0 → 100644
View file @
cbf96481
621 Bytes
data_from_portwine/scripts/portwine_db/wgc
View file @
cbf96481
...
...
@@ -2,8 +2,10 @@
#Author: PortWINE
#wgc.exe
#wgc_api.exe
#lgc_api.exe
#lgc.exe
#Rating=5
export
PW_COMMENT_DB
=
"Wargaming
Game Center
"
export
PW_COMMENT_DB
=
"Wargaming
and Lesta Game Centers
"
################################################
export
PW_WINE_USE
=
PROTON_GE
export
PW_VULKAN_USE
=
1
#dxvk, vkd3d or 0 for OpenGL
...
...
data_from_portwine/scripts/pw_autoinstall/PW_LGC
0 → 100644
View file @
cbf96481
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/Lesta_Game_Center_Install_RU.exe"
try_download_lgc
()
{
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./'
|
\
"
${
pw_yad_new
}
"
--center
--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
if
[[
-f
"
$WINEPREFIX
/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe"
]]
;
then
if
[[
!
-f
"
$WINEPREFIX
/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe"
]]
;
then
try_remove_file
"
${
HOME
}
/.local/share/applications/Wargaming Game Center.desktop"
try_remove_file
"
${
PORT_WINE_PATH
}
/Wargaming Game Center.desktop"
fi
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Lesta Game Center"
portwine_exe
=
"
$WINEPREFIX
/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe"
portwine_create_shortcut
else
if
try_download_lgc
"redirect.lesta.ru/LGC/Lesta_Game_Center_Install_RU.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
then
pw_start_progress_bar_block
"Starting LGC installation..."
pw_kill_autostart lgc.exe &
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
$WINEPREFIX
/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe"
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Lesta Game Center"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
kill_portwine
portwine_create_shortcut
fi
fi
stop_portwine
data_from_portwine/scripts/runlib
View file @
cbf96481
...
...
@@ -649,19 +649,15 @@ fi
.
"
${
PORT_SCRIPTS_PATH
}
"
/lang
.
"
${
PORT_SCRIPTS_PATH
}
"
/zen_yad_gui
export
urlg
=
"https://
https://
linux-gaming.ru/portproton/"
export
urlg
=
"https://linux-gaming.ru/portproton/"
export
PW_WINELIB
=
"
${
PORT_WINE_TMP_PATH
}
/libs
${
PW_LIBS_VER
}
"
try_remove_dir
"
${
PW_WINELIB
}
/var"
export
PW_GUI_ICON_PATH
=
"
${
PORT_WINE_PATH
}
/data/img/gui"
export
install_ver
=
`
cat
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_ver"
|
head
-n
1
`
if
[[
"
${
install_ver
}
"
==
97
]]
;
then
export
install_ver
=
"1.0"
echo
"1.0"
>
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_ver"
fi
export
WINETRICKS_DOWNLOADER
=
"curl"
export
USER_CONF
=
"
${
PORT_WINE_PATH
}
/data/user.conf"
check_user_conf
sed
-i
's/ PP_/ PW_/g'
"
${
USER_CONF
}
"
#
sed -i 's/ PP_/ PW_/g' "${USER_CONF}"
if
[[
!
-d
"
${
HOME
}
/PortWINE"
]]
&&
[[
-d
"
${
HOME
}
/.local/share/PortWINE/PortProton/"
]]
;
then
ln
-s
"
${
HOME
}
/.local/share/PortWINE/"
"
${
HOME
}
"
fi
...
...
data_from_portwine/scripts/start.sh
View file @
cbf96481
...
...
@@ -56,7 +56,7 @@ portwine_launch () {
PORTWINE_BAT
=
$(
basename
"
${
portwine_exe
}
"
|
grep
.bat
)
if
[[
-n
"
${
PW_VIRTUAL_DESKTOP
}
"
&&
"
${
PW_VIRTUAL_DESKTOP
}
"
==
"1"
]]
;
then
pw_screen_resolution
=
$(
xrandr
--current
|
grep
"*"
|
awk
'{print $1;}'
|
head
-1
)
pw_run explorer
"/desktop=
portwine
,
${
pw_screen_resolution
}
"
${
WINE_WIN_START
}
"
$portwine_exe
"
pw_run explorer
"/desktop=
PortProton
,
${
pw_screen_resolution
}
"
${
WINE_WIN_START
}
"
$portwine_exe
"
elif
[
-n
"
${
PORTWINE_MSI
}
"
]
;
then
pw_run msiexec /i
"
$portwine_exe
"
elif
[[
-n
"
${
PORTWINE_BAT
}
"
||
-n
"
${
portwine_exe
}
"
]]
;
then
...
...
@@ -440,6 +440,14 @@ gui_credits () {
export
-f
gui_credits
###MAIN###
# HOTFIX WGC TO LGC
if
[[
!
-z
"
$(
echo
${
1
}
|
grep
wgc_api.exe
)
"
]]
&&
[[
!
-f
"
${
1
}
"
]]
;
then
export
PW_YAD_SET
=
PW_LGC
pw_autoinstall_from_db
exit
0
fi
PW_PREFIX_NAME
=
"
$(
echo
"
${
PW_PREFIX_NAME
}
"
|
sed
-e
s/[[:blank:]]/_/g
)
"
PW_ALL_PREFIXES
=
$(
ls
"
${
PORT_WINE_PATH
}
/data/prefixes/"
|
sed
-e
s/
"
${
PW_PREFIX_NAME
}
$"
//g
)
export
PW_PREFIX_NAME PW_ALL_PREFIXES
...
...
@@ -650,6 +658,7 @@ else
--field
=
" GoG Galaxy Launcher"
!
"
$PW_GUI_ICON_PATH
/gog.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_GOG"'
\
--field
=
" Ubisoft Game Launcher"
!
"
$PW_GUI_ICON_PATH
/ubc.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_UBC"'
\
--field
=
" EVE Online Launcher"
!
"
$PW_GUI_ICON_PATH
/eve.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_EVE"'
\
--field
=
" Lesta Game Center"
!
"
$PW_GUI_ICON_PATH
/lgc.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_LGC"'
\
--field
=
" Origin Launcher"
!
"
$PW_GUI_ICON_PATH
/origin.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_ORIGIN"'
\
--field
=
" Rockstar Games Launcher"
!
"
$PW_GUI_ICON_PATH
/Rockstar.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_ROCKSTAR"'
\
--field
=
" vkPlay Games Center"
!
"
$PW_GUI_ICON_PATH
/mygames.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_VKPLAY"'
\
...
...
data_from_portwine/scripts/var
View file @
cbf96481
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=213
5
#SCRIPTS_NEXT_VERSION=213
6
########################################################################
export
PW_MANGOHUD
=
0
export
MANGOHUD_CONFIG
=
cpu_stats,cpu_temp,cpu_mhz,cpu_color
=
2e97cb,cpu_text
=
CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color
=
2e9762,gpu_text
=
GPU,vram,vram_color
=
ad64c1,ram,ram_color
=
c26693,io_color
=
a491d3,frame_timing
=
1,frametime_color
=
00ff00,time,arch,wine,wine_color
=
eb5b5b,engine_color
=
eb5b5b,background_alpha
=
0.2,font_size
=
24,background_color
=
020202,text_color
=
ffffff,toggle_hud
=
Shift_R+F12,resolution,vkbasalt
...
...
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