Compare commits

...

28 Commits

Author SHA1 Message Date
2d9c592696 Scripts version 2427 2025-07-04 16:47:12 +03:00
56e63a279a updated WINE, PROTON and VULKAN 2025-07-04 16:32:15 +03:00
917440a523 fixed download from gamescope session 2025-07-04 16:31:18 +03:00
d7ca9ab654 used exclusive tmp for users 2025-07-04 11:49:53 +03:00
fd1e68e804 Scripts version 2426 2025-07-04 11:38:33 +03:00
295179debc expanding integration with PPQT (alpha) 2025-07-04 11:38:06 +03:00
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
ac812cc19f Merge branch 'devel' 2025-05-24 14:05:25 +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
8 changed files with 160 additions and 86 deletions

View File

@ -2,6 +2,29 @@ You can help us in the development of the project on the website: https://linux-
---------------------------------------- ----------------------------------------
Changelog: Changelog:
###Scripts version 2427### / Date: 04.07.2025 / Download update size: 380 megabytes
* updated WINE_LG to version "10-11"
* updated PROTON_LG to version "10-8" (repackaging from GE-Proton10-8)
* updated versions:
- DXVK_GIT "2.6.1-368" (together with dxvk-nvapi)
- VKD3D_GIT "1.1-4655" (together with vkd3d-shader)
* added division of temporary directory for different users
* fixed updating scripts and downloading archives in gamescope sessions with native PortProton
###Scripts version 2426### / Date: 04.07.2025 / Download update size: 4 megabytes
* expanding integration with PPQT (alpha)
###Scripts version 2425### / stable / Date: 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 / Date: 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 ###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 games in full screen when using native wayland
* fixed work of third-party versions of WINE when using native wayland * fixed work of third-party versions of WINE when using native wayland

View File

@ -2,6 +2,29 @@
----------------------------------------- -----------------------------------------
История изменений: История изменений:
###Scripts version 2427### / Дата: 04.07.2025 / Размер скачиваемого обновления: 380 мегабайт
* обновлен WINE_LG до версии "10-11"
* обновлен PROTON_LG до версии "10-8" (перепаковка с GE-Proton10-8)
* обновлены версии:
- DXVK_GIT "2.6.1-368" (совместно с dxvk-nvapi)
- VKD3D_GIT "1.1-4655" (совместно vkd3d-shader)
* добавлено разделение временного каталога для разных пользователей
* исправлено обновление скриптов и скачивание архивов в gamescope сессии с нативным PortProton
###Scripts version 2426### / Дата: 04.07.2025 / Размер скачиваемого обновления: 4 мегабайта
* расширена интеграция с PPQT (альфа)
###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 мегабайта ###Scripts version 2422### / Дата: 25.06.2025 / Размер скачиваемого обновления: 4 мегабайта
* исправлена работа игр в полном экране при использовании нативного wayland * исправлена работа игр в полном экране при использовании нативного wayland
* исправлена работа сторонних версий WINE при использовании нативного wayland * исправлена работа сторонних версий WINE при использовании нативного wayland

View File

@ -9,14 +9,14 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-24 14:18+0300\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"
@ -465,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 ""
@ -507,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"
@ -618,23 +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"
#, fuzzy
msgid "Enable experemental native Wayland support" msgid "Enable experemental native Wayland support"
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)"
msgid "Enable HDR settings in games with native Wayland" msgid "Enable HDR settings in games with native Wayland"
msgstr "" msgstr "Habilitar configuraciones HDR en juegos con Wayland nativo"
#, fuzzy
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)"
@ -783,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 "
@ -797,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"
@ -1458,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)"
@ -1686,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"
@ -1700,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 "
@ -1812,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"
@ -1830,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"
@ -1880,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. "
@ -1904,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"
@ -1933,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 "
@ -2111,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"
@ -2211,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.\\n" #~ "Para agregar el acceso directo a STEAM, es necesario reiniciar.\\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."
@ -2222,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 ""
@ -2413,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

@ -2,21 +2,29 @@
# Author: Castro-Fidel (linux-gaming.ru) # Author: Castro-Fidel (linux-gaming.ru)
# shellcheck disable=SC2034 # shellcheck disable=SC2034
######################################################################## ########################################################################
$PW_DEBUG $PW_DEBUG
print_error () { printf "\E[31m%s Error: $@ %s\e[0m\n" ;}
process_log () {
if [[ $PROCESS_LOG == "1" ]] ; then
local filter_word="mono|gecko"
echo "$@" | sed -r "/$filter_word/Id" >> "$PW_TMPFS_PATH/process.log"
fi
}
export -f process_log
print_error () { printf "\E[31m%s Error: $@ %s\e[0m\n" ; process_log "$@" ;}
export -f print_error export -f print_error
print_warning () { printf "\E[33m%s Warning: $@ %s\e[0m\n" ;} print_warning () { printf "\E[33m%s Warning: $@ %s\e[0m\n" ; process_log "$@" ;}
export -f print_warning export -f print_warning
print_info () { printf "\E[36m%s Info: $@ %s\e[0m\n" ;} print_info () { printf "\E[36m%s Info: $@ %s\e[0m\n" ; process_log "$@" ;}
export -f print_info export -f print_info
print_ok () { printf "\E[35m%s OK: $@ %s\e[0m\n" ;} print_ok () { printf "\E[35m%s OK: $@ %s\e[0m\n" ; process_log "$@" ;}
export -f print_ok export -f print_ok
print_var () { for vp in $@ ; do print_info "${vp}=${!vp}" ; done ;} print_var () { for vp in $@ ; do echo "${vp}=${!vp}" ; done ;}
export -f print_var export -f print_var
print_wrapped () { print_wrapped () {
@ -620,6 +628,10 @@ try_download () {
if [[ "$silent" == "true" ]] ; then if [[ "$silent" == "true" ]] ; then
curl -f -# -A 'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)' -H 'Cache-Control: no-cache, no-store' \ curl -f -# -A 'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)' -H 'Cache-Control: no-cache, no-store' \
-H 'Pragma: no-cache' -L "${FIRST_URL[@]}" -o "$dest" 2>&1 -H 'Pragma: no-cache' -L "${FIRST_URL[@]}" -o "$dest" 2>&1
elif [[ $PROCESS_LOG == "1" ]] ; then
curl -f -# -A 'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)' -H 'Cache-Control: no-cache, no-store' \
-H 'Pragma: no-cache' -L "${FIRST_URL[@]}" -o "$dest" 2>&1 \
| tr '\r' '\n' | sed -ur 's|[# ]+||g;s|100||g;s|0-||g;s|.*=.*||g' >> "$PW_TMPFS_PATH/process.log"
else else
curl -f -# -A 'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)' -H 'Cache-Control: no-cache, no-store' \ curl -f -# -A 'Mozilla/5.0 (compatible; Konqueror/2.1.1; X11)' -H 'Cache-Control: no-cache, no-store' \
-H 'Pragma: no-cache' -L "${FIRST_URL[@]}" -o "$dest" 2>&1 | \ -H 'Pragma: no-cache' -L "${FIRST_URL[@]}" -o "$dest" 2>&1 | \
@ -861,7 +873,7 @@ background_pid () {
arg2=$2 # Название команды arg2=$2 # Название команды
arg3=$3 # Номер процесса (1,2,3..) arg3=$3 # Номер процесса (1,2,3..)
if [[ "$START_FROM_STEAM" == 1 ]] \ if check_start_from_steam \
|| [[ "$PW_GUI_DISABLED_CS" == 1 ]] \ || [[ "$PW_GUI_DISABLED_CS" == 1 ]] \
|| [[ -n "$PW_DEBUG" ]] ; then || [[ -n "$PW_DEBUG" ]] ; then
case $arg1 in case $arg1 in
@ -2297,14 +2309,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
} }
@ -4433,9 +4449,15 @@ pw_run () {
PW_LOG_TO_FILE="${PORT_WINE_PATH}/PortProton.log" PW_LOG_TO_FILE="${PORT_WINE_PATH}/PortProton.log"
PW_LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}:${WINE_LIBRARY_PATH}" PW_LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}:${WINE_LIBRARY_PATH}"
print_var "WINEDIR" "WINEPREFIX" "WINEDLLOVERRIDES" "PATH_TO_GAME" "PW_WINE_USE" "PW_VULKAN_USE" "VULKAN_DRIVER_NAME"
print_var "WINELOADER" "VKD3D_CONFIG" "PW_LD_LIBRARY_PATH" "PATH" "WINEESYNC" "WINEFSYNC" "WINEFSYNC_FUTEX2" echo "##### Current variables #####" > "$PW_TMPFS_PATH/var.log"
print_var "WINEDLLPATH" "WINE_CPU_TOPOLOGY" "PW_RUN_GAMESCOPE" "LD_LIBRARY_PATH" "PW_VK_ICD_FILENAMES" "PW_TASKSET_SLR" for var in "WINEDIR" "WINEPREFIX" "WINEDLLOVERRIDES" "PATH_TO_GAME" "PW_WINE_USE" "PW_VULKAN_USE" "VULKAN_DRIVER_NAME" \
"WINELOADER" "VKD3D_CONFIG" "PW_LD_LIBRARY_PATH" "PATH" "WINEESYNC" "WINEFSYNC" "WINEFSYNC_FUTEX2" \
"WINEDLLPATH" "WINE_CPU_TOPOLOGY" "PW_RUN_GAMESCOPE" "LD_LIBRARY_PATH" "PW_VK_ICD_FILENAMES" "PW_TASKSET_SLR"
do
print_var "$var" | tee -a "$PW_TMPFS_PATH/var.log"
done
proxy_launch_parameters=${LAUNCH_PARAMETERS//\\\\/\\} proxy_launch_parameters=${LAUNCH_PARAMETERS//\\\\/\\}
if [[ "$PW_USE_RUNTIME" == 1 ]] \ if [[ "$PW_USE_RUNTIME" == 1 ]] \
&& [[ "$PW_WINE_USE" != "USE_SYSTEM_WINE" ]] && [[ "$PW_WINE_USE" != "USE_SYSTEM_WINE" ]]

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

@ -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

@ -108,11 +108,11 @@ unset PW_TERM PW_EXEC_FROM_DESKTOP WEBKIT_DISABLE_DMABUF_RENDERER PW_AMD_VULKAN_
export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp" export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp"
rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}* rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}*
if mkdir -p "/tmp/PortProton" ; then if mkdir -p "/tmp/PortProton_$USER" ; then
export PW_TMPFS_PATH="/tmp/PortProton" export PW_TMPFS_PATH="/tmp/PortProton_$USER"
else else
create_new_dir "${PORT_WINE_PATH}/data/tmp/PortProton" create_new_dir "${PORT_WINE_PATH}/data/tmp/PortProton_$USER"
export PW_TMPFS_PATH="${PORT_WINE_PATH}/data/tmp/PortProton" export PW_TMPFS_PATH="${PORT_WINE_PATH}/data/tmp/PortProton_$USER"
fi fi
echo "" > "${PW_TMPFS_PATH}/tmp_yad_form" echo "" > "${PW_TMPFS_PATH}/tmp_yad_form"
@ -292,12 +292,10 @@ if [[ -z $PW_WINE_DPI_VALUE ]] ; then
export PW_WINE_DPI_VALUE="recommended" export PW_WINE_DPI_VALUE="recommended"
fi fi
if check_flatpak ; then
if check_gamescope_session if check_gamescope_session
then PW_TERM="env LANG=C xterm -fullscreen -bg black -fg white -e" then PW_TERM="env LANG=C xterm -fullscreen -bg black -fg white -e"
else PW_TERM="env LANG=C xterm -bg black -fg white -e" else PW_TERM="env LANG=C xterm -bg black -fg white -e"
fi fi
fi
pw_check_and_download_plugins pw_check_and_download_plugins
@ -315,18 +313,19 @@ 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"
if [[ $START_FROM_STEAM != "1" ]] if ! check_start_from_steam
then yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0 then yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0
fi fi
fi fi
touch "${PW_TMPFS_PATH}/portproton.lock" touch "${PW_TMPFS_PATH}/portproton.lock"
rm_lock_file () {
echo "Removing the lock file..."
rm -fv "${PW_TMPFS_PATH}/portproton.lock" && echo "OK"
}
trap "rm_lock_file" EXIT
fi fi
rm_log_lock () {
rm -fv "${PW_TMPFS_PATH}"/*.log
rm -fv "${PW_TMPFS_PATH}/portproton.lock"
}
trap "rm_log_lock" EXIT
if check_flatpak ; then if check_flatpak ; then
try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}" try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
else pw_download_libs else pw_download_libs
@ -413,13 +412,13 @@ 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"
if [[ $START_FROM_STEAM == "1" ]] if check_start_from_steam
then portwine_output_yad_shortcut --silent then portwine_output_yad_shortcut --silent
else portwine_create_shortcut else portwine_create_shortcut
fi 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
if [[ $START_FROM_STEAM != "1" ]] if ! check_start_from_steam
then yad_info "${translations[Unpack is DONE for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>." then yad_info "${translations[Unpack is DONE for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>."
fi fi
exit 0 exit 0

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=2422 #SCRIPTS_NEXT_VERSION=2427
#SCRIPTS_STABLE_VERSION=2419 #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"
@ -42,6 +42,7 @@ export PW_USE_GALLIUM_NINE="0"
export PW_USE_GALLIUM_ZINK="0" export PW_USE_GALLIUM_ZINK="0"
export PW_USE_WINED3D_VULKAN="0" export PW_USE_WINED3D_VULKAN="0"
export PW_USE_SUPPLIED_DXVK_VKD3D="1" export PW_USE_SUPPLIED_DXVK_VKD3D="1"
export WINEUSERNAME="steamuser"
###DEFAULT_WINE### ###DEFAULT_WINE###
export PW_WINE_USE="PROTON_LG" export PW_WINE_USE="PROTON_LG"
export PW_PLUGINS_VER="_v20" export PW_PLUGINS_VER="_v20"
@ -49,8 +50,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_10-4" export PW_PROTON_LG_VER="PROTON_LG_10-8"
export PW_WINE_LG_VER="WINE_LG_10-10-1" export PW_WINE_LG_VER="WINE_LG_10-11"
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 +59,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.1-255" export DXVK_GIT_VER="2.6.1-368"
export VKD3D_STABLE_VER="1.1-2602" export VKD3D_STABLE_VER="1.1-2602"
export VKD3D_GIT_VER="1.1-4591" export VKD3D_GIT_VER="1.1-4655"
###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"