Compare commits

...

65 Commits

Author SHA1 Message Date
c991b865d5 STABLE: Scripts version 2425 2025-07-02 14:33:33 +03:00
c1b05f3fc9 Merge branch 'BlackSnaker-espan' into devel 2025-07-02 14:25:03 +03:00
a7b9de582b change mode for Espan PortProton.po 2025-07-02 14:24:54 +03:00
7e1cf18121 Merge branch 'espan' of github.com:BlackSnaker/PortWINE into BlackSnaker-espan 2025-07-02 14:21:59 +03:00
ca7beb8881 check_nvidia_rtx: minor changes 2025-07-02 14:20:06 +03:00
eadfe34312 Merge branch 'Boria138-rtx' into devel 2025-07-02 14:14:36 +03:00
79777d64cb update es translation 2025-07-01 20:03:20 +03:00
9bc61abcd4 refactor: rewrite check_nvidia_rtx to identify RTX cards by excluding non-RTX patterns
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-01 19:29:08 +05:00
b618fd2c63 Merge branch 'devel' 2025-07-01 13:10:19 +03:00
e36de1a1a0 STABLE: Scripts version 2424 2025-07-01 13:09:31 +03:00
a954a23821 Scripts version 2423 2025-07-01 13:06:45 +03:00
89354ddb8d used WINE_HYP_10-10 for HoYoPlay 2025-07-01 13:06:17 +03:00
ca040ffcf6 Scripts version 2422 2025-06-25 19:03:55 +03:00
8d63f8d6de force restart PP if START_FROM_STEAM = 1 2025-06-25 18:56:10 +03:00
081d2b9b18 wayland: fixed fullscreen and work with other wine 2025-06-25 18:34:00 +03:00
db47c53a48 Scripts version 2421 2025-06-24 16:11:01 +03:00
04674915c4 PW_VULKAN_USE=2 for WGC too 2025-06-24 15:55:12 +03:00
cf678324b4 Merge branch 'zorn-v-patch-5' into devel 2025-06-24 15:51:30 +03:00
543290d65d Merge branch 'patch-5' of github.com:zorn-v/PortWINE into zorn-v-patch-5 2025-06-24 15:51:21 +03:00
a0170d1bc3 Update lgc.ppdb 2025-06-24 22:46:30 +10:00
e0aef4473d always show USE_NATIVE_WAYLAND and USE_DXVK_HDR in settings 2025-06-24 15:39:35 +03:00
fe4327e39b silent create desktop files then START_FROM_STEAM = 1 2025-06-24 15:29:41 +03:00
51f6bf56d8 updated pot file and RU locales 2025-06-24 14:45:03 +03:00
94e64da151 added DXVK_HDR support for Wayland 2025-06-24 14:43:24 +03:00
5f3c969e6d updated PW_USE_NATIVE_WAYLAND for new WINE-PROTON 2025-06-24 13:22:00 +03:00
3578867657 updated DXVK, VKD3D, WINE_LG and PROTON_LG 2025-06-24 13:19:54 +03:00
7d037f957d Scripts version 2420 2025-06-14 19:58:39 +03:00
cbc2edea62 added USE_ONLY_LG_RU=1 for use only linux-gaming.ru for all updates 2025-06-14 19:57:57 +03:00
68ac3ae133 Merge branch 'devel' of github.com:if984/PortWINE into devel 2025-06-14 18:40:20 +03:00
9d832733cf Merge branch 'Boria138-inihibit' into devel 2025-06-14 18:38:26 +03:00
e50b2065ff Merge branch 'inihibit' of github.com:Boria138/PortWINE into Boria138-inihibit 2025-06-14 18:38:15 +03:00
332ce3a1c3 Merge branch 'alex2844-script_path_symlinks' into devel 2025-06-14 18:35:17 +03:00
4f0fac9aa0 Merge branch 'script_path_symlinks' of github.com:alex2844/PortWINE into alex2844-script_path_symlinks 2025-06-14 18:35:02 +03:00
644df9076f Merge branch 'alex2844-fix_egs' into devel 2025-06-14 18:32:52 +03:00
9342f087c4 Merge branch 'fix_egs' of github.com:alex2844/PortWINE into alex2844-fix_egs 2025-06-14 18:32:37 +03:00
ad1f2db327 do not change inactive settings 2025-06-14 18:27:21 +03:00
95142305d9 fixed to get legacy vulkan version from ppdb 2025-06-14 17:53:44 +03:00
f330a1790d Merge branch 'Htylol-update_gallium_nine_func' into devel 2025-06-14 17:49:59 +03:00
Max
d0d134ed51 Updated icons 2025-06-04 16:32:36 +03:00
7d3d0031f7 Refactoring for 3D api 2025-06-03 10:25:37 +05:00
5e39bf3ae3 Use WINE_D3D_CONFIG=renderer=gl for default 2025-05-30 01:59:26 +05:00
d2dc2cb2de Update locales 2025-05-30 01:31:04 +05:00
595363adbf Many changes for 3D api 2025-05-30 01:30:29 +05:00
4eed47196e fix: inhibit only sleep and idle not shutdown
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-05-29 16:29:08 +05:00
1018c3b2fa fix: Take first PID from pgrep for EGS 2025-05-29 01:08:56 +05:00
c8288037b7 fix: Use cd/pwd for script path to correctly handle symlinks 2025-05-29 00:49:01 +05:00
a9db4e3bbd Update DISABLE_EDIT_DB_LIST for PW_USE_SUPPLIED_DXVK_VKD3D 2025-05-27 04:13:08 +05:00
280b1b044d Gallium zink and WineD3D vulkan moved to 3D api 2025-05-26 00:37:45 +05:00
a0b8077fc0 Optimizations for PW_USE_SUPPLIED_DXVK_VKD3D 2025-05-24 23:49:51 +05:00
66223080dc Update locales and fix for dgvoodoo2 2025-05-24 23:35:39 +05:00
ea77d55136 Combined damavand with gallium zink. 2025-05-24 23:29:20 +05:00
f7dab19921 Added check for gallium nine 2025-05-24 17:50:28 +05:00
ac812cc19f Merge branch 'devel' 2025-05-24 14:05:25 +03:00
1b0c6c0559 STABLE: Scripts version 2419 2025-05-24 14:04:44 +03:00
87158d1d79 Scripts version 2418 2025-05-24 13:58:47 +03:00
135fcbc306 Fixed icu*.dll path for GE Proton 10+ 2025-05-24 13:46:57 +03:00
565324baf3 Merge branch 'devel' 2025-04-11 12:51:18 +03:00
585b2e6ff8 Merge branch 'devel' 2025-03-22 13:18:20 +03:00
ed22c7f228 Merge branch 'devel' 2025-03-18 20:49:59 +03:00
a8c6ee55e7 Merge branch 'devel' 2025-02-04 22:19:18 +03:00
81d72ff03b Merge branch 'devel' 2024-12-29 16:52:21 +03:00
0e9b795512 Merge branch 'devel' 2024-11-17 13:58:40 +03:00
517179c869 Merge branch 'devel' 2024-11-15 17:48:11 +03:00
3b52417637 Merge branch 'devel' 2024-11-15 17:45:24 +03:00
116d838f4c Scripts version 2379 2024-11-15 17:43:33 +03:00
35 changed files with 409 additions and 276 deletions

View File

@ -2,6 +2,44 @@ You can help us in the development of the project on the website: https://linux-
---------------------------------------- ----------------------------------------
Changelog: Changelog:
###Scripts version 2425### / stable / Дата: 02.07.2025 / Download update size: 4 megabytes
* updated Spanish translation (thanks to BlackSnaker)
* improved NVIDIA RTX GPU detection (thanks to Boria138)
###Scripts version 2424### / stable / Дата: 01.07.2025 / Download update size: 380 megabytes
* cumulative update to the stable version of PortProton scripts
###Scripts version 2423### / Date: 01.07.2025 / Download update size: 4 megabytes
* added new version "WINE_HYP_10-10" to fix launch of game "Genshin Impact"
(to apply fix just use autoinstall HoYoPlay again)
###Scripts version 2422### / Date: 25.06.2025 / Download update size: 4 megabytes
* fixed work of games in full screen when using native wayland
* fixed work of third-party versions of WINE when using native wayland
* quieter mode when using the variable START_FROM_STEAM="1"
###Scripts version 2421### / Date: 24.06.2025 / Download update size: 380 megabytes
* with new versions of WINE and PROTON, launch under native Wayland has been fixed
* WINE_LG has been updated to version "10-10-1" (added support for native Wayland)
* PROTON_LG has been updated to version "10-4" (repackaging from GE-Proton10-4)
* updated versions:
- DXVK_GIT "2.6.1-255" (together with dxvk-nvapi)
- VKD3D_GIT "1.1-4591" (together with vkd3d-shader)
* added a setting to enable HDR in the game (only for Wayland)
* added automatic creation of shortcuts when unpacking a prefix from a backup copy (only with the START_FROM_STEAM="1" variable)
###Scripts version 2420### / Date: 14.06.2025 / Download update size: 4 megabytes
* updated icons in the autoinstall section (thanks to if984)
* improved functions for selecting 3D Api and their additional settings (thanks to Htylol)
* when adding the variable USE_ONLY_LG_RU="1" to user.conf, PortProton updates only from linux-gaming.ru servers
* other small script improvements (thanks to Boria138, alex2844, Htylol)
###Scripts version 2419### / stable / Дата: 24.05.2025 / Download update size: 185 megabytes
* cumulative update to the stable version of PortProton scripts
###Scripts version 2418### / Date: 24.05.2025 / Download update size: 4 megabytes
* сompleted adding full support for third-party GE-Proton versions 10 and above
###Scripts version 2417### / Date: 20.05.2025 / Download update size: 4 megabytes ###Scripts version 2417### / Date: 20.05.2025 / Download update size: 4 megabytes
* fixed of third-party versions of DXVK and VKD3D for GE-Proton10+ (thanks to Htylol) * fixed of third-party versions of DXVK and VKD3D for GE-Proton10+ (thanks to Htylol)
* fixed of GSTREAMER (playing videos) on GE-Proton10+ * fixed of GSTREAMER (playing videos) on GE-Proton10+

View File

@ -2,6 +2,45 @@
----------------------------------------- -----------------------------------------
История изменений: История изменений:
###Scripts version 2425### / stable / Дата: 02.07.2025 / Размер скачиваемого обновления: 4 мегабайта
* обновлен Испанский перевод (спасибо BlackSnaker)
* улучшено определение видеокарт NVIDIA RTX (спасибо Boria138)
###Scripts version 2424### / stable / Дата: 01.07.2025 / Размер скачиваемого обновления: 380 мегабайт
* кумулятивное обновление стабильной версии скриптов PortProton
###Scripts version 2423### / Дата: 01.07.2025 / Размер скачиваемого обновления: 4 мегабайта
* добавлена новая версия "WINE_HYP_10-10" для исправления запуска игры "Genshin Impact"
(для применения исправления просто воспользуйтесь повторно автоустановкой HoYoPlay)
###Scripts version 2422### / Дата: 25.06.2025 / Размер скачиваемого обновления: 4 мегабайта
* исправлена работа игр в полном экране при использовании нативного wayland
* исправлена работа сторонних версий WINE при использовании нативного wayland
* более "тихий" режим при использовании переменной START_FROM_STEAM="1"
###Scripts version 2421### / Дата: 24.06.2025 / Размер скачиваемого обновления: 380 мегабайт
* с новыми версиями WINE и PROTON исправлен запуск под нативным Wayland
* обновлен WINE_LG до версии "10-10-1" (добавлена поддержка нативного Wayland)
* обновлен PROTON_LG до версии "10-4" (перепаковка с GE-Proton10-4)
* обновлены версии:
- DXVK_GIT "2.6.1-255" (совместно с dxvk-nvapi)
- VKD3D_GIT "1.1-4591" (совместно vkd3d-shader)
* добавлена настройка для включения HDR в игре (только для Wayland)
* добавлено автоматическое создание ярлыков при распаковке префикса из резервной копии (только при переменной START_FROM_STEAM="1")
* исправлены возможные артефакты в играх от LGC и WGC (спасибо zorn-v)
###Scripts version 2420### / Дата: 14.06.2025 / Размер скачиваемого обновления: 4 мегабайта
* обновлены иконки в разделе автоустановки (спасибо if984)
* улучшены функции выбора 3D Api и их дополнительных настроек (спасибо Htylol)
* при добавлении переменной USE_ONLY_LG_RU="1" в user.conf, обновления PortProton происходят только с серверов linux-gaming.ru
* другие небольшие улучшения скриптов (спасибо Boria138, alex2844, Htylol)
###Scripts version 2419### / stable / Дата: 24.05.2025 / Размер скачиваемого обновления: 185 мегабайт
* кумулятивное обновление стабильной версии скриптов PortProton
###Scripts version 2418### / Дата: 24.05.2025 / Размер скачиваемого обновления: 4 мегабайта
* завершено добавление полной поддержки сторонних GE-Proton версий 10 и выше
###Scripts version 2417### / Дата: 20.05.2025 / Размер скачиваемого обновления: 4 мегабайта ###Scripts version 2417### / Дата: 20.05.2025 / Размер скачиваемого обновления: 4 мегабайта
* исправлена работа сторонних версий DXVK и VKD3D для GE-Proton10+ (спасибо Htylol) * исправлена работа сторонних версий DXVK и VKD3D для GE-Proton10+ (спасибо Htylol)
* исправлена работа GSTREAMER (отображение видеороликов) на версиях GE-Proton10+ * исправлена работа GSTREAMER (отображение видеороликов) на версиях GE-Proton10+

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
data_from_portwine/img/gui/itch.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -7,7 +7,7 @@
msgid "" msgid ""
msgstr "Project-Id-Version: PACKAGE VERSION\n" msgstr "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-09 02:05+0500\n" "POT-Creation-Date: 2025-06-24 14:35+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -341,10 +341,6 @@ msgstr ""
msgid "Launched" msgid "Launched"
msgstr "" msgstr ""
msgid "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the "
"missing package: <b>d3dadapter9</b>"
msgstr ""
msgid "EXIT" msgid "EXIT"
msgstr "" msgstr ""
@ -520,8 +516,10 @@ msgstr ""
msgid "Force use DirectInput protocol instead of XInput" msgid "Force use DirectInput protocol instead of XInput"
msgstr "" msgstr ""
msgid "Enable experemental native Wayland support (need special wine build " msgid "Enable experemental native Wayland support"
"to work)" msgstr ""
msgid "Enable HDR settings in games with native Wayland"
msgstr "" msgstr ""
msgid "Use Gallium Zink (OpenGL driver is implemented via Vulkan)" msgid "Use Gallium Zink (OpenGL driver is implemented via Vulkan)"

View File

@ -8,15 +8,15 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-09 02:05+0500\n" "POT-Creation-Date: 2025-06-24 14:18+0300\n"
"PO-Revision-Date: 2024-11-13 08:18+0500\n" "PO-Revision-Date: 2025-07-01 20:00+0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: es_ES\n" "Language: es_ES\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.4\n" "X-Generator: Poedit 3.6\n"
msgid "" msgid ""
"A running PortProton session was detected.\\nDo you want to end the previous " "A running PortProton session was detected.\\nDo you want to end the previous "
@ -32,33 +32,36 @@ msgid "Unpack is DONE for prefix:"
msgstr "El desempaquetado se ha COMPLETADO para el prefijo:" msgstr "El desempaquetado se ha COMPLETADO para el prefijo:"
msgid "use" msgid "use"
msgstr "" msgstr "usar"
msgid "" msgid ""
"Forces all scripts to be updated to a working state\n" "Forces all scripts to be updated to a working state\n"
" (helps if PortProton is " " (helps if PortProton is "
"not working)" "not working)"
msgstr "" msgstr ""
"Fuerza la actualización de todos los scripts al estado operativo\n"
" (útil si PortProton no "
"funciona correctamente)"
#, fuzzy
msgid "Reinstalls PortProton and resets all settings to default" msgid "Reinstalls PortProton and resets all settings to default"
msgstr "Restaurar configuraciones predeterminadas" msgstr "Restaurar configuraciones predeterminadas"
msgid "Creates a files with translations .pot and .po" msgid "Creates a files with translations .pot and .po"
msgstr "" msgstr "Crea archivos de traducción .pot y .po"
msgid "" msgid ""
"Debug scripts for PortProton\n" "Debug scripts for PortProton\n"
" (saved log in" " (saved log in"
msgstr "" msgstr ""
"Depurar scripts de PortProton\n"
" (registro guardado en"
#, fuzzy
msgid "Check update scripts for PortProton" msgid "Check update scripts for PortProton"
msgstr "Espere la actualización PortProton" msgstr "Espere la actualización PortProton"
msgid "" msgid ""
"Launches the application immediately, requires the path to the .exe file" "Launches the application immediately, requires the path to the .exe file"
msgstr "" msgstr "Lanza la aplicación de inmediato, requiere la ruta al archivo .exe"
msgid "" msgid ""
"After the variable, the path to the .exe file is required and then the " "After the variable, the path to the .exe file is required and then the "
@ -66,11 +69,17 @@ msgid ""
" (List their variables " " (List their variables "
"and values for example PW_MANGOHUD=1 PW_VKBASALT=0, etc.)" "and values for example PW_MANGOHUD=1 PW_VKBASALT=0, etc.)"
msgstr "" msgstr ""
"Después de la variable, se requiere la ruta al archivo .exe y luego las "
"demás variables.\n"
" (Enumere sus variables y "
"valores, por ejemplo: PW_MANGOHUD=1, PW_VKBASALT=0, etc.)"
msgid "" msgid ""
"--autoinstall and the name of what needs to be installed is given in the " "--autoinstall and the name of what needs to be installed is given in the "
"list below:" "list below:"
msgstr "" msgstr ""
"--autoinstall y el nombre de lo que se debe instalar se indica en la lista a "
"continuación:"
msgid "USE_SYSTEM_WINE" msgid "USE_SYSTEM_WINE"
msgstr "Usar Wine del sistema" msgstr "Usar Wine del sistema"
@ -375,13 +384,6 @@ msgstr "¿Quieres instalar las bibliotecas recomendadas en el nuevo prefijo:"
msgid "Launched" msgid "Launched"
msgstr "Lanzado" msgstr "Lanzado"
msgid ""
"d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the missing "
"package: <b>d3dadapter9</b>"
msgstr ""
"d3dadapter9.so.1.0.0 - No encontrado en el sistema.\n"
"Instala el paquete faltante:<b>d3dadapter9</b>"
msgid "EXIT" msgid "EXIT"
msgstr "SALIR" msgstr "SALIR"
@ -472,8 +474,8 @@ msgid ""
"<b>Super + Y :</b> Toggle NIS upscaling\n" "<b>Super + Y :</b> Toggle NIS upscaling\n"
"<b>Super + I :</b> Increase FSR sharpness by 1\n" "<b>Super + I :</b> Increase FSR sharpness by 1\n"
"<b>Super + O :</b> Decrease FSR sharpness by 1\n" "<b>Super + O :</b> Decrease FSR sharpness by 1\n"
"<b>Super + S :</b> Take screenshot (currently goes to /tmp/gamescope_DATE." "<b>Super + S :</b> Take screenshot (currently goes to /tmp/"
"png)\n" "gamescope_DATE.png)\n"
"<b>Super + G :</b> Toggle keyboard grab\n" "<b>Super + G :</b> Toggle keyboard grab\n"
"<b>Super + C :</b> Update clipboard" "<b>Super + C :</b> Update clipboard"
msgstr "" msgstr ""
@ -514,7 +516,6 @@ msgid "Enable DLSS translator in FSR 2 in DirectX 12 games (CyberFSR2)"
msgstr "" msgstr ""
"Habilitar el traductor de DLSS en FSR 2 en juegos DirectX 12 (CyberFSR2)" "Habilitar el traductor de DLSS en FSR 2 en juegos DirectX 12 (CyberFSR2)"
#, fuzzy
msgid "" msgid ""
"Enable DLSS 3 with FG translator in FSR 3 in DirectX 12 games (based on " "Enable DLSS 3 with FG translator in FSR 3 in DirectX 12 games (based on "
"Decky-Framegen) Do not use in multiplayer games" "Decky-Framegen) Do not use in multiplayer games"
@ -625,20 +626,20 @@ msgstr ""
msgid "Force use DirectInput protocol instead of XInput" msgid "Force use DirectInput protocol instead of XInput"
msgstr "Forzar el uso del protocolo DirectInput en lugar de XInput" msgstr "Forzar el uso del protocolo DirectInput en lugar de XInput"
msgid "" msgid "Enable experemental native Wayland support"
"Enable experemental native Wayland support (need special wine build to work)"
msgstr "" msgstr ""
"Habilite el soporte experimental nativo de Wayland (necesita una compilación " "Habilite el soporte experimental nativo de Wayland (necesita una compilación "
"de vino especial para funcionar)" "de vino especial para funcionar)"
#, fuzzy msgid "Enable HDR settings in games with native Wayland"
msgstr "Habilitar configuraciones HDR en juegos con Wayland nativo"
msgid "Use Gallium Zink (OpenGL driver is implemented via Vulkan)" msgid "Use Gallium Zink (OpenGL driver is implemented via Vulkan)"
msgstr "Gallium Zink (OpenGL a Vulkan)" msgstr "Gallium Zink (OpenGL a Vulkan)"
msgid "Use Gallium Nine (native DirectX 9 for MESA)" msgid "Use Gallium Nine (native DirectX 9 for MESA)"
msgstr "" msgstr "Gallium Nine (DX9 nativo)"
#, fuzzy
msgid "Instead of DXVK, use WineD3D vulkan (Damavand). Experimental function." msgid "Instead of DXVK, use WineD3D vulkan (Damavand). Experimental function."
msgstr "WineD3D Vulkan (Damavand experimental)" msgstr "WineD3D Vulkan (Damavand experimental)"
@ -787,13 +788,13 @@ msgstr ""
"refresco del monitor." "refresco del monitor."
msgid "Select needed AMD vulkan implementation" msgid "Select needed AMD vulkan implementation"
msgstr "" msgstr "Implementación Vulkan de AMD"
msgid "Choosing which implementation of vulkan will be used to run the game" msgid "Choosing which implementation of vulkan will be used to run the game"
msgstr "" msgstr "Elegir qué implementación de Vulkan se usará para ejecutar el juego"
msgid "NUMA node for CPU affinity" msgid "NUMA node for CPU affinity"
msgstr "" msgstr "Nodo NUMA para afinidad de CPU"
msgid "" msgid ""
"In multicore systems, CPUs are split into NUMA nodes, each with its own " "In multicore systems, CPUs are split into NUMA nodes, each with its own "
@ -801,6 +802,10 @@ msgid ""
"Binding a game to a single node reduces memoryaccess latency and limits " "Binding a game to a single node reduces memoryaccess latency and limits "
"costly coretocore switches.)" "costly coretocore switches.)"
msgstr "" msgstr ""
"En sistemas multinúcleo, las CPU se dividen en nodos NUMA, cada uno con su "
"propia memoria local y núcleos.\n"
"Vincular un juego a un solo nodo reduce la latencia de acceso a la memoria y "
"limita los costosos cambios entre núcleos."
msgid "EDIT DB" msgid "EDIT DB"
msgstr "CONFIGURACIÓN" msgstr "CONFIGURACIÓN"
@ -1462,7 +1467,7 @@ msgid ""
"dgVoodoo2 settings\\n<b>NOTE:</b> To display help for each item, simply " "dgVoodoo2 settings\\n<b>NOTE:</b> To display help for each item, simply "
"hover over the text" "hover over the text"
msgstr "" msgstr ""
"Configuraciones de dgVoodoo2\\n<b>NOTA:</b> Para mostrar la ayuda de cada " "configuraciones de dgVoodoo2\\n<b>NOTA:</b> Para mostrar la ayuda de cada "
"elemento, simplemente coloca el cursor sobre el texto" "elemento, simplemente coloca el cursor sobre el texto"
msgid "Set the resolution used. (Direct3D and Glide settings)" msgid "Set the resolution used. (Direct3D and Glide settings)"
@ -1690,11 +1695,10 @@ msgstr ""
"Forzar el uso del controlador de video SDL x11, funciona con el backend SDL. " "Forzar el uso del controlador de video SDL x11, funciona con el backend SDL. "
"(Por defecto es Wayland)." "(Por defecto es Wayland)."
#, fuzzy
msgid "" msgid ""
"if specified, sets a base output height to linearly scale the cursor against." "if specified, sets a base output height to linearly scale the cursor against."
msgstr "" msgstr ""
"Si se especifica, establece una altura de salida base para escalar " "si se especifica, establece una altura de salida base para escalar "
"linealmente el cursor." "linealmente el cursor."
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
@ -1704,9 +1708,11 @@ msgid ""
"Gamescope is not detected on the system, to install it, run the command in " "Gamescope is not detected on the system, to install it, run the command in "
"the terminal" "the terminal"
msgstr "" msgstr ""
"Gamescope no está detectado en el sistema; para instalarlo, ejecuta el "
"siguiente comando en la terminal"
msgid "Can be selected and copied" msgid "Can be selected and copied"
msgstr "" msgstr "Se puede seleccionar y copiar"
msgid "" msgid ""
"<b>Gamescope is not detected on the system, please contact the manufacturer " "<b>Gamescope is not detected on the system, please contact the manufacturer "
@ -1816,7 +1822,7 @@ msgid "Disable GameScope and go to the previous menu"
msgstr "Desactivar GameScope e ir al menú anterior" msgstr "Desactivar GameScope e ir al menú anterior"
msgid "Recommended value" msgid "Recommended value"
msgstr "" msgstr "Valor recomendado"
msgid "default" msgid "default"
msgstr "por defecto" msgstr "por defecto"
@ -1834,15 +1840,14 @@ msgid "dark"
msgstr "oscuro" msgstr "oscuro"
msgid "Show in hours and minutes" msgid "Show in hours and minutes"
msgstr "" msgstr "Mostrar en horas y minutos"
msgid "Show in days, hours, minutes" msgid "Show in days, hours, minutes"
msgstr "" msgstr "Mostrar en días, horas y minutos"
msgid "According to last launch" msgid "According to last launch"
msgstr "" msgstr "Desde el último inicio"
#, fuzzy
msgid "By time" msgid "By time"
msgstr "Mostrar tiempo" msgstr "Mostrar tiempo"
@ -1884,9 +1889,8 @@ msgstr ""
"se encuentran en una página grande; si CUADERNO, entonces se dividen en " "se encuentran en una página grande; si CUADERNO, entonces se dividen en "
"varios." "varios."
#, fuzzy
msgid "Steam covers download" msgid "Steam covers download"
msgstr "descargar portadas de steam" msgstr "Descargar portadas de steam"
msgid "" msgid ""
"If downloading steam covers is enabled, they will be downloaded and created. " "If downloading steam covers is enabled, they will be downloaded and created. "
@ -1908,10 +1912,10 @@ msgstr ""
"utiliza para todos los juegos y programas en ejecución en PortProton)" "utiliza para todos los juegos y programas en ejecución en PortProton)"
msgid "Force dpi" msgid "Force dpi"
msgstr "" msgstr "Forzar DPI"
msgid "Here you can set forced dpi for applications wine" msgid "Here you can set forced dpi for applications wine"
msgstr "" msgstr "Establecer DPI forzado para Wine"
msgid "Choice wine audio driver" msgid "Choice wine audio driver"
msgstr "Controlador de audio de vino elegido" msgstr "Controlador de audio de vino elegido"
@ -1937,11 +1941,9 @@ msgstr "Mostrar tiempo"
msgid "Displays time spent in an application or game" msgid "Displays time spent in an application or game"
msgstr "Muestra el tiempo transcurrido en una aplicación o juego" msgstr "Muestra el tiempo transcurrido en una aplicación o juego"
#, fuzzy
msgid "Sort shortcuts by" msgid "Sort shortcuts by"
msgstr "Ordenar accesos directos por tiempo" msgstr "Ordenar accesos directos por tiempo"
#, fuzzy
msgid "This setting sorts the shortcuts in the main menu" msgid "This setting sorts the shortcuts in the main menu"
msgstr "" msgstr ""
"Esta configuración ordena los accesos directos en el menú principal según el " "Esta configuración ordena los accesos directos en el menú principal según el "
@ -2115,7 +2117,6 @@ msgstr "La lista se actualizará..."
msgid "Do you want to join and help in the development of the project:" msgid "Do you want to join and help in the development of the project:"
msgstr "Quieres unirte y ayudar en el desarrollo del proyecto:" msgstr "Quieres unirte y ayudar en el desarrollo del proyecto:"
#, fuzzy
msgid "" msgid ""
"Website: http://linux-gaming.ru\n" "Website: http://linux-gaming.ru\n"
"TG: https://t.me/linux_gaming_ru\n" "TG: https://t.me/linux_gaming_ru\n"
@ -2177,6 +2178,13 @@ msgstr "UNIRSE"
msgid "THIRD PARTY LIBRARIES" msgid "THIRD PARTY LIBRARIES"
msgstr "BIBLIOTECAS DE TERCEROS" msgstr "BIBLIOTECAS DE TERCEROS"
#~ msgid ""
#~ "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the missing "
#~ "package: <b>d3dadapter9</b>"
#~ msgstr ""
#~ "d3dadapter9.so.1.0.0 - No encontrado en el sistema.\n"
#~ "Instala el paquete faltante:<b>d3dadapter9</b>"
#~ msgid "Global settings" #~ msgid "Global settings"
#~ msgstr "Configuraciones globales" #~ msgstr "Configuraciones globales"
@ -2208,8 +2216,8 @@ msgstr "BIBLIOTECAS DE TERCEROS"
#~ msgid "" #~ msgid ""
#~ "For adding shortcut to STEAM, needed restart.\\n\\nRestart STEAM now?" #~ "For adding shortcut to STEAM, needed restart.\\n\\nRestart STEAM now?"
#~ msgstr "" #~ msgstr ""
#~ "Para agregar el acceso directo a STEAM, es necesario reiniciar." #~ "Para agregar el acceso directo a STEAM, es necesario reiniciar.\\n\\"
#~ "\\n\\¿Quieres reiniciar STEAM ahora?" #~ "¿Quieres reiniciar STEAM ahora?"
#~ msgid "Restarting STEAM... Please wait." #~ msgid "Restarting STEAM... Please wait."
#~ msgstr "Restarting STEAM... Please wait." #~ msgstr "Restarting STEAM... Please wait."
@ -2219,14 +2227,14 @@ msgstr "BIBLIOTECAS DE TERCEROS"
#~ msgid "" #~ msgid ""
#~ "<b>Gamescope is not detected on the system, to install it, run the " #~ "<b>Gamescope is not detected on the system, to install it, run the "
#~ "command in the terminal:\\nflatpak install -y runtime/org.freedesktop." #~ "command in the terminal:\\nflatpak install -y runtime/"
#~ "Platform.VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Can be " #~ "org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/$%"
#~ "selected and copied)</b>" #~ "{GAMESCOPE_VERSION}%\\n(Can be selected and copied)</b>"
#~ msgstr "" #~ msgstr ""
#~ "<b>Gamescope no se detecta en el sistema, para instalarlo, ejecute el " #~ "<b>Gamescope no se detecta en el sistema, para instalarlo, ejecute el "
#~ "comando en el terminal:\\n flatpak install -y runtime/org.freedesktop." #~ "comando en el terminal:\\n flatpak install -y runtime/"
#~ "Platform.VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n (Se puede " #~ "org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/$%"
#~ "seleccionar y copiar)</b>" #~ "{GAMESCOPE_VERSION}%\\n (Se puede seleccionar y copiar)</b>"
#, sh-format #, sh-format
#~ msgid "" #~ msgid ""
@ -2410,8 +2418,8 @@ msgstr "BIBLIOTECAS DE TERCEROS"
#~ "<b>-F fsr:</b> use AMD FidelityFX™ Super Resolution 1.0 for upscaling.\n" #~ "<b>-F fsr:</b> use AMD FidelityFX™ Super Resolution 1.0 for upscaling.\n"
#~ "<b>-F nis:</b> use NVIDIA Image Scaling v1.0.3 for upscaling.\n" #~ "<b>-F nis:</b> use NVIDIA Image Scaling v1.0.3 for upscaling.\n"
#~ "<b>-S integer:</b> use integer scaling.\n" #~ "<b>-S integer:</b> use integer scaling.\n"
#~ "<b>-S stretch:</b> use stretch scaling, the game will fill the window. (e." #~ "<b>-S stretch:</b> use stretch scaling, the game will fill the window. "
#~ "g. 4:3 to 16:9).\n" #~ "(e.g. 4:3 to 16:9).\n"
#~ "<b>-b:</b> create a border-less window.\n" #~ "<b>-b:</b> create a border-less window.\n"
#~ "<b>-f:</b> create a full-screen window." #~ "<b>-f:</b> create a full-screen window."
#~ msgstr "" #~ msgstr ""

View File

@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-09 02:05+0500\n" "POT-Creation-Date: 2025-06-24 14:35+0300\n"
"PO-Revision-Date: 2025-04-21 21:59+0500\n" "PO-Revision-Date: 2025-06-24 14:37+0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: ru_RU\n" "Language: ru_RU\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.6\n" "X-Generator: Poedit 3.6\n"
msgid "" msgid ""
@ -385,13 +385,6 @@ msgstr "Хотите добавить рекомендуемые библиот
msgid "Launched" msgid "Launched"
msgstr "Запущено" msgstr "Запущено"
msgid ""
"d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the missing "
"package: <b>d3dadapter9</b>"
msgstr ""
"d3dadapter9.so.1.0.0 - Не найден в системе.\\nУстановите недостающий пакет: "
"<b>d3dadapter9</b>"
msgid "EXIT" msgid "EXIT"
msgstr "ВЫХОД" msgstr "ВЫХОД"
@ -646,11 +639,14 @@ msgstr ""
"протоколе XInput, также работают. Выключите эту опцию, если геймпад перестал " "протоколе XInput, также работают. Выключите эту опцию, если геймпад перестал "
"опознаваться игрой" "опознаваться игрой"
msgid "" msgid "Enable experemental native Wayland support"
"Enable experemental native Wayland support (need special wine build to work)"
msgstr "" msgstr ""
"Включить экспериментальную поддержку запуска игры/программы из-под нативной " "Включить экспериментальную поддержку запуска игры/программы из-под нативной "
"сессии Wayland, минуя XWayland (для работы требуется специальная сборка Wine)" "сессии Wayland, минуя XWayland"
msgid "Enable HDR settings in games with native Wayland"
msgstr ""
"Включить настройки HDR в игре (автоматически включает USE_NATIVE_WAYLAND)"
msgid "Use Gallium Zink (OpenGL driver is implemented via Vulkan)" msgid "Use Gallium Zink (OpenGL driver is implemented via Vulkan)"
msgstr "Использовать Gallium Zink (трансляция OpenGL в Vulkan)" msgstr "Использовать Gallium Zink (трансляция OpenGL в Vulkan)"
@ -1694,8 +1690,8 @@ msgid ""
"Gamescope is not detected on the system, to install it, run the command in " "Gamescope is not detected on the system, to install it, run the command in "
"the terminal" "the terminal"
msgstr "" msgstr ""
"Gamescope не обнаружен, для установки воспользуйтесь командой в терминале"
#, fuzzy
msgid "Can be selected and copied" msgid "Can be selected and copied"
msgstr "(можно выделить и скопировать)" msgstr "(можно выделить и скопировать)"
@ -2159,6 +2155,13 @@ msgstr "ПРИСОЕДЕНИТЬСЯ"
msgid "THIRD PARTY LIBRARIES" msgid "THIRD PARTY LIBRARIES"
msgstr "БИБЛИОТЕКИ" msgstr "БИБЛИОТЕКИ"
#~ msgid ""
#~ "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the missing "
#~ "package: <b>d3dadapter9</b>"
#~ msgstr ""
#~ "d3dadapter9.so.1.0.0 - Не найден в системе.\\nУстановите недостающий "
#~ "пакет: <b>d3dadapter9</b>"
#~ msgid "Global settings" #~ msgid "Global settings"
#~ msgstr "Глобальные настройки" #~ msgstr "Глобальные настройки"

View File

@ -1696,7 +1696,7 @@ init_wine_ver () {
WINE_LIBRARY_PATH="${WINEDIR}/lib" WINE_LIBRARY_PATH="${WINEDIR}/lib"
if [[ -d "${WINEDIR}/lib64/gstreamer-1.0" ]] if [[ -d "${WINEDIR}/lib64/gstreamer-1.0" ]]
then WINE_LIBRARY_PATH+=":${WINEDIR}/lib64" then WINE_LIBRARY_PATH+=":${WINEDIR}/lib64"
elif [[ -d "${WINEDIR}/lib/x86_64-linux-gnu/gstreamer-1.0" ]] elif [[ -d "${WINEDIR}/lib/x86_64-linux-gnu" ]]
then WINE_LIBRARY_PATH+=":${WINEDIR}/lib/x86_64-linux-gnu:${WINEDIR}/lib/i386-linux-gnu" then WINE_LIBRARY_PATH+=":${WINEDIR}/lib/x86_64-linux-gnu:${WINEDIR}/lib/i386-linux-gnu"
fi fi
export WINE_LIBRARY_PATH export WINE_LIBRARY_PATH
@ -1814,10 +1814,8 @@ pw_mangohud_check () {
export PW_MANGOHUD_SLR='MANGOHUD=1' export PW_MANGOHUD_SLR='MANGOHUD=1'
fi fi
# TODO: need to fix work for OpenGL without flatpak... # TODO: need to fix work for OpenGL without flatpak...
if [[ $PW_USE_GALLIUM_ZINK == "0" ]] ; then MANGOHUD_LIB_NAME="libMangoHud_shim.so"
MANGOHUD_LIB_NAME="libMangoHud_shim.so" export PW_LD_PRELOAD="${PW_LD_PRELOAD:+$PW_LD_PRELOAD:}${MANGOHUD_LIB_NAME}"
export PW_LD_PRELOAD="${PW_LD_PRELOAD:+$PW_LD_PRELOAD:}${MANGOHUD_LIB_NAME}"
fi
else else
export PW_MANGOHUD_SLR='' export PW_MANGOHUD_SLR=''
print_info "MangoHud is disabled" print_info "MangoHud is disabled"
@ -2299,14 +2297,18 @@ check_dirs_and_files_in_pfx () {
check_nvidia_rtx () { check_nvidia_rtx () {
if [[ "$LSPCI_VGA" == *nvidia* ]] ; then if [[ "$LSPCI_VGA" == *nvidia* ]] ; then
# Turing (without nvidia 16XX) if [[ "$LSPCI_VGA" == *G[0-9]* ]] \
[[ "$LSPCI_VGA" == *TU[0-9]* ]] && [[ "$LSPCI_VGA" != *TU11[6-7]* ]] && return 0 || [[ "$LSPCI_VGA" == *GT[0-9]* ]] \
# Ampere || [[ "$LSPCI_VGA" == *MCP[0-9]* ]] \
[[ "$LSPCI_VGA" == *GA[0-9]* ]] && return 0 || [[ "$LSPCI_VGA" == *GF[0-9]* ]] \
# Ada_Lovelace || [[ "$LSPCI_VGA" == *GK[0-9]* ]] \
[[ "$LSPCI_VGA" == *AD[0-9]* ]] || [[ "$LSPCI_VGA" == *2[6-8][0-9]* ]] && return 0 || [[ "$LSPCI_VGA" == *GM[0-9]* ]] \
# Blackwell and Blackwell 2.0 || [[ "$LSPCI_VGA" == *GP[0-9]* ]] \
[[ "$LSPCI_VGA" == *GB[0-9]* ]] && return 0 || [[ "$LSPCI_VGA" == *GV[0-9]* ]] \
|| [[ "$LSPCI_VGA" == *TU11[6-7]* ]]
then return 1
else return 0
fi
fi fi
return 1 return 1
} }
@ -2479,7 +2481,7 @@ pw_port_update () {
if [[ ! -f "${PORT_WINE_TMP_PATH}/scripts_ver" ]] \ if [[ ! -f "${PORT_WINE_TMP_PATH}/scripts_ver" ]] \
|| [[ ! $BRANCH =~ (devel|master) ]]; then || [[ ! $BRANCH =~ (devel|master) ]]; then
echo "2024" > "${PORT_WINE_TMP_PATH}/scripts_ver" echo "2025" > "${PORT_WINE_TMP_PATH}/scripts_ver"
BRANCH_VERSION_UPDATE="SCRIPTS_STABLE_VERSION" BRANCH_VERSION_UPDATE="SCRIPTS_STABLE_VERSION"
BRANCH="master" BRANCH="master"
fi fi
@ -2489,21 +2491,26 @@ pw_port_update () {
URL_PP_GITEA="https://git.linux-gaming.ru/CastroFidel/PortWINE/raw/branch/${BRANCH}/data_from_portwine/scripts/var" URL_PP_GITEA="https://git.linux-gaming.ru/CastroFidel/PortWINE/raw/branch/${BRANCH}/data_from_portwine/scripts/var"
pw_check_update () { pw_check_update () {
debug_timer --start -s "UPDATE_ETERFUND" if [[ $USE_ONLY_LG_RU != "1" ]] ; then
if ! timeout 2 curl -f -s --list-only "$URL_ETERFUND" > "${PORT_WINE_TMP_PATH}/curent_var_ver" debug_timer --start -s "UPDATE_ETERFUND"
then if ! timeout 2 curl -f -s --list-only "$URL_ETERFUND" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
print_warning "https://gitlab.eterfund.ru/ broken. Skip it..." then
UPDATE_SKIP_ETERFUND="1" print_warning "https://gitlab.eterfund.ru/ broken. Skip it..."
fi UPDATE_SKIP_ETERFUND="1"
debug_timer --end -s "UPDATE_ETERFUND" fi
debug_timer --end -s "UPDATE_ETERFUND"
debug_timer --start -s "UPDATE_GITHUB" debug_timer --start -s "UPDATE_GITHUB"
if ! timeout 2 curl -f -s --list-only "$URL_GITHUB" > "${PORT_WINE_TMP_PATH}/curent_var_ver" if ! timeout 2 curl -f -s --list-only "$URL_GITHUB" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
then then
print_warning "https://raw.githubusercontent.com/ broken. Skip it..." print_warning "https://raw.githubusercontent.com/ broken. Skip it..."
UPDATE_SKIP_GITHUB="1"
fi
debug_timer --end -s "UPDATE_GITHUB"
else
UPDATE_SKIP_ETERFUND="1"
UPDATE_SKIP_GITHUB="1" UPDATE_SKIP_GITHUB="1"
fi fi
debug_timer --end -s "UPDATE_GITHUB"
debug_timer --start -s "UPDATE_PP_GITEA" debug_timer --start -s "UPDATE_PP_GITEA"
if ! timeout 2 curl -f -s --list-only "$URL_PP_GITEA" > "${PORT_WINE_TMP_PATH}/curent_var_ver" if ! timeout 2 curl -f -s --list-only "$URL_PP_GITEA" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
@ -2737,6 +2744,28 @@ pw_get_tmp_files () {
print_warning "use portable vulkaninfo" print_warning "use portable vulkaninfo"
"$PW_PLUGINS_PATH"/portable/bin/x86_64-linux-gnu-vulkaninfo &> "${PW_TMPFS_PATH}/vulkaninfo.tmp" "$PW_PLUGINS_PATH"/portable/bin/x86_64-linux-gnu-vulkaninfo &> "${PW_TMPFS_PATH}/vulkaninfo.tmp"
fi fi
# GALLIUM NINE
unset FIND_D3D_MODULE D3D_MODULE_PATH
if ! check_flatpak ; then
FIND_D3D_MODULE="$(find /usr/ -maxdepth 4 -type f -name "d3dadapter9.so.*" 2>/dev/null)"
if [[ -n "$FIND_D3D_MODULE" ]] ; then
FIND_D3D_MODULE="$(dirname "$FIND_D3D_MODULE")"
IFS=$'\n'
for D3D_MP in $FIND_D3D_MODULE ; do
if [[ -n "$D3D_MODULE_PATH" ]]
then export D3D_MODULE_PATH="$D3D_MODULE_PATH:/run/host${D3D_MP}"
else export D3D_MODULE_PATH="/run/host${D3D_MP}"
fi
done
IFS="$orig_IFS"
fi
else
if [[ -d "/app/lib/i386-linux-gnu/GL/default/lib/d3d" && -d "/usr/lib/x86_64-linux-gnu/GL/default/lib/d3d" ]] ; then
export D3D_MODULE_PATH="/app/lib/i386-linux-gnu/GL/default/lib/d3d:/usr/lib/x86_64-linux-gnu/GL/default/lib/d3d"
fi
fi
[[ -n $D3D_MODULE_PATH ]] && echo "$D3D_MODULE_PATH" > "${PW_TMPFS_PATH}/gallium_nine.tmp"
} }
pw_skip_get_info () { pw_skip_get_info () {
@ -3197,6 +3226,9 @@ start_portwine () {
if [[ -f "${WINEDIR}/lib/icu/${dll}.dll" ]] ; then if [[ -f "${WINEDIR}/lib/icu/${dll}.dll" ]] ; then
try_force_link_file "${WINEDIR}/lib/icu/${dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll" try_force_link_file "${WINEDIR}/lib/icu/${dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll"
try_force_link_file "${WINEDIR}/lib64/icu/${dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll" try_force_link_file "${WINEDIR}/lib64/icu/${dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll"
elif [[ -f "${WINEDIR}/lib/wine/icu/i386-windows/${dll}.dll" ]] ; then
try_force_link_file "${WINEDIR}/lib/wine/icu/i386-windows/${dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll"
try_force_link_file "${WINEDIR}/lib/wine/icu/x86_64-windows/${dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll"
else else
try_remove_file "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll" try_remove_file "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll"
try_remove_file "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll" try_remove_file "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll"
@ -3533,7 +3565,7 @@ start_portwine () {
if command -v systemd-inhibit &>/dev/null \ if command -v systemd-inhibit &>/dev/null \
&& [[ "$GAMEMODERUN" != "1" ]] && [[ "$GAMEMODERUN" != "1" ]]
then then
PW_INHIBIT_SLR="systemd-inhibit --mode=block --who=ru.linux_gaming.PortProton --why=${translations[Launched]}" PW_INHIBIT_SLR="systemd-inhibit --mode=block --who=ru.linux_gaming.PortProton --why=${translations[Launched]} --what=idle:sleep"
print_info "Screensaver will be inhibit" print_info "Screensaver will be inhibit"
fi fi
pw_other_fixes pw_other_fixes
@ -3602,85 +3634,68 @@ start_portwine () {
# 3D API # 3D API
unset CP_VKD3D_FILES CP_DXVK_FILES CP_DGV2_FILES CP_WINE_FILES PATH_TO_DXVK_FILES PATH_TO_VKD3D_FILES CP_GALLIUM_NINE_FILES unset CP_VKD3D_FILES CP_DXVK_FILES CP_DGV2_FILES CP_WINE_FILES PATH_TO_DXVK_FILES PATH_TO_VKD3D_FILES CP_GALLIUM_NINE_FILES
[[ "$PW_USE_GALLIUM_NINE" == "1" ]] && PW_VULKAN_USE="3" case "${PW_VULKAN_USE}" in
0)
# WINED3D OPENGL
print_info "Use WINED3D OpenGL"
unset PW_VKBASALT PW_USE_GALLIUM_ZINK PW_USE_WINED3D_VULKAN PW_USE_SUPPLIED_DXVK_VKD3D
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi"
;;
1)
# STABLE DXVK AND VKD3D
print_info "DXVK v.${DXVK_STABLE_VER} in use"
print_info "VKD3D-PROTON v.${VKD3D_STABLE_VER} in use"
PATH_TO_DXVK_FILES="${PW_VULKAN_DIR}/dxvk-${DXVK_STABLE_VER}"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_STABLE_VER}"
CP_DXVK_FILES="d3d11 d3d10core d3d10_1 d3d10 d3d9 dxgi"
[[ "$PW_USE_VRCLIENT" = "1" ]] && add_to_var CP_DXVK_FILES "openvr_api_dxvk"
CP_VKD3D_FILES="d3d12 libvkd3d-shader-1"
CP_WINE_FILES="d3d12core d3d8"
;;
2)
# NEWEST DXVK AND VKD3D
print_info "DXVK v.${DXVK_GIT_VER} in use"
print_info "VKD3D-PROTON v.${VKD3D_GIT_VER} in use"
PATH_TO_DXVK_FILES="${PW_VULKAN_DIR}/dxvk-${DXVK_GIT_VER}"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_DXVK_FILES="d3d11 d3d10core d3d9 d3d8 dxgi"
[[ "$PW_USE_VRCLIENT" = "1" ]] && add_to_var CP_DXVK_FILES "openvr_api_dxvk"
CP_VKD3D_FILES="d3d12 d3d12core libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d10_1 d3d10"
;;
3)
# LEGACY DXVK
print_info "DXVK v.${DXVK_LEGACY_VER} in use"
PATH_TO_DXVK_FILES="${PW_VULKAN_DIR}/dxvk-${DXVK_LEGACY_VER}"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_DXVK_FILES="d3d11 d3d10core d3d10_1 d3d10 d3d9 dxgi"
CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d12 d3d12core d3d8"
;;
esac
if [[ $PW_USE_DAMAVAND == "1" ]] && [[ $PW_VULKAN_USE != "0" ]] ; then if [[ $PW_USE_GALLIUM_NINE == "1" ]] \
# WINED3D VULKAN (DAMAVAND) || [[ $PW_USE_GALLIUM_ZINK == "1" ]] \
print_info "Use DAMAVAND (DirectX to wined3d vulkan)" || [[ $PW_USE_WINED3D_VULKAN == "1" ]] ; then
unset PATH_TO_DXVK_FILES CP_DXVK_FILES PW_USE_SUPPLIED_DXVK_VKD3D
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}" PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1" CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi" CP_WINE_FILES="d3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi"
export WINE_D3D_CONFIG="renderer=vulkan"
else
case "${PW_VULKAN_USE}" in
0)
# WINED3D OPENGL
print_info "Use WINED3D OpenGL"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d9 d3d8 dxgi"
export __GL_YIELD="NOTHING"
export mesa_glthread="true"
export WINE_D3D_CONFIG="renderer=gl"
export PW_VKBASALT="0"
export PW_USE_GALLIUM_ZINK="0"
;;
1)
# STABLE DXVK AND VKD3D
print_info "DXVK v.${DXVK_STABLE_VER} in use"
print_info "VKD3D-PROTON v.${VKD3D_STABLE_VER} in use"
PATH_TO_DXVK_FILES="${PW_VULKAN_DIR}/dxvk-${DXVK_STABLE_VER}"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_STABLE_VER}"
CP_DXVK_FILES="d3d11 d3d10core d3d10_1 d3d10 d3d9 dxgi"
[[ "$PW_USE_VRCLIENT" = "1" ]] && add_to_var CP_DXVK_FILES "openvr_api_dxvk"
CP_VKD3D_FILES="d3d12 libvkd3d-shader-1"
CP_WINE_FILES="d3d12core d3d8"
;;
2)
# NEWEST DXVK AND VKD3D
print_info "DXVK v.${DXVK_GIT_VER} in use"
print_info "VKD3D-PROTON v.${VKD3D_GIT_VER} in use"
PATH_TO_DXVK_FILES="${PW_VULKAN_DIR}/dxvk-${DXVK_GIT_VER}"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_DXVK_FILES="d3d11 d3d10core d3d9 d3d8 dxgi"
[[ "$PW_USE_VRCLIENT" = "1" ]] && add_to_var CP_DXVK_FILES "openvr_api_dxvk"
CP_VKD3D_FILES="d3d12 d3d12core libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d10_1 d3d10"
;;
3)
# GALLIUM NINE
print_info "Use GALLIUM-NINE (Native DX9 on MESA drivers)"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_GALLIUM_NINE_FILES="d3d9"
CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d12 d3d12core d3d11 d3d10core d3d10_1 d3d10 d3d8 dxgi"
export __GL_YIELD="NOTHING"
export mesa_glthread="true"
export WINE_D3D_CONFIG="renderer=gl"
export PW_VKBASALT="0"
export PW_MANGOHUD="0"
export PW_WINE_FULLSCREEN_FSR="0"
export PW_USE_GALLIUM_ZINK="0"
export DXVK_ENABLE_NVAPI="0"
export PW_USE_VRCLIENT="0"
;;
5)
# LEGACY DXVK
print_info "DXVK v.${DXVK_LEGACY_VER} in use"
PATH_TO_DXVK_FILES="${PW_VULKAN_DIR}/dxvk-${DXVK_LEGACY_VER}"
PATH_TO_VKD3D_FILES="${PW_VULKAN_DIR}/vkd3d-proton-${VKD3D_GIT_VER}"
CP_DXVK_FILES="d3d11 d3d10core d3d10_1 d3d10 d3d9 dxgi"
CP_VKD3D_FILES="libvkd3d-1 libvkd3d-shader-1"
CP_WINE_FILES="d3d12 d3d12core d3d8"
;;
esac
fi fi
# GALLIUM NINE
if [[ $PW_USE_GALLIUM_NINE == "1" ]] ; then
print_info "Use GALLIUM-NINE (Native DX9 on MESA drivers)"
unset PW_VKBASALT PW_MANGOHUD PW_WINE_FULLSCREEN_FSR DXVK_ENABLE_NVAPI PW_USE_VRCLIENT
rm_from_var CP_WINE_FILES "d3d9"
CP_GALLIUM_NINE_FILES="d3d9"
fi
# GALLIUM ZINK
if [[ $PW_USE_GALLIUM_ZINK == "1" ]] ; then if [[ $PW_USE_GALLIUM_ZINK == "1" ]] ; then
# GALLIUM ZINK
print_info "Use GALLIUM-ZINK (OpenGL on MESA vulkan drivers)" print_info "Use GALLIUM-ZINK (OpenGL on MESA vulkan drivers)"
export __GL_YIELD="NOTHING"
export mesa_glthread="true"
export __GLX_VENDOR_LIBRARY_NAME="mesa" export __GLX_VENDOR_LIBRARY_NAME="mesa"
export MESA_LOADER_DRIVER_OVERRIDE="zink" export MESA_LOADER_DRIVER_OVERRIDE="zink"
export GALLIUM_DRIVER="zink" export GALLIUM_DRIVER="zink"
@ -3690,14 +3705,25 @@ start_portwine () {
then then
export LIBGL_KOPPER_DRI2="1" export LIBGL_KOPPER_DRI2="1"
fi fi
if [[ $(check_vendor_gpu) =~ nouveau ]] ; then [[ $(check_vendor_gpu) =~ nouveau ]] && export NOUVEAU_USE_ZINK="1"
export NOUVEAU_USE_ZINK="1" fi
# WINED3D VULKAN
if [[ $PW_USE_WINED3D_VULKAN == "1" ]] ; then
print_info "Use DAMAVAND (DirectX to wined3d vulkan)"
export WINE_D3D_CONFIG="renderer=vulkan"
else
if [[ $PW_VULKAN_USE == "0" ]] \
|| [[ $PW_USE_GALLIUM_NINE == "1" ]] || [[ $PW_USE_GALLIUM_ZINK == "1" ]] ; then
export WINE_D3D_CONFIG="renderer=gl"
fi fi
fi fi
export __GL_YIELD="NOTHING"
export mesa_glthread="true"
if [[ $PW_USE_SUPPLIED_DXVK_VKD3D == "1" ]] \ if [[ $PW_USE_SUPPLIED_DXVK_VKD3D == "1" ]] \
&& [[ ! $PW_WINE_USE =~ (PROTON_LG|WINE_LG) ]] \ && [[ ! $PW_WINE_USE =~ (PROTON_LG|WINE_LG) ]] \
&& [[ ! $PW_VULKAN_USE =~ (0|3) ]] \
&& [[ -f "${WINEDIR}/lib64/wine/dxvk/d3d9.dll" || -f "${WINEDIR}/lib/wine/dxvk/x86_64-windows/d3d9.dll" ]] ; then && [[ -f "${WINEDIR}/lib64/wine/dxvk/d3d9.dll" || -f "${WINEDIR}/lib/wine/dxvk/x86_64-windows/d3d9.dll" ]] ; then
export DXVK_ASYNC="1" export DXVK_ASYNC="1"
if [[ -f "${WINEDIR}/lib64/wine/dxvk/d3d10.dll" && -f "${WINEDIR}/lib64/wine/dxvk/d3d10_1.dll" ]] ; then if [[ -f "${WINEDIR}/lib64/wine/dxvk/d3d10.dll" && -f "${WINEDIR}/lib64/wine/dxvk/d3d10_1.dll" ]] ; then
@ -3746,7 +3772,12 @@ start_portwine () {
try_remove_file "${WINEPREFIX}/drive_c/windows/system32/dgVoodoo.conf" try_remove_file "${WINEPREFIX}/drive_c/windows/system32/dgVoodoo.conf"
try_force_link_file "${DGV2CONF}" "${WINEPREFIX}/drive_c/windows/system32/dgVoodoo.conf" try_force_link_file "${DGV2CONF}" "${WINEPREFIX}/drive_c/windows/system32/dgVoodoo.conf"
if [[ $PW_USE_SUPPLIED_DXVK_VKD3D != "0" ]] ; then if [[ $PW_USE_GALLIUM_NINE == "1" ]] ; then
rm_from_var CP_GALLIUM_NINE_FILES "d3d9"
rm_from_var CP_WINE_FILES "d3d8"
elif [[ $PW_USE_GALLIUM_ZINK == "1" ]] || [[ $PW_USE_WINED3D_VULKAN == "1" ]] ; then
rm_from_var CP_WINE_FILES "d3d9 d3d8"
elif [[ $PW_USE_SUPPLIED_DXVK_VKD3D != "0" ]] ; then
rm_from_var CP_DXVK_FILES "d3d9" rm_from_var CP_DXVK_FILES "d3d9"
else else
case "${PW_VULKAN_USE}" in case "${PW_VULKAN_USE}" in
@ -3761,10 +3792,6 @@ start_portwine () {
rm_from_var CP_DXVK_FILES "d3d9 d3d8" rm_from_var CP_DXVK_FILES "d3d9 d3d8"
;; ;;
3) 3)
rm_from_var CP_GALLIUM_NINE_FILES "d3d9"
rm_from_var CP_WINE_FILES "d3d8"
;;
5)
rm_from_var CP_DXVK_FILES "d3d9" rm_from_var CP_DXVK_FILES "d3d9"
rm_from_var CP_WINE_FILES "d3d8" rm_from_var CP_WINE_FILES "d3d8"
;; ;;
@ -4035,7 +4062,8 @@ start_portwine () {
export VKD3D_SHADER_CACHE_PATH="${PATH_TO_VKD3D_FILES}/vkd3d_cache" export VKD3D_SHADER_CACHE_PATH="${PATH_TO_VKD3D_FILES}/vkd3d_cache"
fi fi
if [[ "$CP_GALLIUM_NINE_FILES" == "d3d9" ]] ; then # GALLIUM NINE
if [[ "$CP_GALLIUM_NINE_FILES" == "d3d9" ]] && [[ -f "${PW_TMPFS_PATH}/gallium_nine.tmp" ]] ; then
PATH_TO_GALLIUM_NINE_FILES="${PW_PLUGINS_PATH}/gallium_nine_v.${PW_GALLIUM_NINE_VER}" PATH_TO_GALLIUM_NINE_FILES="${PW_PLUGINS_PATH}/gallium_nine_v.${PW_GALLIUM_NINE_VER}"
if [[ ! -d "$PATH_TO_GALLIUM_NINE_FILES" ]] ; then if [[ ! -d "$PATH_TO_GALLIUM_NINE_FILES" ]] ; then
if try_download "github.com/Castro-Fidel/vulkan/releases/download/gallium_nine_v.${PW_GALLIUM_NINE_VER}/gallium_nine_v.${PW_GALLIUM_NINE_VER}.tar.xz" \ if try_download "github.com/Castro-Fidel/vulkan/releases/download/gallium_nine_v.${PW_GALLIUM_NINE_VER}/gallium_nine_v.${PW_GALLIUM_NINE_VER}.tar.xz" \
@ -4049,28 +4077,8 @@ start_portwine () {
print_info "Try create symlink GALLIUM_NINE files..." print_info "Try create symlink GALLIUM_NINE files..."
try_force_link_file "${PATH_TO_GALLIUM_NINE_FILES}/lib32/d3d9-nine.dll.so" "${WINEPREFIX}/drive_c/windows/syswow64/d3d9.dll" try_force_link_file "${PATH_TO_GALLIUM_NINE_FILES}/lib32/d3d9-nine.dll.so" "${WINEPREFIX}/drive_c/windows/syswow64/d3d9.dll"
try_force_link_file "${PATH_TO_GALLIUM_NINE_FILES}/lib64/d3d9-nine.dll.so" "${WINEPREFIX}/drive_c/windows/system32/d3d9.dll" try_force_link_file "${PATH_TO_GALLIUM_NINE_FILES}/lib64/d3d9-nine.dll.so" "${WINEPREFIX}/drive_c/windows/system32/d3d9.dll"
unset FIND_D3D_MODULE D3D_MODULE_PATH export D3D_MODULE_PATH="$(<"${PW_TMPFS_PATH}/gallium_nine.tmp")"
if ! check_flatpak ; then print_info "D3D_MODULE_PATH=$D3D_MODULE_PATH"
FIND_D3D_MODULE=$(dirname "$(find /usr/ -maxdepth 4 -type f -name "d3dadapter9.so.*" 2>/dev/null)")
if [[ -n "$FIND_D3D_MODULE" ]] ; then
IFS=$'\n'
for D3D_MP in $FIND_D3D_MODULE ; do
if [[ -n "$D3D_MODULE_PATH" ]]
then export D3D_MODULE_PATH="$D3D_MODULE_PATH:/run/host${D3D_MP}"
else export D3D_MODULE_PATH="/run/host${D3D_MP}"
fi
done
IFS="$orig_IFS"
print_info "D3D_MODULE_PATH=${D3D_MODULE_PATH}"
else
pw_stop_progress_bar
yad_error "${translations[d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the missing package: <b>d3dadapter9</b>]}"
stop_portwine
fi
else
export D3D_MODULE_PATH="/app/lib/i386-linux-gnu/GL/default/lib/d3d:/usr/lib/x86_64-linux-gnu/GL/default/lib/d3d"
print_info "D3D_MODULE_PATH=${D3D_MODULE_PATH}"
fi
var_winedlloverride_update "d3d9=n" var_winedlloverride_update "d3d9=n"
fi fi
@ -4212,6 +4220,29 @@ start_portwine () {
get_and_set_reg_file --add 'System\CurrentControlSet\Services\winebus' 'Enable SDL' 'REG_DWORD' "1" "system" get_and_set_reg_file --add 'System\CurrentControlSet\Services\winebus' 'Enable SDL' 'REG_DWORD' "1" "system"
fi fi
if check_wayland_session \
&& [[ $PW_USE_NATIVE_WAYLAND == "1" || $PW_USE_DXVK_HDR == "1" ]]
then
[[ $PW_USE_DXVK_HDR == "1" ]] && export DXVK_HDR="1"
export WINE_WAYLAND_HACKS="1"
var_winedlloverride_update "winex11.drv=d;winewayland.drv=b"
get_and_set_reg_file --add 'Software\Wine\Drivers' 'Graphics' 'REG_SZ' "x11,wayland" "user"
print_warning "Wayland in use. Force dpi=96"
export PW_WINE_DPI_VALUE="96"
if [[ -f "$WINEDIR/lib/libxkbregistry.so" ]] \
|| [[ -f "$WINEDIR/lib/x86_64-linux-gnu/libxkbregistry.so" ]]
then print_info "runtime in use with native wayland."
else
print_warning "Wine is not support native wayland with runtime! Force disabled SLR."
export PW_USE_RUNTIME="0"
fi
else
unset WINE_WAYLAND_HACKS DXVK_HDR
get_and_set_reg_file --delete 'Software\Wine\Drivers' 'Graphics'
fi
if [[ $PW_WINE_DPI_VALUE != "disabled" ]] ; then if [[ $PW_WINE_DPI_VALUE != "disabled" ]] ; then
if [[ $PW_WINE_DPI_VALUE == "recommended" ]] ; then if [[ $PW_WINE_DPI_VALUE == "recommended" ]] ; then
PW_RECOMMENDED_DPI=$(recommend_dpi "${PW_SCREEN_RESOLUTION:5:8}") PW_RECOMMENDED_DPI=$(recommend_dpi "${PW_SCREEN_RESOLUTION:5:8}")
@ -4221,15 +4252,6 @@ start_portwine () {
fi fi
fi fi
if [[ $PW_USE_NATIVE_WAYLAND == "1" ]] ; then
export PW_DISPLAY="env DISPLAY="
export PW_USE_RUNTIME="0"
get_and_set_reg_file --add 'Software\Wine\Drivers' 'Graphics' 'REG_SZ' "x11,wayland" "user"
else
unset PW_DISPLAY
get_and_set_reg_file --delete 'Software\Wine\Drivers' 'Graphics'
fi
case "$PW_SOUND_DRIVER_USE" in case "$PW_SOUND_DRIVER_USE" in
pulse) get_and_set_reg_file --add 'Software\Wine\Drivers' 'Audio' 'REG_SZ' "pulse" "user" ;; pulse) get_and_set_reg_file --add 'Software\Wine\Drivers' 'Audio' 'REG_SZ' "pulse" "user" ;;
alsa) get_and_set_reg_file --add 'Software\Wine\Drivers' 'Audio' 'REG_SZ' "alsa" "user" ;; alsa) get_and_set_reg_file --add 'Software\Wine\Drivers' 'Audio' 'REG_SZ' "alsa" "user" ;;
@ -4441,7 +4463,6 @@ pw_run () {
VK_INSTANCE_LAYERS=${PW_VK_INSTANCE_LAYERS} \ VK_INSTANCE_LAYERS=${PW_VK_INSTANCE_LAYERS} \
${PW_GAMEMODERUN_SLR} \ ${PW_GAMEMODERUN_SLR} \
${PW_MANGOHUD_SLR} \ ${PW_MANGOHUD_SLR} \
${PW_DISPLAY} \
"${WINELOADER}" "$@" ${proxy_launch_parameters} &>>"${PW_LOG_TO_FILE}" "${WINELOADER}" "$@" ${proxy_launch_parameters} &>>"${PW_LOG_TO_FILE}"
else else
if [[ "$PW_USE_TERMINAL" == 1 ]] ; then if [[ "$PW_USE_TERMINAL" == 1 ]] ; then
@ -4461,7 +4482,6 @@ pw_run () {
VK_INSTANCE_LAYERS="${PW_VK_INSTANCE_LAYERS}" \ VK_INSTANCE_LAYERS="${PW_VK_INSTANCE_LAYERS}" \
${PW_GAMEMODERUN_SLR} \ ${PW_GAMEMODERUN_SLR} \
${PW_MANGOHUD_SLR} \ ${PW_MANGOHUD_SLR} \
${PW_DISPLAY} \
"${WINELOADER}" "$@" ${proxy_launch_parameters} &>>"${PW_LOG_TO_FILE}" "${WINELOADER}" "$@" ${proxy_launch_parameters} &>>"${PW_LOG_TO_FILE}"
print_info "Update prefix log:" print_info "Update prefix log:"
[[ -f "${PW_TMPFS_PATH}/update_pfx_log" ]] && cat "${PW_TMPFS_PATH}/update_pfx_log" [[ -f "${PW_TMPFS_PATH}/update_pfx_log" ]] && cat "${PW_TMPFS_PATH}/update_pfx_log"
@ -4488,7 +4508,6 @@ pw_run () {
${PW_GAMEMODERUN_SLR} \ ${PW_GAMEMODERUN_SLR} \
${PW_POWERPROFILECTL_SLR} \ ${PW_POWERPROFILECTL_SLR} \
${PW_MANGOHUD_SLR} \ ${PW_MANGOHUD_SLR} \
${PW_DISPLAY} \
${PW_INHIBIT_SLR} \ ${PW_INHIBIT_SLR} \
${PW_TASKSET_SLR} \ ${PW_TASKSET_SLR} \
"${WINELOADER}" "$@" ${proxy_launch_parameters} &>>"${PW_LOG_TO_FILE}" "${WINELOADER}" "$@" ${proxy_launch_parameters} &>>"${PW_LOG_TO_FILE}"
@ -4508,7 +4527,6 @@ pw_run () {
${PW_GAMEMODERUN_SLR} \ ${PW_GAMEMODERUN_SLR} \
${PW_POWERPROFILECTL_SLR} \ ${PW_POWERPROFILECTL_SLR} \
${PW_MANGOHUD_SLR} \ ${PW_MANGOHUD_SLR} \
${PW_DISPLAY} \
${PW_INHIBIT_SLR} \ ${PW_INHIBIT_SLR} \
${PW_TASKSET_SLR} \ ${PW_TASKSET_SLR} \
"${WINELOADER}" "$@" ${proxy_launch_parameters} "${WINELOADER}" "$@" ${proxy_launch_parameters}
@ -4590,11 +4608,11 @@ portwine_launch () {
while true ; do while true ; do
sleep 5 sleep 5
if [[ -z "$GAMEPID" ]] ; then if [[ -z "$GAMEPID" ]] ; then
GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}')" GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}' | head -n 1)"
else else
if waitpid "$GAMEPID" ; then if waitpid "$GAMEPID" ; then
sleep 1 sleep 1
GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}')" GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}' | head -n 1)"
[[ -z "$GAMEPID" ]] && break || continue [[ -z "$GAMEPID" ]] && break || continue
fi fi
fi fi
@ -5186,19 +5204,14 @@ gui_edit_db () {
PW_WINE_FULLSCREEN_FSR PW_HIDE_NVIDIA_GPU PW_VIRTUAL_DESKTOP PW_USE_TERMINAL PW_GUI_DISABLED_CS PW_USE_GAMEMODE PW_WINE_FULLSCREEN_FSR PW_HIDE_NVIDIA_GPU PW_VIRTUAL_DESKTOP PW_USE_TERMINAL PW_GUI_DISABLED_CS PW_USE_GAMEMODE
PW_USE_D3D_EXTRAS PW_FIX_VIDEO_IN_GAME PW_REDUCE_PULSE_LATENCY PW_USE_US_LAYOUT PW_USE_GSTREAMER PW_USE_D3D_EXTRAS PW_FIX_VIDEO_IN_GAME PW_REDUCE_PULSE_LATENCY PW_USE_US_LAYOUT PW_USE_GSTREAMER
PW_USE_SHADER_CACHE PW_USE_WINE_DXGI PW_USE_EAC_AND_BE PW_USE_SYSTEM_VK_LAYERS PW_USE_OBS_VKCAPTURE PW_USE_SHADER_CACHE PW_USE_WINE_DXGI PW_USE_EAC_AND_BE PW_USE_SYSTEM_VK_LAYERS PW_USE_OBS_VKCAPTURE
PW_DISABLE_COMPOSITING PW_USE_RUNTIME PW_DINPUT_PROTOCOL PW_USE_NATIVE_WAYLAND PW_USE_GALLIUM_ZINK PW_USE_GALLIUM_NINE PW_DISABLE_COMPOSITING PW_USE_RUNTIME PW_DINPUT_PROTOCOL PW_USE_GALLIUM_ZINK PW_USE_GALLIUM_NINE
PW_USE_DAMAVAND PW_USE_SUPPLIED_DXVK_VKD3D PW_USE_WINED3D_VULKAN PW_USE_SUPPLIED_DXVK_VKD3D PW_USE_NATIVE_WAYLAND PW_USE_DXVK_HDR
) )
if check_wayland_session ; then check_flatpak && rm_from_array "PW_EDIT_DB_LIST" PW_USE_RUNTIME
rm_from_array "PW_EDIT_DB_LIST" PW_USE_US_LAYOUT
else
rm_from_array "PW_EDIT_DB_LIST" PW_USE_NATIVE_WAYLAND
fi
if check_flatpak ; then # GALLIUM NINE
rm_from_array "PW_EDIT_DB_LIST" PW_USE_RUNTIME [[ ! -f "${PW_TMPFS_PATH}/gallium_nine.tmp" ]] && rm_from_array "PW_EDIT_DB_LIST" PW_USE_GALLIUM_NINE
fi
PW_MANGOHUD_INFO=${translations[Using FPS and system load monitoring (Turns on and off by the key combination - right Shift + F12)]} PW_MANGOHUD_INFO=${translations[Using FPS and system load monitoring (Turns on and off by the key combination - right Shift + F12)]}
PW_MANGOHUD_USER_CONF_INFO=${translations[Forced use of MANGOHUD system settings (GOverlay, etc.)]} PW_MANGOHUD_USER_CONF_INFO=${translations[Forced use of MANGOHUD system settings (GOverlay, etc.)]}
@ -5239,10 +5252,11 @@ gui_edit_db () {
PW_DISABLE_COMPOSITING_INFO=${translations[Disable desktop compositing (effects). It often improves performance.]} PW_DISABLE_COMPOSITING_INFO=${translations[Disable desktop compositing (effects). It often improves performance.]}
PW_USE_RUNTIME_INFO=${translations[Use container launch mode (It is recommended not to change the value)]} PW_USE_RUNTIME_INFO=${translations[Use container launch mode (It is recommended not to change the value)]}
PW_DINPUT_PROTOCOL_INFO=${translations[Force use DirectInput protocol instead of XInput]} PW_DINPUT_PROTOCOL_INFO=${translations[Force use DirectInput protocol instead of XInput]}
PW_USE_NATIVE_WAYLAND_INFO=${translations[Enable experemental native Wayland support (need special wine build to work)]} PW_USE_NATIVE_WAYLAND_INFO=${translations[Enable experemental native Wayland support]}
PW_USE_DXVK_HDR_INFO=${translations[Enable HDR settings in games with native Wayland]}
PW_USE_GALLIUM_ZINK_INFO=${translations[Use Gallium Zink (OpenGL driver is implemented via Vulkan)]} PW_USE_GALLIUM_ZINK_INFO=${translations[Use Gallium Zink (OpenGL driver is implemented via Vulkan)]}
PW_USE_GALLIUM_NINE_INFO=${translations[Use Gallium Nine (native DirectX 9 for MESA)]} PW_USE_GALLIUM_NINE_INFO=${translations[Use Gallium Nine (native DirectX 9 for MESA)]}
PW_USE_DAMAVAND_INFO=${translations[Instead of DXVK, use WineD3D vulkan (Damavand). Experimental function.]} PW_USE_WINED3D_VULKAN_INFO=${translations[Instead of DXVK, use WineD3D vulkan (Damavand). Experimental function.]}
PW_USE_SUPPLIED_DXVK_VKD3D_INFO=${translations[Use dxvk and vkd3d which are bundled with wine or proton. (Does not work with PROTON_LG and WINE_LG)]} PW_USE_SUPPLIED_DXVK_VKD3D_INFO=${translations[Use dxvk and vkd3d which are bundled with wine or proton. (Does not work with PROTON_LG and WINE_LG)]}
# PW_VULKAN_NO_ASYNC_INFO=${translations[Disable asynchronous calls for VULKAN and DXVK modes]} # PW_VULKAN_NO_ASYNC_INFO=${translations[Disable asynchronous calls for VULKAN and DXVK modes]}
@ -5254,20 +5268,28 @@ gui_edit_db () {
0) 0)
# WineD3D OpenGL # WineD3D OpenGL
VKD3D_CB="DCB" VKD3D_CB="DCB"
DISABLE_EDIT_DB_LIST="PW_VKBASALT PW_VKBASALT_USER_CONF PW_USE_RAY_TRACING PW_USE_OBS_VKCAPTURE PW_USE_GALLIUM_ZINK PW_USE_DAMAVAND" DISABLE_EDIT_DB_LIST="PW_VKBASALT PW_VKBASALT_USER_CONF PW_USE_RAY_TRACING PW_USE_OBS_VKCAPTURE PW_USE_GALLIUM_ZINK PW_USE_WINED3D_VULKAN"
;; ;;
1|2) 1|2)
# Stable, Newest # Stable, Newest
VKD3D_CB="CB" VKD3D_CB="CB"
;; ;;
5) 3)
# Legacy # Legacy
VKD3D_CB="DCB" VKD3D_CB="DCB"
DISABLE_EDIT_DB_LIST="PW_USE_RAY_TRACING" DISABLE_EDIT_DB_LIST="PW_USE_RAY_TRACING"
;; ;;
esac esac
[[ $PW_WINE_USE =~ (PROTON_LG|WINE_LG) ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_SUPPLIED_DXVK_VKD3D" if [[ $PW_WINE_USE =~ (PROTON_LG|WINE_LG) ]] \
|| [[ $PW_VULKAN_USE == "0" ]] ; then
DISABLE_EDIT_DB_LIST+=" PW_USE_SUPPLIED_DXVK_VKD3D"
fi
if check_wayland_session
then DISABLE_EDIT_DB_LIST+=" PW_USE_US_LAYOUT"
else DISABLE_EDIT_DB_LIST+=" PW_USE_NATIVE_WAYLAND PW_USE_DXVK_HDR"
fi
unset ADD_CHK_BOX_EDIT_DB unset ADD_CHK_BOX_EDIT_DB
for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do
@ -5283,7 +5305,7 @@ gui_edit_db () {
for check_boole in $DISABLE_EDIT_DB_LIST ; do for check_boole in $DISABLE_EDIT_DB_LIST ; do
if [[ $check_boole == "$int_to_boole" ]] ; then if [[ $check_boole == "$int_to_boole" ]] ; then
CHECK_BOOLE_TRUE=1 CHECK_BOOLE_TRUE=1
ADD_CHK_BOX_EDIT_DB+="--field=${CHKBOX_SPACE}${int_to_boole_non_pw}!${!TMP_HELP_FOR_GUI}:D${THEME_CHKBOX}%${!int_to_boole}%" ADD_CHK_BOX_EDIT_DB+="--field=${CHKBOX_SPACE}${int_to_boole_non_pw}!${!TMP_HELP_FOR_GUI}:D${THEME_CHKBOX}%FALSE%"
fi fi
done done
fi fi
@ -5431,8 +5453,12 @@ Binding a game to a single node reduces memoryaccess latency and limits costl
fi fi
export PW_WINE_CPU_TOPOLOGY export PW_WINE_CPU_TOPOLOGY
edit_db_from_gui "${PW_EDIT_DB_LIST[@]}" LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY \ for dont_touch_var in $DISABLE_EDIT_DB_LIST ; do
PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL PW_LOCALE_SELECT PW_MESA_VK_WSI_PRESENT_MODE PW_AMD_VULKAN_USE PW_CPU_NUMA_NODE_INDEX PW_TASKSET_SLR rm_from_array "PW_EDIT_DB_LIST" "$dont_touch_var"
done
edit_db_from_gui "${PW_EDIT_DB_LIST[@]}" LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL \
WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL \
PW_LOCALE_SELECT PW_MESA_VK_WSI_PRESENT_MODE PW_AMD_VULKAN_USE PW_CPU_NUMA_NODE_INDEX PW_TASKSET_SLR
if [[ -z "$MANGOHUD_CONFIG" ]] ; then if [[ -z "$MANGOHUD_CONFIG" ]] ; then
MONITOR_HEIGHT="$(echo "$PW_SCREEN_RESOLUTION" | awk -F'x' '{print $2}')" MONITOR_HEIGHT="$(echo "$PW_SCREEN_RESOLUTION" | awk -F'x' '{print $2}')"
@ -5857,7 +5883,7 @@ gui_dgvoodoo2 () {
[[ "${PW_DGV2_ANTIALIASING}" == "0" ]] && export PW_DGV2_ANTIALIASING="disabled" && edit_db_from_gui PW_DGV2_ANTIALIASING [[ "${PW_DGV2_ANTIALIASING}" == "0" ]] && export PW_DGV2_ANTIALIASING="disabled" && edit_db_from_gui PW_DGV2_ANTIALIASING
case "${PW_VULKAN_USE}" in case "${PW_VULKAN_USE}" in
0|5) 0|3)
DISABLE_DGV2_LIST="PW_DGV2_USE_DX12 DISABLE_DGV2_LIST="PW_DGV2_USE_DX12
" "
;; ;;
@ -6449,19 +6475,29 @@ portwine_create_shortcut () {
} }
portwine_output_yad_shortcut () { portwine_output_yad_shortcut () {
if [[ "$PW_YAD_OUT" == "0" ]] ; then if [[ $PW_YAD_OUT == "0" ]] || [[ $1 == "--silent" ]] ; then
name_desktop=$(echo "$OUTPUT" | awk -F'|' '{print $1}' | sed -e "s/\`//g" -e "s/\"//g" -e "s/'//g" -e "s/\!//g") if [[ $1 == "--silent" ]] ; then
PW_SHORTCUT_MENU=$(echo "$OUTPUT" | awk -F'|' '{print $2}') [[ ! -e ${portwine_exe} ]] && return 1
PW_SHORTCUT_DESKTOP=$(echo "$OUTPUT" | awk -F'|' '{print $3}') pw_create_gui_png
PW_SHORTCUT_STEAM=$(echo "$OUTPUT" | awk -F'|' '{print $4}') unset name_desktop
PW_SHORTCUT_MENU="TRUE"
if [[ $PORTWINE_CHANGE_SHORTCUT != 1 ]] ; then PW_SHORTCUT_DESKTOP="TRUE"
edit_user_conf_from_gui PW_SHORTCUT_MENU PW_SHORTCUT_DESKTOP PW_SHORTCUT_STEAM PW_SHORTCUT_STEAM="FALSE"
else
name_desktop=$(echo "$OUTPUT" | awk -F'|' '{print $1}' | sed -e "s/\`//g" -e "s/\"//g" -e "s/'//g" -e "s/\!//g")
PW_SHORTCUT_MENU=$(echo "$OUTPUT" | awk -F'|' '{print $2}')
PW_SHORTCUT_DESKTOP=$(echo "$OUTPUT" | awk -F'|' '{print $3}')
PW_SHORTCUT_STEAM=$(echo "$OUTPUT" | awk -F'|' '{print $4}')
if [[ $PORTWINE_CHANGE_SHORTCUT != 1 ]] ; then
edit_user_conf_from_gui PW_SHORTCUT_MENU PW_SHORTCUT_DESKTOP PW_SHORTCUT_STEAM
fi
portwine_delete_shortcut
fi fi
portwine_delete_shortcut if [[ -z $name_desktop ]] ; then
create_name_desktop
[[ -z $name_desktop ]] && create_name_desktop && export name_desktop="$PW_NAME_DESKTOP_PROXY" export name_desktop="$PW_NAME_DESKTOP_PROXY"
fi
echo "[Desktop Entry]" > "${PORT_WINE_PATH}/${name_desktop}.desktop" echo "[Desktop Entry]" > "${PORT_WINE_PATH}/${name_desktop}.desktop"
echo "Name=${name_desktop}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop" echo "Name=${name_desktop}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
@ -6883,8 +6919,7 @@ portwine_start_debug () {
0) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DirectX to wined3d opengl" >> "${PORT_WINE_PATH}/PortProton.log" ;; 0) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DirectX to wined3d opengl" >> "${PORT_WINE_PATH}/PortProton.log" ;;
1) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_STABLE_VER}, VKD3D-PROTON v.${VKD3D_STABLE_VER}" >> "${PORT_WINE_PATH}/PortProton.log" ;; 1) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_STABLE_VER}, VKD3D-PROTON v.${VKD3D_STABLE_VER}" >> "${PORT_WINE_PATH}/PortProton.log" ;;
2) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_GIT_VER}, VKD3D-PROTON v.${VKD3D_GIT_VER}" >> "${PORT_WINE_PATH}/PortProton.log" ;; 2) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_GIT_VER}, VKD3D-PROTON v.${VKD3D_GIT_VER}" >> "${PORT_WINE_PATH}/PortProton.log" ;;
3) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - Native DX9 on MESA drivers" >> "${PORT_WINE_PATH}/PortProton.log" ;; 3) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_LEGACY_VER}" >> "${PORT_WINE_PATH}/PortProton.log" ;;
5) echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_LEGACY_VER}" >> "${PORT_WINE_PATH}/PortProton.log" ;;
*) echo "PW_VULKAN_USE=${PW_VULKAN_USE}" >> "${PORT_WINE_PATH}/PortProton.log" ;; *) echo "PW_VULKAN_USE=${PW_VULKAN_USE}" >> "${PORT_WINE_PATH}/PortProton.log" ;;
esac esac
echo "--------------------------------------------" >> "${PORT_WINE_PATH}/PortProton.log" echo "--------------------------------------------" >> "${PORT_WINE_PATH}/PortProton.log"

View File

@ -8,5 +8,5 @@
export PW_WINDOWS_VER="10" export PW_WINDOWS_VER="10"
export PW_VULKAN_USE="2" export PW_VULKAN_USE="2"
export PW_PREFIX_NAME="HO_YO_PLAY" export PW_PREFIX_NAME="HO_YO_PLAY"
export PW_WINE_USE="WINE_LG" export PW_WINE_USE="WINE_HYP_10-10"
export LAUNCH_PARAMETERS="-platform_type CLOUD_THIRD_PARTY_PC" export LAUNCH_PARAMETERS="-platform_type CLOUD_THIRD_PARTY_PC"

View File

@ -6,5 +6,5 @@
#upc.exe #upc.exe
#Rating=1-5 #Rating=1-5
################################################ ################################################
export PW_VULKAN_USE=2 export PW_VULKAN_USE="2"
export PW_DLL_INSTALL="" export PW_DLL_INSTALL=""

View File

@ -5,9 +5,9 @@
#Rating=5 #Rating=5
export PW_COMMENT_DB="Lesta Game Centers" export PW_COMMENT_DB="Lesta Game Centers"
################################################ ################################################
export PW_VULKAN_USE=1 #dxvk, vkd3d or 0 for OpenGL export PW_VULKAN_USE="2" #dxvk, vkd3d or 0 for OpenGL
export LAUNCH_PARAMETERS="" # Additional launch options export LAUNCH_PARAMETERS="" # Additional launch options
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 WINEDLLOVERRIDES="" export WINEDLLOVERRIDES=""
export PW_DLL_INSTALL="lucida" # Install DLL in port prefix (used winetricks) export PW_DLL_INSTALL="lucida" # Install DLL in port prefix (used winetricks)
export PW_USE_D3D_EXTRAS="1" export PW_USE_D3D_EXTRAS="1"

View File

@ -5,9 +5,9 @@
#Rating=5 #Rating=5
export PW_COMMENT_DB="Wargaming Game Centers" export PW_COMMENT_DB="Wargaming Game Centers"
################################################ ################################################
export PW_VULKAN_USE=1 #dxvk, vkd3d or 0 for OpenGL export PW_VULKAN_USE="2" #dxvk, vkd3d or 0 for OpenGL
export LAUNCH_PARAMETERS="" # Additional launch options export LAUNCH_PARAMETERS="" # Additional launch options
export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP export PW_WINDOWS_VER="2" # Set windows version 10, 7 or XP
export WINEDLLOVERRIDES="" export WINEDLLOVERRIDES=""
export PW_DLL_INSTALL="lucida" # Install DLL in port prefix (used winetricks) export PW_DLL_INSTALL="lucida" # Install DLL in port prefix (used winetricks)
export PW_USE_D3D_EXTRAS="1" export PW_USE_D3D_EXTRAS="1"

View File

@ -10,6 +10,7 @@ export PW_VULKAN_USE=2
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Hoyolauncher_installer.exe" export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Hoyolauncher_installer.exe"
export PW_PREFIX_NAME="HO_YO_PLAY" export PW_PREFIX_NAME="HO_YO_PLAY"
export PORTWINE_CREATE_SHORTCUT_NAME="HoYoPlay" export PORTWINE_CREATE_SHORTCUT_NAME="HoYoPlay"
export PW_WINE_USE="WINE_HYP_10-10"
start_portwine start_portwine

View File

@ -34,8 +34,8 @@ then
exit 1 exit 1
fi fi
PORT_SCRIPTS_PATH="$(dirname "$(realpath "$0")")" PORT_SCRIPTS_PATH="$(cd "$(dirname "$0")" && pwd)"
PORT_WINE_PATH="$(realpath "$PORT_SCRIPTS_PATH/../..")" PORT_WINE_PATH="$(dirname "$(dirname "$PORT_SCRIPTS_PATH")")"
export PORT_SCRIPTS_PATH PORT_WINE_PATH export PORT_SCRIPTS_PATH PORT_WINE_PATH
# shellcheck source=/dev/null # shellcheck source=/dev/null
@ -233,16 +233,20 @@ fi
# choose mirror # choose mirror
if [[ -z "$MIRROR" ]] \ if [[ -z "$MIRROR" ]] \
&& [[ "$LANGUAGE" == "ru" ]] \ && [[ "$LANGUAGE" == "ru" ]]
&& [[ "$BRANCH" != "devel" ]]
then then
echo 'export MIRROR="CLOUD"' >> "$USER_CONF" echo 'export MIRROR="CLOUD"' >> "$USER_CONF"
MIRROR="CLOUD" export MIRROR="CLOUD"
elif [[ -z "$MIRROR" ]] ; then elif [[ -z "$MIRROR" ]] ; then
echo 'export MIRROR="GITHUB"' >> "$USER_CONF" echo 'export MIRROR="GITHUB"' >> "$USER_CONF"
MIRROR="GITHUB" export MIRROR="GITHUB"
fi
if [[ $USE_ONLY_LG_RU == "1" ]] ; then
export MIRROR="CLOUD"
edit_user_conf_from_gui MIRROR USE_ONLY_LG_RU
print_info "Force used linux-gaming.ru for all updates.\n"
fi fi
export MIRROR
print_info "The first mirror in used: $MIRROR\n" print_info "The first mirror in used: $MIRROR\n"
# choose downloading covers from SteamGridDB or not # choose downloading covers from SteamGridDB or not
@ -311,7 +315,9 @@ fi
if ! check_flatpak ; then if ! check_flatpak ; then
if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then
print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock" print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock"
yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0 if [[ $START_FROM_STEAM != "1" ]]
then yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0
fi
fi fi
touch "${PW_TMPFS_PATH}/portproton.lock" touch "${PW_TMPFS_PATH}/portproton.lock"
rm_lock_file () { rm_lock_file () {
@ -407,10 +413,15 @@ EOF
while read -r line while read -r line
do do
export portwine_exe="$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/$line" export portwine_exe="$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/$line"
portwine_create_shortcut if [[ $START_FROM_STEAM == "1" ]]
then portwine_output_yad_shortcut --silent
else portwine_create_shortcut
fi
done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut" done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut"
fi fi
yad_info "${translations[Unpack is DONE for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>." if [[ $START_FROM_STEAM != "1" ]]
then yad_info "${translations[Unpack is DONE for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>."
fi
exit 0 exit 0
fi fi
fi fi
@ -516,7 +527,7 @@ SORT_NEWEST="${translations[Newest DXVK, VKD3D, D8VK (Vulkan v1.3+)]}"
case "$PW_VULKAN_USE" in case "$PW_VULKAN_USE" in
0) PW_DEFAULT_VULKAN_USE="$SORT_OPENGL!$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY" ;; 0) PW_DEFAULT_VULKAN_USE="$SORT_OPENGL!$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY" ;;
1) PW_DEFAULT_VULKAN_USE="$SORT_STABLE!$SORT_NEWEST!$SORT_LEGACY!$SORT_OPENGL" ;; 1) PW_DEFAULT_VULKAN_USE="$SORT_STABLE!$SORT_NEWEST!$SORT_LEGACY!$SORT_OPENGL" ;;
5) PW_DEFAULT_VULKAN_USE="$SORT_LEGACY!$SORT_NEWEST!$SORT_STABLE!$SORT_OPENGL" ;; 3|5) PW_DEFAULT_VULKAN_USE="$SORT_LEGACY!$SORT_NEWEST!$SORT_STABLE!$SORT_OPENGL" ;;
*) PW_DEFAULT_VULKAN_USE="$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_OPENGL" ;; *) PW_DEFAULT_VULKAN_USE="$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_OPENGL" ;;
esac esac
@ -958,7 +969,7 @@ case "${VULKAN_MOD}" in
"$SORT_OPENGL" ) export PW_VULKAN_USE="0" ;; "$SORT_OPENGL" ) export PW_VULKAN_USE="0" ;;
"$SORT_STABLE" ) export PW_VULKAN_USE="1" ;; "$SORT_STABLE" ) export PW_VULKAN_USE="1" ;;
"$SORT_NEWEST" ) export PW_VULKAN_USE="2" ;; "$SORT_NEWEST" ) export PW_VULKAN_USE="2" ;;
"$SORT_LEGACY" ) export PW_VULKAN_USE="5" ;; "$SORT_LEGACY" ) export PW_VULKAN_USE="3" ;;
esac esac
init_wine_ver init_wine_ver

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru) #Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2417 #SCRIPTS_NEXT_VERSION=2425
#SCRIPTS_STABLE_VERSION=2411 #SCRIPTS_STABLE_VERSION=2425
######################################################################## ########################################################################
export AI_TOP_GAMES="PW_LGC PW_VKPLAY PW_EPIC PW_BATTLE_NET PW_WORLD_OF_SEA_BATTLE PW_RUSSIAN_FISHING PW_HO_YO_PLAY PW_FARLIGHT84 PW_WARFRAME PW_WGC PW_UBISOFT" export AI_TOP_GAMES="PW_LGC PW_VKPLAY PW_EPIC PW_BATTLE_NET PW_WORLD_OF_SEA_BATTLE PW_RUSSIAN_FISHING PW_HO_YO_PLAY PW_FARLIGHT84 PW_WARFRAME PW_WGC PW_UBISOFT"
export PROTON_USE_XALIA="0" export PROTON_USE_XALIA="0"
@ -38,9 +38,9 @@ export PW_LOCALE_SELECT="disabled"
export PW_DINPUT_PROTOCOL="0" export PW_DINPUT_PROTOCOL="0"
export PW_USE_VRCLIENT="0" export PW_USE_VRCLIENT="0"
export STAGING_SHARED_MEMORY="1" export STAGING_SHARED_MEMORY="1"
export PW_USE_GALLIUM_ZINK="0"
export PW_USE_GALLIUM_NINE="0" export PW_USE_GALLIUM_NINE="0"
export PW_USE_DAMAVAND="0" export PW_USE_GALLIUM_ZINK="0"
export PW_USE_WINED3D_VULKAN="0"
export PW_USE_SUPPLIED_DXVK_VKD3D="1" export PW_USE_SUPPLIED_DXVK_VKD3D="1"
###DEFAULT_WINE### ###DEFAULT_WINE###
export PW_WINE_USE="PROTON_LG" export PW_WINE_USE="PROTON_LG"
@ -49,8 +49,8 @@ export PW_FAKE_DLSS_VER="230506"
export PW_FAKE_DLSS_3_VER="0.9.1-plus" export PW_FAKE_DLSS_3_VER="0.9.1-plus"
export PW_GALLIUM_NINE_VER="0.10" export PW_GALLIUM_NINE_VER="0.10"
###WINE_AND_PROTON_LG### ###WINE_AND_PROTON_LG###
export PW_PROTON_LG_VER="PROTON_LG_9-27" export PW_PROTON_LG_VER="PROTON_LG_10-4"
export PW_WINE_LG_VER="WINE_LG_10-7" export PW_WINE_LG_VER="WINE_LG_10-10-1"
export PW_WINE_FULLSCREEN_FSR="1" export PW_WINE_FULLSCREEN_FSR="1"
export WINE_FULLSCREEN_FSR_MODE="ultra" export WINE_FULLSCREEN_FSR_MODE="ultra"
###DXVK_AND_VKD3D### ###DXVK_AND_VKD3D###
@ -58,9 +58,9 @@ export PW_VULKAN_USE="2"
export VKD3D_LIMIT_TESS_FACTORS="64" export VKD3D_LIMIT_TESS_FACTORS="64"
export DXVK_LEGACY_VER="1.6.1" export DXVK_LEGACY_VER="1.6.1"
export DXVK_STABLE_VER="1.10.3-28" export DXVK_STABLE_VER="1.10.3-28"
export DXVK_GIT_VER="2.6-65" export DXVK_GIT_VER="2.6.1-255"
export VKD3D_STABLE_VER="1.1-2602" export VKD3D_STABLE_VER="1.1-2602"
export VKD3D_GIT_VER="1.1-4511" export VKD3D_GIT_VER="1.1-4591"
###VKBASALT### ###VKBASALT###
export PW_VKBASALT_EFFECTS="Curves:cas" export PW_VKBASALT_EFFECTS="Curves:cas"
export PW_VKBASALT_FFX_CAS="0.50" export PW_VKBASALT_FFX_CAS="0.50"