diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 94cf0a1..8c5fdcc 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -78,14 +78,14 @@ try_force_link_dir () { try_download () { set -o pipefail - wget -c -t 5 -T 20 "$1" --output-document="$2" 2>&1 | \ + wget -c -t 1 -T 20 "$1" --output-document="$2" 2>&1 | \ sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./' | \ zenity --progress --percentage=0 --title="Download $(basename $1)" --text=Starting... --auto-close --auto-kill --width=500 --height=90 [ "${PIPESTATUS[0]}" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0 } try_download_silent () { - wget -c -t 5 -T 20 "$1" --output-document="$2" + wget -c -t 1 -T 20 "$1" --output-document="$2" [ "$?" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0 } @@ -153,7 +153,7 @@ pw_vkbasalt_check () { if [ -z "${PW_VKBASALT_FFX_CAS}" ] ; then export PW_VKBASALT_FFX_CAS="0.7" fi - sed -ri "s/casSharpness = .*/casSharpness = ${PW_VKBASALT_FFX_CAS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf" + sed -ri "s/casSharpness .*/casSharpness = ${PW_VKBASALT_FFX_CAS}/g" "${PORT_WINE_PATH}/data/vkBasalt.conf" export VKBASALT_CONFIG_FILE="${PORT_WINE_PATH}/data/vkBasalt.conf" else export DISABLE_VKBASALT=1 diff --git a/data_from_portwine/vkBasalt.conf b/data_from_portwine/vkBasalt.conf index cd57463..cc41042 100755 --- a/data_from_portwine/vkBasalt.conf +++ b/data_from_portwine/vkBasalt.conf @@ -73,6 +73,6 @@ UIMask = /usr/local/share/reshade/shaders/UIMask.fx Vibrance = /usr/local/share/reshade/shaders/Vibrance.fx Vignette = /usr/local/share/reshade/shaders/Vignette.fx -casSharpness=0.7 +casSharpness = 0.7 toggleKey = Home effects = FakeHDR:cas