From 1d7cfc9851359e37f0d52f8355e87b671d83c17b Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Mon, 12 Jan 2026 17:29:07 +0300 Subject: [PATCH] empty dxvk.conf is used for optiscaler --- data_from_portwine/scripts/functions_helper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index fccfe544..a0636294 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -3687,7 +3687,7 @@ start_portwine () { OPTISCALER_PATH="$PW_PLUGINS_PATH/fake_dlss/optiscaler-$PW_OPTISCALER_VER" OPTISCALER_FILES="dxgi.dll amd_fidelityfx_dx12.dll amd_fidelityfx_vk.dll libxess.dll \ libxess_dx11.dll libxess_fg.dll dlssg_to_fsr3_amd_is_better.dll fakenvapi.ini \ - fakenvapi.dll OptiScaler.ini dxvk.conf D3D12 D3D12_Optiscaler libxell.dll \ + fakenvapi.dll OptiScaler.ini D3D12 D3D12_Optiscaler libxell.dll \ amd_fidelityfx_upscaler_dx12.dll amd_fidelityfx_framegeneration_dx12.dll" ORIGINAL_GAME_DLLS="amd_fidelityfx_upscaler_dx12.dll amd_fidelityfx_vk.dll \ amd_fidelityfx_dx12.dll libxess.dll libxess_dx11.dll libxess_fg.dll \ @@ -3705,6 +3705,7 @@ start_portwine () { fi done try_remove_file "$PATH_TO_GAME/optiscaler_version" + try_remove_file "$PATH_TO_GAME/dxvk.conf" fi if [[ "${PW_USE_OPTISCALER}" == "1" ]] ; then @@ -3720,6 +3721,7 @@ start_portwine () { check_variables OPTISCALER_FG_TYPE "Nukems" sed -i "s|FGType =.*|FGType = $OPTISCALER_FG_TYPE|g" "$OPTISCALER_PATH/OptiScaler.ini" + echo "" > "$PATH_TO_GAME/dxvk.conf" if [[ ! -f "$PATH_TO_GAME/dlssg_to_fsr3_amd_is_better.dll" ]] ; then if [[ -f "$PATH_TO_GAME/dxgi.dll" ]] ; then