Skip to content

Commit

Permalink
DXVK: Add DXVK_HDR checkbox (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk authored Jan 27, 2023
1 parent e3d4f1e commit 8aef5c8
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 10 deletions.
4 changes: 3 additions & 1 deletion lang/chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/dutch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1104,4 +1104,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/englishUK.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/french.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/german.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1105,4 +1105,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/italian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/polish.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
4 changes: 3 additions & 1 deletion lang/russian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1103,4 +1103,6 @@ DESC_GSFORCEHDRSUPPORT="Forces support for HDR and associated opptions even if t
GUI_GSFORCEHDROUTPUT="Force HDR Enabled"
DESC_GSFORCEHDROUTPUT="Force support and output for HDR10 PQ even if the current display does not support it - This will look very wrong on non-HDR displays"
GUI_GSPREFERVKDEVICE="Prefer Vulkan Device"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
DESC_GSPREFERVKDEVICE="Prefer Vulkan device for compositing"
GUI_DXVK_HDR="DXVK HDR"
DESC_DXVK_HDR="Enable DXVK HDR support - requires compatible GPU and drivers"
6 changes: 5 additions & 1 deletion steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
PREFIX="/usr"
PROGNAME="SteamTinkerLaunch"
NICEPROGNAME="Steam Tinker Launch"
PROGVERS="v12.12.20230121-1"
PROGVERS="v12.12.20230127-1"
PROGCMD="${0##*/}"
SHOSTL="stl"
GHURL="https://github.com"
Expand Down Expand Up @@ -2792,6 +2792,7 @@ function setDefaultCfgValues {
if [ -z "$DXVK_SCALE" ] ; then DXVK_SCALE="1.0"; fi
if [ -z "$DXVK_FPSLIMIT" ] ; then DXVK_FPSLIMIT="none"; fi
if [ -z "$DXVK_ASYNC" ] ; then DXVK_ASYNC="0"; fi
if [ -z "$DXVK_HDR" ] ; then DXVK_HDR="0"; fi
if [ -z "$PROTON_LOG" ] ; then PROTON_LOG="0"; fi
if [ -z "$PROTON_LOG_DIR" ] ; then PROTON_LOG_DIR="$STLPROTONIDLOGDIR"; fi
if [ -z "$USEWINEDEBUGPROTON" ] ; then USEWINEDEBUGPROTON="0"; fi
Expand Down Expand Up @@ -3372,6 +3373,8 @@ function saveCfg {
echo "DXVK_FPSLIMIT=\"$DXVK_FPSLIMIT\""
echo "## $DESC_DXVK_ASYNC"
echo "DXVK_ASYNC=\"$DXVK_ASYNC\""
echo "## $DESC_DXVK_HDR"
echo "DXVK_HDR=\"$DXVK_HDR\""
echo "## $DESC_STRACERUN"
echo "STRACERUN=\"$STRACERUN\""
echo "## $DESC_STRACEOPTS"
Expand Down Expand Up @@ -4985,6 +4988,7 @@ function AllSettingsEntriesDummyFunction {
--field=" $GUI_DXVK_SCALE!$DESC_DXVK_SCALE ('DXVK_SCALE')" "${DXVK_SCALE/#-/ -}" `#CAT_Proton` `#MENU_GAME` \
--field=" $GUI_DXVK_FPSLIMIT!$DESC_DXVK_FPSLIMIT ('DXVK_FPSLIMIT')":CBE "$(cleanDropDown "${DXVK_FPSLIMIT/#-/ -}" "none!30!60!75!90!120!144!165!240")" `#CAT_Proton` `#MENU_GAME` \
--field=" $GUI_DXVK_ASYNC!$DESC_DXVK_ASYNC ('DXVK_ASYNC')":CHK "${DXVK_ASYNC/#-/ -}" `#CAT_Proton` `#SUB_Dxvk` `#MENU_GAME` \
--field=" $GUI_DXVK_HDR!$DESC_DXVK_HDR ('DXVK_HDR')":CHK "${DXVK_HDR/#-/ -}" `#CAT_Proton` `#SUB_Dxvk` `#MENU_GAME` \
--field=" $GUI_CUSTPROTDLDIR!$DESC_CUSTPROTDLDIR ('CUSTPROTDLDIR')":DIR "${CUSTPROTDLDIR/#-/ -}" `#CAT_Proton` `#SUB_Directories` `#MENU_GLOBAL` \
--field=" $GUI_CUSTPROTEXTDIR!$DESC_CUSTPROTEXTDIR ('CUSTPROTEXTDIR')":DIR "${CUSTPROTEXTDIR/#-/ -}" `#CAT_Proton` `#SUB_Directories` `#MENU_GLOBAL` \
--field=" $GUI_CUPROTOCOMPAT!$DESC_CUPROTOCOMPAT ('CUPROTOCOMPAT')":CHK "${CUPROTOCOMPAT/#-/ -}" `#CAT_Proton` `#SUB_Checkbox` `#MENU_GLOBAL` \
Expand Down

0 comments on commit 8aef5c8

Please sign in to comment.