From 116d838f4c251fe0bcae7ed2b8eb5329eba586b2 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 15 Nov 2024 17:27:11 +0300 Subject: [PATCH] Scripts version 2379 --- data_from_portwine/changelog_en | 5 ++++- data_from_portwine/changelog_ru | 3 +++ data_from_portwine/scripts/functions_helper | 10 +++++++--- data_from_portwine/scripts/var | 5 +++-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/data_from_portwine/changelog_en b/data_from_portwine/changelog_en index ca1cd57e..9cd534c5 100755 --- a/data_from_portwine/changelog_en +++ b/data_from_portwine/changelog_en @@ -2,8 +2,11 @@ You can help us in the development of the project on the website: https://linux- ---------------------------------------- Changelog: +###Scripts version 2379### / stable / Date: 15.11.2024 / Download update size: 4 megabytes +* HOTFIX - fix for problems related to the lack of sound (pulse by default) + ###Scripts version 2378### / stable / Date: 15.11.2024 / Download update size: 4 megabytes -minor adjustments to the stable version of PortProto scripts +* minor adjustments to the stable version of PortProton scripts ###Scripts version 2377### / stable / Date: 15.11.2024 / Download update size: 220 megabytes * cumulative update to the stable version of PortProton scripts diff --git a/data_from_portwine/changelog_ru b/data_from_portwine/changelog_ru index 9e6fd3b3..0bfe5850 100755 --- a/data_from_portwine/changelog_ru +++ b/data_from_portwine/changelog_ru @@ -2,6 +2,9 @@ ----------------------------------------- История изменений: +###Scripts version 2379### / stable / Дата: 15.11.2024 / Размер скачиваемого обновления: 4 мегабайта +* HOTFIX - исправление проблем связанных с отсуствием звука + ###Scripts version 2378### / stable / Дата: 15.11.2024 / Размер скачиваемого обновления: 4 мегабайта * небольшие корректировки стабильной версии скриптов PortProton diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 9fd18b4b..6a1eebc9 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -3915,9 +3915,13 @@ start_portwine () { get_and_set_reg_file --delete 'Software\Wine\Drivers' 'Graphics' fi - if [[ $PW_SOUND_DRIVER_USE != "disabled" ]] ; then - get_and_set_reg_file --add 'Software\Wine\Drivers' 'Audio' 'REG_SZ' "$PW_SOUND_DRIVER_USE" "user" - fi + + case "$PW_SOUND_DRIVER_USE" in + 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" ;; + oss) get_and_set_reg_file --add 'Software\Wine\Drivers' 'Audio' 'REG_SZ' "oss" "user" ;; + *) get_and_set_reg_file --delete 'Software\Wine\Drivers' 'Audio' ;; + esac pw_stop_progress_bar if ! check_start_from_steam ; then diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index f1328ef6..0b3f0ca1 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -1,7 +1,7 @@ #!/usr/bin/env bash #Author: Castro-Fidel (linux-gaming.ru) -#SCRIPTS_NEXT_VERSION=2378 -#SCRIPTS_STABLE_VERSION=2378 +#SCRIPTS_NEXT_VERSION=2379 +#SCRIPTS_STABLE_VERSION=2379 ######################################################################## 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="1" @@ -38,6 +38,7 @@ export PW_GPU_USE="disabled" export PW_LOCALE_SELECT="disabled" export PW_DINPUT_PROTOCOL="0" export STAGING_SHARED_MEMORY="1" +export PW_SOUND_DRIVER_USE="pulse" ###DEFAULT_WINE### export PW_WINE_USE="PROTON_LG" export PW_PLUGINS_VER="_v17"