Skip to content

Commit

Permalink
Scripts version 2350
Browse files Browse the repository at this point in the history
  • Loading branch information
Castro-Fidel committed Sep 24, 2024
1 parent e80bb7c commit 17a2a21
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 26 deletions.
12 changes: 11 additions & 1 deletion data_from_portwine/changelog_en
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:

###Scripts version 2350### / Date: 24.09.2024 / Download update size: 207 megabytes
* updated versions:
* DXVK_GIT "2.4-94"
* VKD3D_GIT "1.1-4191"
* added a translation cache, which greatly improves the responsiveness of the interface (thanks to Htylol)
* fixed launching shortcuts from special. symbols in the title (thanks to Htylol)
* limited number of characters for shortcut names in the "installed" tab (fixes overly wide menu) (thanks to Htylol)
* disabled decoration for HoYoPlay launcher (fixes window capacity) (thanks to Boria138)
* Crossout installation has been moved to a separate prefix and decoration for the launcher has been disabled (corrects the capacity in the window)

###Scripts version 2349### / Date: 18.09.2024 / Download update size: 4 megabytes
* fixed video driver path forwarding for future versions of ALT Linux (p11)

###Scripts version 2348### / Date: 17.09.2024 / Download update size: 4 megabytes
* updated versions:
* DXVK_GIT "2.3.1-120"
* DXVK_GIT "2.4-41"
* VKD3D_GIT "1.1-4110"

###Scripts version 2347### / Date: 16.09.2024 / Download update size: 4 megabytes
Expand Down
12 changes: 11 additions & 1 deletion data_from_portwine/changelog_ru
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@
-----------------------------------------
История изменений:

###Scripts version 2350### / Дата: 24.09.2024 / Размер скачиваемого обновления: 207 мегабайт
* обновлены версии:
* DXVK_GIT "2.4-94"
* VKD3D_GIT "1.1-4191"
* добавлен кэш переводов, что сильно улучшает отзывчивость интерфейса (спасибо Htylol)
* исправлен запуск ярлыков со спец. символами в названии (спасибо Htylol)
* ограничено количество символов для названия ярлыков во вкладке "установленные" (исправляет чрезмерно широкое меню) (спасибо Htylol)
* отключена декорация для лончера HoYoPlay (исправляет вместимость в окне) (спасибо Boria138)
* установка Crossout вынесена в отдельный префикс и отключена декорация для лончера (исправляет вместимость в окне)

###Scripts version 2349### / Дата: 18.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* исправлено определение путей видеодрайвера для будущих версий ALT Linux (p11)

###Scripts version 2348### / Дата: 17.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* обновлены версии:
* DXVK_GIT "2.3.1-120"
* DXVK_GIT "2.4-41"
* VKD3D_GIT "1.1-4110"

###Scripts version 2347### / Дата: 16.09.2024 / Размер скачиваемого обновления: 4 мегабайт
Expand Down
11 changes: 7 additions & 4 deletions data_from_portwine/locales/PortProton.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-24 11:33+0300\n"
"POT-Creation-Date: 2024-09-24 13:23+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -68,7 +68,7 @@ msgstr ""
msgid "Edit database file for"
msgstr ""

msgid "Settings user.conf"
msgid "Global settings"
msgstr ""

msgid "Settings for user.conf"
Expand Down Expand Up @@ -137,6 +137,9 @@ msgstr ""
msgid "Change language"
msgstr ""

msgid "Global settings (user.conf)"
msgstr ""

msgid "Scripts from backup"
msgstr ""

Expand Down Expand Up @@ -1351,7 +1354,7 @@ msgstr ""
msgid "Enable"
msgstr ""

msgid "Change settings for"
msgid "Change global settings"
msgstr ""

msgid "Change mirror to"
Expand Down Expand Up @@ -1404,7 +1407,7 @@ msgstr ""
msgid "Allows you to select a theme for PortProton"
msgstr ""

msgid "SETTINGS USER.CONF"
msgid "GLOBAL SETTINGS (USER.CONF)"
msgstr ""

msgid "Open the <b>user.conf</b> settings file in a system text editor to "
Expand Down
17 changes: 12 additions & 5 deletions data_from_portwine/locales/es/LC_MESSAGES/PortProton.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-19 23:26+0500\n"
"POT-Creation-Date: 2024-09-24 13:23+0300\n"
"PO-Revision-Date: 2024-09-19 23:35+0500\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -73,8 +73,9 @@ msgstr "Configuración básica"
msgid "Edit database file for"
msgstr "Editar archivo de base de datos para"

msgid "Settings user.conf"
msgstr "Configuración user.conf"
#, fuzzy
msgid "Global settings"
msgstr "Configuración básica"

msgid "Settings for user.conf"
msgstr "Configuración user.conf"
Expand Down Expand Up @@ -151,6 +152,10 @@ msgstr "Lista de cambios"
msgid "Change language"
msgstr "Cambiar idioma"

#, fuzzy
msgid "Global settings (user.conf)"
msgstr "Configuración user.conf"

msgid "Scripts from backup"
msgstr "Scripts desde la copia de seguridad"

Expand Down Expand Up @@ -1772,7 +1777,8 @@ msgstr "Desactivar"
msgid "Enable"
msgstr "Permitir"

msgid "Change settings for"
#, fuzzy
msgid "Change global settings"
msgstr "Cambiar la configuración de"

msgid "Change mirror to"
Expand Down Expand Up @@ -1841,7 +1847,8 @@ msgstr "Temas de interfaz gráfica de usuario elegidos"
msgid "Allows you to select a theme for PortProton"
msgstr "Le permite seleccionar un tema para PortProton"

msgid "SETTINGS USER.CONF"
#, fuzzy
msgid "GLOBAL SETTINGS (USER.CONF)"
msgstr "AJUSTES USUARIO.CONF"

msgid ""
Expand Down
25 changes: 16 additions & 9 deletions data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-19 23:26+0500\n"
"POT-Creation-Date: 2024-09-24 13:23+0300\n"
"PO-Revision-Date: 2024-09-19 23:32+0500\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru_RU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.4.4\n"

msgid ""
Expand Down Expand Up @@ -73,8 +73,9 @@ msgstr "Основные настройки"
msgid "Edit database file for"
msgstr "Редактировать файл настроек для"

msgid "Settings user.conf"
msgstr "Настройки user.conf"
#, fuzzy
msgid "Global settings"
msgstr "Глобальные настройки"

msgid "Settings for user.conf"
msgstr "Настройки для user.conf"
Expand Down Expand Up @@ -151,6 +152,10 @@ msgstr "История изменений"
msgid "Change language"
msgstr "Сменить язык"

#, fuzzy
msgid "Global settings (user.conf)"
msgstr "Глобальные настройки (user.conf)"

msgid "Scripts from backup"
msgstr "Откатить версию скриптов"

Expand Down Expand Up @@ -1741,8 +1746,9 @@ msgstr "Выключить"
msgid "Enable"
msgstr "Включить"

msgid "Change settings for"
msgstr "Изменить настройки для"
#, fuzzy
msgid "Change global settings"
msgstr "Изменить глобальные настройки"

msgid "Change mirror to"
msgstr "Сменить зеркало на"
Expand Down Expand Up @@ -1809,8 +1815,9 @@ msgstr "Выбор графической темы"
msgid "Allows you to select a theme for PortProton"
msgstr "Позволяет выбрать тему для PortProton"

msgid "SETTINGS USER.CONF"
msgstr "НАСТРОЙКИ USER.CONF"
#, fuzzy
msgid "GLOBAL SETTINGS (USER.CONF)"
msgstr "ГЛОБАЛЬНЫЕ НАСТРОЙКИ (USER.CONF)"

msgid ""
"Open the <b>user.conf</b> settings file in a system text editor to view and "
Expand Down
4 changes: 2 additions & 2 deletions data_from_portwine/scripts/functions_helper
Original file line number Diff line number Diff line change
Expand Up @@ -4891,7 +4891,7 @@ gui_userconf () {
KEY_USERCONF_GUI=$RANDOM

"${pw_yad}" --plug=$KEY_USERCONF_GUI --tabnum="1" --form --columns=2 --separator=" " --text-align=center \
--text "${translations[Change settings for]} <b>user.conf</b>\n ${translations[<b>NOTE:</b> To display help for each item, simply hover your mouse over the text]}" \
--text "${translations[Change global settings]} <b>(edit user.conf)</b>\n ${translations[<b>NOTE:</b> To display help for each item, simply hover your mouse over the text]}" \
--align-buttons --homogeneous-column --gui-type-text="${PANED_GUI_TYPE_TEXT_UP}" --gui-type-layout="${PANED_GUI_TYPE_LAYOUT_UP}" \
--field=" ${translations[Change mirror to]} $NEW_MIRROR"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Depending on which mirror is selected, updates will be downloaded from there.]}":"FBTN" '@bash -c "button_click --userconf change_mirror"' \
--field=" ${translations[Change branch to]} $NEW_BRANCH"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Depending on the version of the scripts, PortProton will receive the latest changes first (the DEVEL branch), the STABLE branch is updated later and is stable.]}":"FBTN" '@bash -c "button_click --userconf change_branch"' \
Expand Down Expand Up @@ -4923,7 +4923,7 @@ gui_userconf () {
1> "${PW_TMPFS_PATH}/tmp_yad_userconf_set_cb" 2>/dev/null &

"${pw_yad}" --key=$KEY_USERCONF_GUI --paned --sensitive \
--title="${translations[SETTINGS USER.CONF]}" \
--title="${translations[GLOBAL SETTINGS (USER.CONF)]}" \
--separator=" " --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
--gui-type="settings-paned" \
--button="${translations[CANCEL THE CHANGES]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Cancel the current changes and return to the previous menu]}":1 \
Expand Down
3 changes: 2 additions & 1 deletion data_from_portwine/scripts/pw_autoinstall/PW_CROSSOUT
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/crossout.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Crossout"
# export PW_PREFIX_NAME=DOTNET
export PW_PREFIX_NAME="CROSSOUT"

start_portwine
if try_download "https://yupmaster.gaijinent.com/launcher/current.php?id=CrossoutLauncher" "${PW_AUTOINSTALL_EXE}" no_mirror
Expand All @@ -13,6 +13,7 @@ then
pw_kill_autostart launcher.exe 3 &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Crossout/launcher.exe"
pw_run reg add "HKEY_CURRENT_USER\Software\Wine\X11 Driver" /v "Decorated" /t REG_SZ /d "N" /f
pw_create_unique_exe "crossout_launcher_pp"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
Expand Down
6 changes: 3 additions & 3 deletions data_from_portwine/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ if [[ -f "${portwine_exe}" ]] ; then
"${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_NOTEBOOK_COLUMNS}" --align-buttons --homogeneous-column \
--gui-type-layout="${START_GUI_TYPE_LAYOUT_NOTEBOOK}" \
--field=" ${translations[Base settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Edit database file for]} ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
--field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
--field=" ${translations[Global settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
--field=" ${translations[Open directory]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Open directory with <b>.ppdb</b> file]}":"FBTN" '@bash -c "button_click --start open_game_folder"' \
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)]}":"FBTN" '@bash -c "button_click --start 120"' \
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)]}":"FBTN" '@bash -c "button_click --start 122"' \
Expand Down Expand Up @@ -665,7 +665,7 @@ if [[ -f "${portwine_exe}" ]] ; then
--gui-type-layout="${START_GUI_TYPE_LAYOUT_PANED}" \
--align-buttons --homogeneous-row --homogeneous-column \
--field=" ${translations[Base settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Edit database file for]} ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
--field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
--field=" ${translations[Global settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
--field=" ${translations[Open directory]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Open directory with <b>.ppdb</b> file]}":"FBTN" '@bash -c "button_click --start open_game_folder"' \
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)]}":"FBTN" '@bash -c "button_click --start 120"' \
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)]}":"FBTN" '@bash -c "button_click --start 122"' \
Expand Down Expand Up @@ -774,7 +774,7 @@ else
--field=" ${translations[Update PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_update"' \
--field=" ${translations[Changelog]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal open_changelog"' \
--field=" ${translations[Change language]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal change_loc"' \
--field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal 128"' \
--field=" ${translations[Global settings (user.conf)]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal 128"' \
--field=" ${translations[Scripts from backup]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_open_scripts_from_backup"' \
--field=" Xterm"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal pw_start_cont_xterm"' \
--field=" ${translations[Credits]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_credits"' \
Expand Down

0 comments on commit 17a2a21

Please sign in to comment.