Commit 07e7ab84 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2281

parent f5014780
......@@ -2,6 +2,11 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2281### Date: 18.04.2024 / Download update size: 15 megabytes
* the PortProton script update window has been updated
* icons for the interface have been translated from png to svg (thanks to Dervart)
* fixed the native version of PortProton on SteamDeck (We strongly recommend switching to the flatpak version for SteamDeck!)
###Scripts version 2280### Date: 16.04.2024 / Download update size: 15 megabytes
* minor fixes for SteamDeck + flatpak
......
......@@ -2,13 +2,18 @@
-----------------------------------------
История изменений:
###Scripts version 2281### Дата: 18.04.2024 / Размер скачиваемого обновления: 15 мегабайт
* обновлено окно обновления скриптов PortProton
* иконки для интерфейса переведены из png в svg (спасибо Dervart)
* исправлена работа нативной версии PortProton на SteamDeck (Настоятельно рекомендуем перейти на flatpak версию для SteamDeck!)
###Scripts version 2280### Дата: 16.04.2024 / Размер скачиваемого обновления: 15 мегабайт
* небольшие исправления для SteamDeck + flatpak
###Scripts version 2279### Дата: 16.04.2024 / Размер скачиваемого обновления: 15 мегабайт
* улучшения flatpak версии PortProton:
- исправлен запуск игр на SteamDeck в игровом режиме
- исправлены локализации внутри игр на SteamDeck в игровом режиме (требуется выбор руского интерфейса PortProton)
- исправлены локализации внутри игр на SteamDeck в игровом режиме (требуется выбор русского интерфейса PortProton)
- отключено скачивание контейнера steam runtime (уменьшает размер установленого PortProton)
- улучшена функция определения библиотек GALLIUM_NINE
* ВНИМАНИЕ: Не используйте flatpak и нативную версии PortProton на одной системе!
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 64 64"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="download.svg"
inkscape:export-filename="download.png"
inkscape:export-xdpi="24"
inkscape:export-ydpi="24"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="8.7031251"
inkscape:cx="48.54578"
inkscape:cy="43.317773"
inkscape:window-width="2991"
inkscape:window-height="1194"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="matrix(0.13454107,0,0,0.13454107,-2.8135283,-2.3188431)">
<circle
style="fill:#46bac6;fill-opacity:1"
id="path1"
cx="258.75763"
cy="255.0808"
r="237.8456" />
<g
id="g2"
style="fill:#ffffff"
transform="matrix(0.49271292,0,0,0.49271292,129.86574,129.86549)">
<path
class="st0"
d="m 230.546,324.601 c 6.688,6.703 15.969,10.547 25.454,10.547 9.469,0 18.75,-3.844 25.453,-10.547 L 398.422,207.64 c 14.062,-14.054 14.062,-36.851 0,-50.906 -14.062,-14.062 -36.859,-14.062 -50.906,0 v -0.007 L 292,212.242 V 38.188 c 0,-19.883 -16.125,-36 -36,-36 -19.89,0 -36,16.117 -36,36 v 174.046 l -55.5,-55.5 c -14.062,-14.062 -36.859,-14.062 -50.906,-0.007 -14.062,14.062 -14.062,36.859 0,50.914 z"
id="path1-2"
style="fill:#ffffff" />
<path
class="st0"
d="M 473.453,383.148 H 333.406 c -13.36,29.469 -42.954,50 -77.406,50 -34.454,0 -64.047,-20.531 -77.39,-50 H 38.562 C 17.266,383.148 0,400.406 0,421.696 v 49.562 c 0,21.297 17.266,38.554 38.562,38.554 h 434.89 c 21.297,0 38.547,-17.258 38.547,-38.554 V 421.696 C 512,400.406 494.75,383.148 473.453,383.148 Z"
id="path2"
style="fill:#ffffff" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 64 64"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="error.svg"
inkscape:export-filename="download.png"
inkscape:export-xdpi="24"
inkscape:export-ydpi="24"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="6.1540388"
inkscape:cx="42.49242"
inkscape:cy="9.424705"
inkscape:window-width="2991"
inkscape:window-height="1194"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="matrix(0.13454107,0,0,0.13454107,-2.8135283,-2.3188431)">
<circle
style="fill:#46bac6;fill-opacity:1"
id="path1"
cx="258.75763"
cy="255.0808"
r="237.8456" />
</g>
<path
id="rect3"
style="fill:#ffffff;fill-rule:evenodd;stroke:#46bac6;stroke-width:0"
d="m 45.529335,18.469678 c -1.018484,-1.018484 -2.784312,-0.892092 -3.959522,0.283119 l -9.56942,9.569419 -9.569419,-9.569419 c -1.175211,-1.17521 -2.94242,-1.300221 -3.960903,-0.281738 -1.018484,1.018483 -0.892091,2.784311 0.283119,3.959522 L 28.322609,32 l -9.56942,9.56942 c -1.17521,1.175211 -1.301603,2.941039 -0.283118,3.959523 1.018484,1.018482 2.784311,0.892091 3.959521,-0.28312 l 9.56942,-9.56942 9.570801,9.570801 c 1.17521,1.17521 2.941038,1.301602 3.959521,0.283119 1.018484,-1.018483 0.893473,-2.785693 -0.281737,-3.960903 l -9.570801,-9.570801 9.56942,-9.569419 c 1.17521,-1.175211 1.301603,-2.941039 0.283119,-3.959522 z" />
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 64 64"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="info.svg"
inkscape:export-filename="download.png"
inkscape:export-xdpi="24"
inkscape:export-ydpi="24"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="12.308078"
inkscape:cx="59.919999"
inkscape:cy="30.224054"
inkscape:window-width="2991"
inkscape:window-height="1194"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="matrix(0.13454107,0,0,0.13454107,-2.8135283,-2.3188431)">
<circle
style="fill:#46bac6;fill-opacity:1"
id="path1"
cx="258.75763"
cy="255.0808"
r="237.8456" />
</g>
<path
style="font-size:54.913px;line-height:0px;font-family:Circe;-inkscape-font-specification:Circe;text-align:center;text-anchor:middle;fill:#ffffff;fill-rule:evenodd;stroke:#46bac6;stroke-width:0"
d="m 29.226894,15.420605 c 0,-0.768782 0.274565,-1.391129 0.823695,-1.867042 0.54913,-0.512521 1.22639,-0.768782 2.031781,-0.768782 0.768782,0 1.409434,0.256261 1.921955,0.768782 0.512521,0.475913 0.768782,1.09826 0.768782,1.867042 0,0.841999 -0.256261,1.537564 -0.768782,2.086694 -0.512521,0.512521 -1.153173,0.768782 -1.921955,0.768782 -0.805391,0 -1.482651,-0.256261 -2.031781,-0.768782 -0.54913,-0.54913 -0.823695,-1.244695 -0.823695,-2.086694 z"
id="path2" />
<rect
style="fill:#ffffff;fill-rule:evenodd;stroke:#46bac6;stroke-width:0"
id="rect2"
width="4.5960503"
height="28.840216"
x="29.701975"
y="21"
rx="2"
ry="2" />
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 64 64"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="question.svg"
inkscape:export-filename="download.png"
inkscape:export-xdpi="24"
inkscape:export-ydpi="24"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="12.308078"
inkscape:cx="35.545762"
inkscape:cy="25.511701"
inkscape:window-width="2991"
inkscape:window-height="1194"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="matrix(0.13454107,0,0,0.13454107,-2.8135283,-2.3188431)">
<circle
style="fill:#46bac6;fill-opacity:1"
id="path1"
cx="258.75763"
cy="255.0808"
r="237.8456" />
</g>
<path
style="font-size:54.913px;line-height:0px;font-family:Circe;-inkscape-font-specification:Circe;text-align:center;text-anchor:middle;fill:#ffffff;fill-rule:evenodd;stroke:#46bac6;stroke-width:0"
d="m 38.41412,22.856986 c 0,-1.683999 -0.640651,-3.111737 -1.921954,-4.283214 -1.244695,-1.171477 -2.837172,-1.757216 -4.777431,-1.757216 -3.148345,0 -5.710952,1.354521 -7.68782,4.063562 -1.490304,1.033702 -4.342975,-0.248439 -2.635824,-2.910389 1.025043,-1.683999 2.489389,-3.020215 4.39304,-4.008649 1.903651,-1.025043 3.97204,-1.537564 6.205169,-1.537564 3.404606,0 6.113647,0.915217 8.127123,2.74565 2.013477,1.793825 3.020215,4.045258 3.020215,6.754299 0,1.720607 -0.292869,3.239867 -0.878608,4.557779 -0.146435,0.366087 -0.311174,0.713869 -0.494217,1.043347 -0.183043,0.329478 -0.402695,0.658956 -0.658956,0.988434 -0.256261,0.292869 -0.475913,0.54913 -0.658956,0.768782 -0.146435,0.183043 -0.402695,0.439304 -0.768782,0.768781 -0.366087,0.292869 -0.622347,0.512521 -0.768782,0.658956 -0.109826,0.109826 -0.384391,0.347782 -0.823694,0.713869 -0.439304,0.329478 -0.713869,0.530826 -0.823695,0.604043 -0.219652,0.183043 -0.530826,0.439304 -0.933521,0.768782 -0.366087,0.292869 -0.658956,0.530826 -0.878608,0.713869 -0.183043,0.183043 -0.439304,0.421 -0.768782,0.713869 -0.329478,0.292869 -0.585739,0.54913 -0.768782,0.768782 -0.183043,0.219652 -0.384391,0.494217 -0.604043,0.823695 -0.219652,0.329478 -0.384391,0.640652 -0.494217,0.933521 -0.07322,0.292869 -0.164739,0.622347 -0.274565,0.988434 -0.07322,0.366087 -0.109826,0.768782 -0.109826,1.208086 0.03661,0.402695 0.09152,0.841999 0.164739,1.317912 -0.401705,1.990093 -3.482544,1.777267 -3.953736,0.05491 -0.658956,-3.477823 0.201348,-6.205169 2.580911,-8.182037 0.366087,-0.292869 0.97013,-0.750478 1.812129,-1.372825 0.878608,-0.658955 1.555868,-1.189781 2.031781,-1.592476 0.475913,-0.439304 1.006738,-0.988434 1.592477,-1.64739 0.622347,-0.658956 1.061651,-1.372825 1.317912,-2.141607 0.292869,-0.768782 0.439303,-1.610781 0.439303,-2.525998 z M 27.541347,48.446443 c 0,-0.805391 0.292869,-1.482651 0.878608,-2.031781 0.585739,-0.585739 1.354521,-0.878608 2.306346,-0.878608 0.768782,0 1.446042,0.292869 2.031781,0.878608 0.585739,0.585739 0.878608,1.262999 0.878608,2.031781 0,0.878608 -0.274565,1.629086 -0.823695,2.251433 -0.54913,0.585739 -1.244695,0.878608 -2.086694,0.878608 -0.951825,0 -1.720607,-0.292869 -2.306346,-0.878608 -0.585739,-0.622347 -0.878608,-1.372825 -0.878608,-2.251433 z"
id="text1"
aria-label="?"
sodipodi:nodetypes="scscccscscscccsccccsssccccccccccssscssscscs" />
</svg>
......@@ -4,11 +4,13 @@
unset update_loc
if [[ -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]] ; then
read "update_loc" < "${PORT_WINE_TMP_PATH}/PortProton_loc"
export update_loc=${update_loc}
update_loc=$(cat "${PORT_WINE_TMP_PATH}/PortProton_loc")
export update_loc
fi
if [[ "${FORCE_ENG_LANG}" == "1" ]] ; then
if ! check_flatpak \
&& [[ -z "${LANG}" ]] ; then
export LANG=C
export update_loc="ENG"
else
if [[ "${update_loc}" == "RUS" || "${update_loc}" == "ENG" ]] && [[ -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]] ; then
......@@ -18,7 +20,7 @@ else
SET_LANG=$("${pw_yad_v13_0}" --title "LAUNGUAGE" --text "Select the language:" --list --radiolist \
--column="Set:" --column "Choose language:" TRUE "RUS" FALSE "ENG" \
--window-icon "$PW_GUI_ICON_PATH/portproton.svg" --width=300 --height=150)
SET_LANG="$(echo $SET_LANG | awk -F'|' '{print $2}')"
SET_LANG="$(echo "${SET_LANG}" | awk -F'|' '{print $2}')"
echo "${SET_LANG}" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
if [[ ! -z "${SET_LANG}" ]]
then export update_loc=${SET_LANG}
......@@ -28,7 +30,7 @@ else
fi
if [[ "${update_loc}" == "RUS" ]] ; then
check_flatpak && export LC_LANG=ru_RU.UTF-8
check_flatpak && export LANG=ru_RU.UTF-8
export loc_gui_pw_reinstall_pp="Переустановить PortProton"
export loc_gui_rm_pp="Удалить PortProton"
......@@ -85,10 +87,10 @@ if [[ "${update_loc}" == "RUS" ]] ; then
export scripts_upd1="Обновление скриптов"
export scripts_upd2="Доступно обновление скриптов для PortProton"
export scripts_upd3="Действие :"
export scripts_upd4=бновить сейчас"
export scripts_upd5=апомнить позже"
export scripts_upd6="Больше не напоминать"
export scripts_upd3="ВЫХОД"
export scripts_upd4=БНОВИТЬ СЕЙЧАС"
export scripts_upd5=АПОМНИТЬ ПОЗЖЕ"
export scripts_upd6="НЕ НАПОМИНАТЬ"
export port_clear_pfx="Вы действительно хотите очистить префикс PortProton?"
......@@ -501,10 +503,10 @@ elif [[ "${update_loc}" == "ENG" ]] ; then
export scripts_upd1="New update for scripts"
export scripts_upd2="Scripts update avialable for PortProton"
export scripts_upd3="Action:"
export scripts_upd4="Updating now"
export scripts_upd5="Remind me later"
export scripts_upd6="Do not remind me"
export scripts_upd3="EXIT"
export scripts_upd4="UPDATING NOW"
export scripts_upd5="REMIND ME LATER"
export scripts_upd6="DO NOT REMIND ME"
export port_clear_pfx="Do you want to clear prefix in PortProton?"
......@@ -860,5 +862,4 @@ A brief instruction:
export loc_gui_terminal="TERMINAL"
export loc_gui_logo="LOGO"
fi
......@@ -383,7 +383,7 @@ else
then PW_GUI_SORT_TABS=(1 2 3 4 5)
else PW_GUI_SORT_TABS=(2 3 4 5 1)
fi
PW_GENERATE_BUTTONS="--field= $loc_create_shortcut_from_gui!${PW_GUI_ICON_PATH}/find_48.png!:FBTN%@bash -c \"button_click pw_find_exe\"%"
PW_GENERATE_BUTTONS="--field= $loc_create_shortcut_from_gui!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click pw_find_exe\"%"
for PW_DESKTOP_FILES in ${PW_ALL_DF} ; do
PW_NAME_D_ICON="$(cat "${PORT_WINE_PATH}/${PW_DESKTOP_FILES}" | grep Icon | awk -F= '{print $2}')"
PW_NAME_D_ICON_48="${PW_NAME_D_ICON//".png"/"_48.png"}"
......
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2280
#SCRIPTS_NEXT_VERSION=2281
########################################################################
export PW_MANGOHUD="0"
export DEFAULT_MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment