@@ -3156,7 +3176,7 @@ if [[ "${SKIP_EDIT_DB_TEXT_INFO}" != 1 ]] ; then
export PW_USE_SYSTEM_VK_LAYERS_INFO=$(gettext 'Use system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers')
export PW_USE_OBS_VKCAPTURE_INFO=$(gettext 'Enable the ability to write to OBS Studio using obs-vkcapture (ATTENTION: the forced use of system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers will be enabled)')
export PW_DISABLE_COMPOSITING_INFO=$(gettext 'Disable desktop compositing (effects). It often improves performance.')
export PW_USE_GAMESCOPE_INFO=$(gettext '<b>Super + F :</b> Toggle fullscreen
export PW_GAMESCOPE_INFO=$(gettext '<b>Super + F :</b> Toggle fullscreen
<b>Super + N :</b> Toggle nearest neighbour filtering
<b>Super + U :</b> Toggle FSR upscaling
<b>Super + Y :</b> Toggle NIS upscaling
...
...
@@ -3262,6 +3282,16 @@ A brief instruction:
--field="$(gettext "Forcibly select the OpenGL version for the game")!$(gettext "You can select the required OpenGL version, some games require a forced Compatibility Profile (COMPAT). (Examples are in the drop-down list)") :CB""${PW_MESA_GL_VERSION_OVERRIDE}!disabled!4.6COMPAT!4.6!4.5COMPAT!4.5!3.3COMPAT!3.3"\
--field="$(gettext "Forcibly select the VKD3D feature level")!$(gettext "You can set a forced feature level VKD3D for games on DirectX12") :${VKD3D_CB}""${PW_VKD3D_FEATURE_LEVEL}!disabled!12_2!12_1!12_0!11_1!11_0"\
--field="$(gettext "Force certain locale for an app:")!$(gettext "Fixes encoding issues in legacy software") :CB""${PW_LOCALE_SELECT}!disabled!$LOCALE_LIST"\
--field="$(gettext "Add arguments for GAMESCOPE:")!$(gettext "<b>-W, -H:</b> set the resolution used by gamescope. Resizing the gamescope window will update these settings. Ignored in embedded mode. If -H is specified but -W isn't, a 16:9 aspect ratio is assumed. Defaults to 1280×720.
<b>-w, -h:</b> set the resolution used by the game. If -h is specified but -w isn't, a 16:9 aspect ratio is assumed. Defaults to the values specified in -W and -H.
<b>-r:</b> set a frame-rate limit for the game. Specified in frames per second. Defaults to unlimited.
<b>-o:</b> set a frame-rate limit for the game when unfocused. Specified in frames per second. Defaults to unlimited.
<b>-F fsr:</b> use AMD FidelityFX™ Super Resolution 1.0 for upscaling.
<b>-F nis:</b> use NVIDIA Image Scaling v1.0.3 for upscaling.
<b>-S integer:</b> use integer scaling.
<b>-S stretch:</b> use stretch scaling, the game will fill the window. (e.g. 4:3 to 16:9).
<b>-b:</b> create a border-less window.
<b>-f:</b> create a full-screen window.") :CBE""\\${PW_GAMESCOPE_ARGS}!-r 60 -F fsr!"\
--button="$(gettext "DISABLE") MANGOHUD"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Disable MangoHud and go to the previous menu")":182 \
--button="$(gettext "PREVIEW CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Start vkcube for preview changes")":184 \
--button="$(gettext "SAVE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Save the current changes, and go to the previous menu")":186 2>/dev/null
export PW_GS_force_fullscreen_INFO=$(gettext 'Force windows inside of GameScope to be the size of the nested display')
export PW_GS_force_grab_cursor_INFO=$(gettext 'Lock the mouse cursor inside of the GameScope window')
export PW_GS_force_grab_keyboard_INFO=$(gettext 'Lock keyboard input exclusively to GameScope window')
export PW_GS_enable_hdr_INFO=$(gettext 'Enable HDR Output (needs GameScope WSI layer enabled for support from clients). If a HDR supported display is used, GameScope will use tonemapped SDR')
export PW_GS_enable_wide_gammut_INFO=$(gettext 'Treat SDR sRGB content as having Rec.2020 primaries - Makes colors more vivid at the cost of correctness (for SDR)')
export PW_GS_enable_hdr_inverse_INFO=$(gettext 'Enable SDR to HDE inverse tone mapping - Only works for SDR input')
export PW_GS_immediate_flips_INFO=$(gettext 'Enable immediate flips, equivalent to the Steam Decks "Allow Tearing" option')
export PW_GS_adaptive_sync_INFO=$(gettext 'Enable Adaptive Sync, or "Variable Refresh Rate", if available, e.g. FreeSync')
export PW_GS_force_composition_INFO=$(gettext 'Disables direct scan-out')
export PW_GS_force_hdr_support_INFO=$(gettext 'Forces support for HDR and associated opptions even if the current display does not support it')
export PW_GS_force_hdr_enable_INFO=$(gettext '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')
export PW_GS_prefer_vulkan_device_INFO=$(gettext 'Prefer Vulkan device for compositing')
export PW_GS_expose_wayland_INFO=$(gettext 'Expose Wayland clients using xdg-shell')
--text="$(gettext "Change settings gamescope for") <b>${PORTWINE_DB}</b>\n$(gettext "<b>NOTE:</b> To display help for each item, simply hover your mouse over the text")"\
--text"$(gettext "Change settings gamescope for") <b>${PORTWINE_DB}</b>\n$(gettext "<b>NOTE:</b> To display help for each item, simply hover your mouse over the text")"\
--field="$(gettext "Add arguments for GAMESCOPE:")!$(gettext "
<b>-W, -H:</b> set the resolution used by gamescope. Resizing the gamescope window will update these settings. Ignored in embedded mode. If -H is specified but -W isn't, a 16:9 aspect ratio is assumed. Defaults to 1280×720.
<b>-w, -h:</b> set the resolution used by the game. If -h is specified but -w isn't, a 16:9 aspect ratio is assumed. Defaults to the values specified in -W and -H.
<b>-r:</b> set a frame-rate limit for the game. Specified in frames per second. Defaults to unlimited.
<b>-o:</b> set a frame-rate limit for the game when unfocused. Specified in frames per second. Defaults to unlimited.
<b>-F fsr:</b> use AMD FidelityFX™ Super Resolution 1.0 for upscaling.
<b>-F nis:</b> use NVIDIA Image Scaling v1.0.3 for upscaling.
<b>-S integer:</b> use integer scaling.
<b>-S stretch:</b> use stretch scaling, the game will fill the window. (e.g. 4:3 to 16:9).
<b>-b:</b> create a border-less window.
<b>-f:</b> create a full-screen window.") :CBE""\\${GAMESCOPE_ARGS}!-r 60 -F fsr!"\
--field="${CHKBOX_SPACE}$(gettext "Internal resolution")!$(gettext "Set the resolution used") :CBE""${PW_GS_INTERNAL_RESOLUTION}!${GAMESCOPE_XRANDR}"\
--field="${CHKBOX_SPACE}$(gettext "Show resolution")!$(gettext "Set the resolution used by gamescope. Resizing the gamescope window will update these settings. Defaults to 1280x720.") :CBE""${PW_GS_SHOW_RESOLUTION}!${GAMESCOPE_XRANDR}"\
--field="${CHKBOX_SPACE}$(gettext "Frame limit")!$(gettext "Set a framerate limit. Specified in frames per second") :CBE""${PW_GS_FRAME_LIMIT}!disabled!30!60!90!120!144"\
--field="${CHKBOX_SPACE}$(gettext "Frame limit unfocused")!$(gettext "Set a framerate limit for the game when unfocused. Specified in frames per second.") :CBE""${PW_GS_FRAME_LIMIT_UNFOCUSED}!disabled!30!60!90!120!144"\
--field="${CHKBOX_SPACE}$(gettext "Force orientation")!$(gettext "Rotate the internal GameScope display") :CB""disabled!left!right!normal!upsidedown"\
--field="${CHKBOX_SPACE}$(gettext "Mouse sensitivity")!$(gettext "Configurable mouse sensitivity, multiply mouse movement by specified decimal number amount") :NUM"""\
--field="${CHKBOX_SPACE}$(gettext "Upscale sharpness")!$(gettext "Sharpening value for FidelityFX SuperResolution 1.0 (FSR) and NVIDIA Image Scaling v1.0.3 (NIS). 0 is max sharpening, 20 is min sharpening.") :NUM"""\
--field="${CHKBOX_SPACE}$(gettext "HDR SDR nits")!$(gettext "Set the luminance of SDR content in nits - Default is 400") :NUM"""\
--field="${CHKBOX_SPACE}$(gettext "HDR inverse SDR")!$(gettext "Set the luminance of SDR content in nets used as the input for the inverse tone mapping process - Maximum is 1000 nits") :NUM"""\
--field="${CHKBOX_SPACE}$(gettext "HDR inverse target")!$(gettext "Set the target luninance of the inverse tone mapping process - Max is 10000 nits") :NUM"""\
--field="${CHKBOX_SPACE}$(gettext "Hide cursor delay")!$(gettext "Amount of time in milliseconds to wait before hiding the cursor") :NUM"""\
--field="${CHKBOX_SPACE}$(gettext "Filter mode")!$(gettext "Use a filter such as AMD FidelityFX SuperResolution 1.0 (FSR) or NVIDIA Image Scaling v1.0.3 (NIS)") :CB""disabled!linear!nearest!fsr!nis!pixel"\
--field="${CHKBOX_SPACE}$(gettext "Scale mode")!$(gettext "Specify how to scale the GameScope window content") :CB""disabled!auto!integer!fit!fill!stretch"\
--field="${CHKBOX_SPACE}$(gettext "Default touch mode")!$(gettext "Default action on touch (disabled will ignore flag)") :CB""disabled!auto!integer!fit!fill!stretch"\
--button="$(gettext "CANCEL THE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Cancel the current changes and return to the previous menu")":1 \
--button="$(gettext "DISABLE") GAMESCOPE"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Disable GameScope and go to the previous menu")":162 \
--button="$(gettext "SAVE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Save the current changes, and go to the previous menu")":166 2>/dev/null)"