From 3224aaa7543289e437ab1b4a612b08e87885ef91 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 24 Oct 2024 20:56:14 +0300 Subject: [PATCH] fixed func: gui_vkbasalt --- data_from_portwine/scripts/functions_helper | 18 +++++++----------- data_from_portwine/scripts/var | 2 +- data_from_portwine/vkBasalt.conf | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 91931cb..a75d542 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4770,17 +4770,13 @@ gui_vkbasalt () { fi done - if [[ -n "${PW_VKBASALT_FFX_CAS}" ]] ; then - case "$PW_VKBASALT_FFX_CAS" in - 0|-1) VKBASALT_FFX_CAS_GUI="0" ;; - 1) VKBASALT_FFX_CAS_GUI="100" ;; - 0.0*) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.0' '{print $2}')" ;; - *) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.' '{print $2}')" ;; - esac - export VKBASALT_FFX_CAS_GUI - else - VKBASALT_FFX_CAS_GUI=50 - fi + case "$PW_VKBASALT_FFX_CAS" in + 0|-1) VKBASALT_FFX_CAS_GUI="0" ;; + 1) VKBASALT_FFX_CAS_GUI="100" ;; + 0.0*) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.0' '{print $2}')" ;; + *) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.' '{print $2}')" ;; + esac + export VKBASALT_FFX_CAS_GUI IFS="%" "${pw_yad}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=4 --separator=" " \ diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index 3541494..08c8724 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -63,7 +63,7 @@ export VKD3D_STABLE_VER="1.1-2602" export VKD3D_GIT_VER="1.1-4240" ###VKBASALT### export PW_VKBASALT_EFFECTS="Curves:cas" -export PW_VKBASALT_FFX_CAS="0.66" +export PW_VKBASALT_FFX_CAS="0.50" ###MANGOHUD### export DEFAULT_MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine" ###DGVOODOO2### diff --git a/data_from_portwine/vkBasalt.conf b/data_from_portwine/vkBasalt.conf index 8721c2d..a2eaa3c 100755 --- a/data_from_portwine/vkBasalt.conf +++ b/data_from_portwine/vkBasalt.conf @@ -55,6 +55,6 @@ Cartoon = /run/pressure-vessel/pv-from-host/reshade/shaders/Cartoon.fx Border = /run/pressure-vessel/pv-from-host/reshade/shaders/Border.fx AspectRatio = /run/pressure-vessel/pv-from-host/reshade/shaders/AspectRatio.fx -casSharpness = 0.7 +casSharpness = 0.5 toggleKey = Home effects = FakeHDR:cas