forked from CastroFidel/PortWINE
Merge branch 'mesa_vk_wsi' of github.com:Htylol/PortWINE into Htylol-mesa_vk_wsi
This commit is contained in:
commit
f3ab3b3d25
@ -7,7 +7,7 @@
|
||||
msgid ""
|
||||
msgstr "Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-10-08 10:20+0500\n"
|
||||
"POT-Creation-Date: 2024-10-15 13:25+0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -402,9 +402,6 @@ msgstr ""
|
||||
msgid "Disguise all features used for NVIDIA graphics cards"
|
||||
msgstr ""
|
||||
|
||||
msgid "Forced activation of vertical sync"
|
||||
msgstr ""
|
||||
|
||||
msgid "Enable the application to run in the WINE virtual desktop"
|
||||
msgstr ""
|
||||
|
||||
@ -574,6 +571,17 @@ msgstr ""
|
||||
msgid "Fixes encoding issues in legacy software"
|
||||
msgstr ""
|
||||
|
||||
msgid "Window mode (for Vulkan and OpenGL)"
|
||||
msgstr ""
|
||||
|
||||
msgid "fifo - First in, first out. Limits the frame rate + no tearing. "
|
||||
"(VSync)\n"
|
||||
"immediate - Unlimited frame rate + tearing.\n"
|
||||
"mailbox - Triple buffering. Unlimited frame rate + no tearing.\n"
|
||||
"relaxed - Same as fifo but allows tearing when below the monitors "
|
||||
"refresh rate."
|
||||
msgstr ""
|
||||
|
||||
msgid "EDIT DB"
|
||||
msgstr ""
|
||||
|
||||
@ -1262,18 +1270,6 @@ msgstr ""
|
||||
msgid "Set a framerate limit. Specified in frames per second"
|
||||
msgstr ""
|
||||
|
||||
msgid "Mesa vulkan WSI"
|
||||
msgstr ""
|
||||
|
||||
msgid "Overrides the WSI present mode:\n"
|
||||
"fifo - First in, first out. Limits the frame rate + no tearing. "
|
||||
"(VSync)\n"
|
||||
"immediate - Unlimited frame rate + tearing.\n"
|
||||
"mailbox - Triple buffering. Unlimited frame rate + no tearing.\n"
|
||||
"relaxed - Same as fifo but allows tearing when below the monitors "
|
||||
"refresh rate."
|
||||
msgstr ""
|
||||
|
||||
msgid "Scaler mode"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-10-08 10:15+0500\n"
|
||||
"PO-Revision-Date: 2024-09-19 23:35+0500\n"
|
||||
"POT-Creation-Date: 2024-10-15 13:25+0500\n"
|
||||
"PO-Revision-Date: 2024-10-15 13:28+0500\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: es_ES\n"
|
||||
@ -456,9 +456,6 @@ msgid "Disguise all features used for NVIDIA graphics cards"
|
||||
msgstr ""
|
||||
"Disfrazar todas las características utilizadas para tarjetas gráficas NVIDIA"
|
||||
|
||||
msgid "Forced activation of vertical sync"
|
||||
msgstr "Activación forzada de la sincronización vertical"
|
||||
|
||||
msgid "Enable the application to run in the WINE virtual desktop"
|
||||
msgstr ""
|
||||
"Habilitar que la aplicación se ejecute en el escritorio virtual de WINE"
|
||||
@ -717,6 +714,23 @@ msgstr "Forzar cierta configuración regional para una aplicación:"
|
||||
msgid "Fixes encoding issues in legacy software"
|
||||
msgstr "Soluciona problemas de codificación en software heredado"
|
||||
|
||||
msgid "Window mode (for Vulkan and OpenGL)"
|
||||
msgstr "Modo ventana (para Vulkan y OpenGL)"
|
||||
|
||||
msgid ""
|
||||
"fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n"
|
||||
"immediate - Unlimited frame rate + tearing.\n"
|
||||
"mailbox - Triple buffering. Unlimited frame rate + no tearing.\n"
|
||||
"relaxed - Same as fifo but allows tearing when below the monitors refresh "
|
||||
"rate."
|
||||
msgstr ""
|
||||
"fifo - Primero en entrar, primero en salir. Limita la velocidad de "
|
||||
"fotogramas + sin tearing. (VSync)\n"
|
||||
"immediate - Frecuencia de imagen ilimitada + tearing.\n"
|
||||
"mailbox - Triple buffering. Frecuencia de imagen ilimitada + sin tearing.\n"
|
||||
"relaxed - Igual que fifo pero permite tearing por debajo de la frecuencia de "
|
||||
"refresco del monitor."
|
||||
|
||||
msgid "EDIT DB"
|
||||
msgstr "CONFIGURACIÓN"
|
||||
|
||||
@ -1656,26 +1670,6 @@ msgstr ""
|
||||
"Establece un límite de fotogramas por segundo. Se especifica en fotogramas "
|
||||
"por segundo"
|
||||
|
||||
msgid "Mesa vulkan WSI"
|
||||
msgstr "WSI mesa volcánica"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Overrides the WSI present mode:\n"
|
||||
"fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n"
|
||||
"immediate - Unlimited frame rate + tearing.\n"
|
||||
"mailbox - Triple buffering. Unlimited frame rate + no tearing.\n"
|
||||
"relaxed - Same as fifo but allows tearing when below the monitors refresh "
|
||||
"rate."
|
||||
msgstr ""
|
||||
"Anula el modo actual de WSI:\n"
|
||||
"fifo - Primero en entrar, primero en salir. Limita la velocidad de "
|
||||
"fotogramas + sin tearing. (VSync)\n"
|
||||
"immediate - Frecuencia de imagen ilimitada + tearing.\n"
|
||||
"mailbox - Triple buffering. Frecuencia de imagen ilimitada + sin tearing.\n"
|
||||
"relaxed - Igual que fifo pero permite tearing por debajo de la frecuencia de "
|
||||
"refresco del monitor."
|
||||
|
||||
msgid "Scaler mode"
|
||||
msgstr "Modo escalador"
|
||||
|
||||
@ -2111,6 +2105,12 @@ msgstr ""
|
||||
msgid "THIRD PARTY LIBRARIES"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Forced activation of vertical sync"
|
||||
#~ msgstr "Activación forzada de la sincronización vertical"
|
||||
|
||||
#~ msgid "Mesa vulkan WSI"
|
||||
#~ msgstr "WSI mesa volcánica"
|
||||
|
||||
#~ msgid "Emulator for Nintendo game consoles with high compatibility"
|
||||
#~ msgstr ""
|
||||
#~ "Un emulador para consolas de juegos de Nintendo con alta compatibilidad"
|
||||
|
@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-10-08 10:15+0500\n"
|
||||
"PO-Revision-Date: 2024-10-08 10:15+0500\n"
|
||||
"POT-Creation-Date: 2024-10-15 13:25+0500\n"
|
||||
"PO-Revision-Date: 2024-10-15 13:26+0500\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: ru_RU\n"
|
||||
@ -462,9 +462,6 @@ msgstr "Принудительное использование старых в
|
||||
msgid "Disguise all features used for NVIDIA graphics cards"
|
||||
msgstr "Скрыть все функции, используемые видеокартами NVIDIA"
|
||||
|
||||
msgid "Forced activation of vertical sync"
|
||||
msgstr "Принудительное включение вертикальной синхронизации"
|
||||
|
||||
msgid "Enable the application to run in the WINE virtual desktop"
|
||||
msgstr "Использовать виртуальный рабочий стол WINE"
|
||||
|
||||
@ -726,6 +723,25 @@ msgstr ""
|
||||
"Исправляет кодировку в устаревших приложениях. Необходимо, например, для "
|
||||
"запуска старых графических новелл (Chaos;Head)"
|
||||
|
||||
msgid "Window mode (for Vulkan and OpenGL)"
|
||||
msgstr "Режим работы окна (для Vulkan и OpenGL)"
|
||||
|
||||
msgid ""
|
||||
"fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n"
|
||||
"immediate - Unlimited frame rate + tearing.\n"
|
||||
"mailbox - Triple buffering. Unlimited frame rate + no tearing.\n"
|
||||
"relaxed - Same as fifo but allows tearing when below the monitors refresh "
|
||||
"rate."
|
||||
msgstr ""
|
||||
"fifo - ограничение частоты кадров + отсутствие разрывов (включает "
|
||||
"вертикальную синхронизацию)\n"
|
||||
"immediate - неограниченная частота кадров (но присутствуют разрывы "
|
||||
"изображения как без включения вертикальной синхронизации).\n"
|
||||
"mailbox - тройная буферизация (неограниченная частота кадров + отсутствие "
|
||||
"разрывов).\n"
|
||||
"relaxed - то же, что и fifo, но допускает разрыв изображения, когда частота "
|
||||
"обновления монитора ниже."
|
||||
|
||||
msgid "EDIT DB"
|
||||
msgstr "НАСТРОЙКИ"
|
||||
|
||||
@ -1627,27 +1643,6 @@ msgstr "Ограничение FPS (кадров в секунду)"
|
||||
msgid "Set a framerate limit. Specified in frames per second"
|
||||
msgstr "Ограничение частоты кадров (кадров в секунду)"
|
||||
|
||||
msgid "Mesa vulkan WSI"
|
||||
msgstr "Режим работы окна"
|
||||
|
||||
msgid ""
|
||||
"Overrides the WSI present mode:\n"
|
||||
"fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n"
|
||||
"immediate - Unlimited frame rate + tearing.\n"
|
||||
"mailbox - Triple buffering. Unlimited frame rate + no tearing.\n"
|
||||
"relaxed - Same as fifo but allows tearing when below the monitors refresh "
|
||||
"rate."
|
||||
msgstr ""
|
||||
"Переопределяет режим работы окна:\n"
|
||||
"fifo - ограничение частоты кадров + отсутствие разрывов (включает "
|
||||
"вертикальную синхронизацию)\n"
|
||||
"immediate - неограниченная частота кадров (но присутствуют разрывы "
|
||||
"изображения как без включения вертикальной синхронизации).\n"
|
||||
"mailbox - тройная буферизация (неограниченная частота кадров + отсутствие "
|
||||
"разрывов).\n"
|
||||
"relaxed - то же, что и fifo, но допускает разрыв изображения, когда частота "
|
||||
"обновления монитора ниже."
|
||||
|
||||
msgid "Scaler mode"
|
||||
msgstr "Режим масштабирования"
|
||||
|
||||
@ -2142,6 +2137,12 @@ msgstr "ПРИСОЕДЕНИТЬСЯ"
|
||||
msgid "THIRD PARTY LIBRARIES"
|
||||
msgstr "БИБЛИОТЕКИ"
|
||||
|
||||
#~ msgid "Forced activation of vertical sync"
|
||||
#~ msgstr "Принудительное включение вертикальной синхронизации"
|
||||
|
||||
#~ msgid "Mesa vulkan WSI"
|
||||
#~ msgstr "Режим работы окна"
|
||||
|
||||
#~ msgid "not known yet"
|
||||
#~ msgstr "пока неизвестно"
|
||||
|
||||
|
@ -2708,20 +2708,6 @@ start_portwine () {
|
||||
export VKD3D_FILTER_DEVICE_NAME="${PW_GPU_USE}"
|
||||
fi
|
||||
|
||||
case "$PW_FORCE_USE_VSYNC" in # 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
0)
|
||||
export vblank_mode=0
|
||||
export __GL_SYNC_TO_VBLANK=0
|
||||
;;
|
||||
1)
|
||||
export vblank_mode=1
|
||||
export __GL_SYNC_TO_VBLANK=1
|
||||
;;
|
||||
*)
|
||||
unset vblank_mode __GL_SYNC_TO_VBLANK
|
||||
;;
|
||||
esac
|
||||
|
||||
export int_xneur=0
|
||||
if command -v xneur &>/dev/null \
|
||||
&& pgrep xneur
|
||||
@ -3249,12 +3235,30 @@ start_portwine () {
|
||||
|
||||
if [[ "${PW_MESA_GL_VERSION_OVERRIDE}" != "disabled" ]] ; then
|
||||
export MESA_GL_VERSION_OVERRIDE="${PW_MESA_GL_VERSION_OVERRIDE}"
|
||||
if [[ $PW_MESA_GL_VERSION_OVERRIDE = 3.2COMPAT ]] ; then
|
||||
export MESA_GLSL_VERSION_OVERRIDE="150"
|
||||
else
|
||||
MESA_GLSL_VERSION_OVERRIDE="${PW_MESA_GL_VERSION_OVERRIDE//./}"
|
||||
export MESA_GLSL_VERSION_OVERRIDE="${MESA_GLSL_VERSION_OVERRIDE//COMPAT/}0"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${PW_VKD3D_FEATURE_LEVEL}" != "disabled" ]] ; then
|
||||
export VKD3D_FEATURE_LEVEL="${PW_VKD3D_FEATURE_LEVEL}"
|
||||
fi
|
||||
|
||||
if [[ "${PW_MESA_VK_WSI_PRESENT_MODE}" != "disabled" ]] ; then
|
||||
export MESA_VK_WSI_PRESENT_MODE="${PW_MESA_VK_WSI_PRESENT_MODE}"
|
||||
case "$PW_MESA_VK_WSI_PRESENT_MODE" in
|
||||
immediate|mailbox)
|
||||
export vblank_mode=0
|
||||
export __GL_SYNC_TO_VBLANK=0 ;;
|
||||
relaxed|fifo)
|
||||
export vblank_mode=1
|
||||
export __GL_SYNC_TO_VBLANK=1 ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
#run_winetricks_from_db
|
||||
if [[ -n "${PW_MUST_HAVE_DLL}" ]]
|
||||
then export PW_DLL_INSTALL="$(echo "${PW_MUST_HAVE_DLL} ${PW_DLL_INSTALL}" | awk '{ for(i=1;i<=NF;i++){a[$i]++} }END{ for(i in a){printf("%s ",i)} }' )"
|
||||
@ -3511,11 +3515,6 @@ start_portwine () {
|
||||
fi
|
||||
|
||||
[[ "${PW_GS_FRAME_LIMIT}" != "disabled" ]] && PW_GAMESCOPE_ARGS_NEW+=" -r ${PW_GS_FRAME_LIMIT}"
|
||||
|
||||
if [[ "${PW_GS_MESA_VK_WSI_PRESENT_MODE}" != "disabled" ]] ; then
|
||||
export MESA_VK_WSI_PRESENT_MODE=${PW_GS_MESA_VK_WSI_PRESENT_MODE}
|
||||
fi
|
||||
|
||||
[[ "${PW_GS_MAX_SCALE_FACTOR}" != "0.0" ]] && PW_GAMESCOPE_ARGS_NEW+=" -m ${PW_GS_MAX_SCALE_FACTOR}"
|
||||
[[ "${PW_GS_SCALER_MODE}" != "disabled" ]] && PW_GAMESCOPE_ARGS_NEW+=" -S ${PW_GS_SCALER_MODE}"
|
||||
|
||||
@ -4283,7 +4282,7 @@ gui_edit_db () {
|
||||
unset 'PW_EDIT_DB_LIST[29]' # "PW_USE_RUNTIME"
|
||||
fi
|
||||
|
||||
# PW_FORCE_USE_VSYNC PW_HEAP_DELAY_FREE
|
||||
# PW_HEAP_DELAY_FREE
|
||||
|
||||
PW_DGVOODOO2_INFO=${translations[Enable dgVoodoo2. Forced use all dgVoodoo2 libs (Glide 2.11-3.1, DirectDraw 1-7, Direct3D 2-9) on all 3D API. For WineD3D OpenGL need use WineLG (For Gallium Nine and Zink use too)]}
|
||||
PW_DINPUT_PROTOCOL_INFO=${translations[Force use DirectInput protocol instead of XInput]}
|
||||
@ -4297,7 +4296,6 @@ gui_edit_db () {
|
||||
PW_USE_NVAPI_AND_DLSS_INFO=${translations[Enable DLSS on supported NVIDIA graphics cards]}
|
||||
PW_OLD_GL_STRING_INFO=${translations[Forced use of older versions of OpenGL]}
|
||||
PW_HIDE_NVIDIA_GPU_INFO=${translations[Disguise all features used for NVIDIA graphics cards]}
|
||||
PW_FORCE_USE_VSYNC_INFO=${translations[Forced activation of vertical sync]}
|
||||
PW_VIRTUAL_DESKTOP_INFO=${translations[Enable the application to run in the WINE virtual desktop]}
|
||||
PW_USE_TERMINAL_INFO=${translations[Run the application in the terminal]}
|
||||
PW_HEAP_DELAY_FREE_INFO=${translations[Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released]}
|
||||
@ -4412,9 +4410,13 @@ A brief instruction:
|
||||
--field="${translations[ADD ARGUMENTS FOR .EXE FILE]}!${translations[Adding an argument after the <b>.exe</b> file, just like you would add an argument in a shortcut on a <b>WINDOWS </b> system]} :CBE" "$(combobox_fix --empty "\\${LAUNCH_PARAMETERS[@]}" "-dx11 -skipintro 1")" \
|
||||
--field=":LBLH" "" \
|
||||
--field="${translations[Limit the use of processor cores]}!${translations[Limiting the number of CPU cores is useful for Unity games (It is recommended to set the value equal to 8)]} :CB" "$(combobox_fix --disabled "${CPU_LIMIT_VAR}" "${GET_LOGICAL_CORE}")" \
|
||||
--field="${translations[Forcibly select the OpenGL version for the game]}!${translations[You can select the required OpenGL version, some games require a forced Compatibility Profile (COMPAT). (Examples are in the drop-down list)]} :CB" "$(combobox_fix --disabled "${PW_MESA_GL_VERSION_OVERRIDE}" "4.6COMPAT!4.6!4.5COMPAT!4.5!3.3COMPAT!3.3")" \
|
||||
--field="${translations[Forcibly select the VKD3D feature level]}!${translations[You can set a forced feature level VKD3D for games on DirectX12]} :${VKD3D_CB}" "$(combobox_fix --disabled "${PW_VKD3D_FEATURE_LEVEL}" "12_2!12_1!12_0!11_1!11_0")" \
|
||||
--field="${translations[Forcibly select the OpenGL version for the game]}!${translations[You can select the required OpenGL version, some games require a forced Compatibility Profile (COMPAT). (Examples are in the drop-down list)]} :CB" "$(combobox_fix --disabled "${PW_MESA_GL_VERSION_OVERRIDE}" "4.6COMPAT!4.5COMPAT!4.3COMPAT!4.1COMPAT!3.3COMPAT!3.2COMPAT")" \
|
||||
--field="${translations[Forcibly select the VKD3D feature level]}!${translations[You can set a forced feature level VKD3D for games on DirectX12]} :$VKD3D_CB" "$(combobox_fix --disabled "${PW_VKD3D_FEATURE_LEVEL}" "12_2!12_1!12_0!11_1!11_0")" \
|
||||
--field="${translations[Force certain locale for an app:]}!${translations[Fixes encoding issues in legacy software]} :CB" "$(combobox_fix --disabled "${PW_LOCALE_SELECT}" "$LOCALE_LIST")" \
|
||||
--field="${translations[Window mode (for Vulkan and OpenGL)]}!${translations[fifo - First in, first out. Limits the frame rate + no tearing. (VSync)
|
||||
immediate - Unlimited frame rate + tearing.
|
||||
mailbox - Triple buffering. Unlimited frame rate + no tearing.
|
||||
relaxed - Same as fifo but allows tearing when below the monitors refresh rate.]} :CB" "$(combobox_fix --disabled "${PW_MESA_VK_WSI_PRESENT_MODE}" "fifo!immediate!mailbox!relaxed")" \
|
||||
1> "$PW_TMPFS_PATH/tmp_output_yad_fps_limit" 2>/dev/null &
|
||||
|
||||
"${pw_yad}" --notebook --key="$KEY_EDIT_DB_GUI" --title "${translations[EDIT DB]}" --text-align=center \
|
||||
@ -4464,6 +4466,7 @@ A brief instruction:
|
||||
PW_MESA_GL_VERSION_OVERRIDE="${PW_ADD_SETTINGS[7]}"
|
||||
PW_VKD3D_FEATURE_LEVEL="${PW_ADD_SETTINGS[8]}"
|
||||
PW_LOCALE_SELECT="${PW_ADD_SETTINGS[9]}"
|
||||
PW_MESA_VK_WSI_PRESENT_MODE="${PW_ADD_SETTINGS[10]}"
|
||||
|
||||
if [[ "${CPU_LIMIT}" != "disabled" ]] ; then
|
||||
PW_WINE_CPU_TOPOLOGY="${CPU_LIMIT}:$(seq -s, 0 $(( CPU_LIMIT - 1 )))"
|
||||
@ -4473,7 +4476,7 @@ A brief instruction:
|
||||
export PW_WINE_CPU_TOPOLOGY
|
||||
|
||||
edit_db_from_gui ${PW_EDIT_DB_LIST[@]} LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY \
|
||||
PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL PW_LOCALE_SELECT
|
||||
PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL PW_LOCALE_SELECT PW_MESA_VK_WSI_PRESENT_MODE
|
||||
|
||||
if [[ -z "$MANGOHUD_CONFIG" ]] ; then
|
||||
MONITOR_HEIGHT="$(echo "$PW_SCREEN_RESOLUTION" | awk -F'x' '{print $2}')"
|
||||
@ -5083,18 +5086,6 @@ gui_gamescope () {
|
||||
GAMESCOPE_NEED_INSTALL="${translations[<b>Gamescope is not detected on the system, please contact the manufacturer of your distribution\\nor search the Internet for information on how to install gamescope on your system.</b>]}"
|
||||
fi
|
||||
GS_CB="DCB" && GS_CBE="DCBE" && GS_NUM="DNUM" && GS_NUMN="DNUMN"
|
||||
PW_GS_SHOW_RESOLUTION="disabled"
|
||||
PW_GS_INTERNAL_RESOLUTION="0.0"
|
||||
PW_GS_FRAME_LIMIT="disabled"
|
||||
PW_GS_MESA_VK_WSI_PRESENT_MODE="disabled"
|
||||
PW_GS_SCALER_MODE="disabled"
|
||||
PW_GS_FILTER_MODE="disabled"
|
||||
PW_GS_UPSCALE_SHARPNESS="0"
|
||||
PW_GS_MAX_SCALE_FACTOR="0.0"
|
||||
PW_GS_MOUSE_SENSITIVITY="0.0"
|
||||
PW_GS_SDR_CONTENT_NITS="0"
|
||||
PW_GS_ITM_SDR_NITS="0"
|
||||
PW_GS_ITM_TARGET_NITS="0"
|
||||
for int_to_boole in ${PW_GS_LIST[@]} ; do
|
||||
if [[ "${!int_to_boole}" == "1" ]]
|
||||
then export ${int_to_boole}="TRUE"
|
||||
@ -5126,11 +5117,6 @@ gui_gamescope () {
|
||||
--field="${CHKBOX_SPACE}${translations[Show resolution]}!${translations[Set the resolution used by gamescope. Resizing the gamescope window will update these settings. Defaults to 1280x720.]} :${GS_CBE}" "$(combobox_fix --disabled "${PW_GS_SHOW_RESOLUTION}" "${GAMESCOPE_XRANDR_NEW::-1}")" \
|
||||
--field="${CHKBOX_SPACE}${translations[Internal resolution]}!${translations[Scale internal resolution (0.0 is unused)]} :${GS_NUMN}" "${PW_GS_INTERNAL_RESOLUTION}:!0..2" \
|
||||
--field="${CHKBOX_SPACE}${translations[Frame limit]}!${translations[Set a framerate limit. Specified in frames per second]} :${GS_CBE}" "$(combobox_fix --disabled "${PW_GS_FRAME_LIMIT}" "30!40!45!48!60!75!90!120!144!165!175!240")" \
|
||||
--field="${CHKBOX_SPACE}${translations[Mesa vulkan WSI]}!${translations[Overrides the WSI present mode:
|
||||
fifo - First in, first out. Limits the frame rate + no tearing. (VSync)
|
||||
immediate - Unlimited frame rate + tearing.
|
||||
mailbox - Triple buffering. Unlimited frame rate + no tearing.
|
||||
relaxed - Same as fifo but allows tearing when below the monitors refresh rate.]} :${GS_CB}" "$(combobox_fix --disabled "${PW_GS_MESA_VK_WSI_PRESENT_MODE}" "fifo!immediate!mailbox!relaxed")" \
|
||||
--field="${CHKBOX_SPACE}${translations[Scaler mode]}!${translations[Specify how to scale the GameScope window content]} :${GS_CB}" "$(combobox_fix --disabled "${PW_GS_SCALER_MODE}" "auto!integer!fit!fill!stretch")" \
|
||||
--field="${CHKBOX_SPACE}${translations[Filter mode]}!${translations[Use a filter such as AMD FidelityFX SuperResolution 1.0 (FSR) or NVIDIA Image Scaling v1.0.3 (NIS)]} :${GS_CB}" "$(combobox_fix --disabled "${PW_GS_FILTER_MODE}" "${GS_FILTER_CB}")" \
|
||||
--field="${CHKBOX_SPACE}${translations[Upscale sharpness]}!${translations[Sharpening value for FidelityFX SuperResolution 1.0 (FSR) and NVIDIA Image Scaling v1.0.3 (NIS). 0 is max sharpening, 20 is min sharpening.]} :${GS_NUM}" "${PW_GS_UPSCALE_SHARPNESS}:!0..20" \
|
||||
@ -5184,18 +5170,17 @@ relaxed - Same as fifo but allows tearing when below the monitors refresh rate.]
|
||||
PW_GS_SHOW_RESOLUTION="${PW_ADD_SETTINGS_GS[0]}"
|
||||
PW_GS_INTERNAL_RESOLUTION="${PW_ADD_SETTINGS_GS[1]//','/'.'}"
|
||||
PW_GS_FRAME_LIMIT="${PW_ADD_SETTINGS_GS[2]}"
|
||||
PW_GS_MESA_VK_WSI_PRESENT_MODE="${PW_ADD_SETTINGS_GS[3]}"
|
||||
PW_GS_SCALER_MODE="${PW_ADD_SETTINGS_GS[4]}"
|
||||
PW_GS_FILTER_MODE="${PW_ADD_SETTINGS_GS[5]}"
|
||||
PW_GS_UPSCALE_SHARPNESS="${PW_ADD_SETTINGS_GS[6]}"
|
||||
PW_GS_MAX_SCALE_FACTOR="${PW_ADD_SETTINGS_GS[7]//','/'.'}"
|
||||
PW_GS_MOUSE_SENSITIVITY="${PW_ADD_SETTINGS_GS[8]//','/'.'}"
|
||||
PW_GS_SDR_CONTENT_NITS="${PW_ADD_SETTINGS_GS[9]}"
|
||||
PW_GS_ITM_SDR_NITS="${PW_ADD_SETTINGS_GS[10]}"
|
||||
PW_GS_ITM_TARGET_NITS="${PW_ADD_SETTINGS_GS[11]}"
|
||||
PW_GS_SCALER_MODE="${PW_ADD_SETTINGS_GS[3]}"
|
||||
PW_GS_FILTER_MODE="${PW_ADD_SETTINGS_GS[4]}"
|
||||
PW_GS_UPSCALE_SHARPNESS="${PW_ADD_SETTINGS_GS[5]}"
|
||||
PW_GS_MAX_SCALE_FACTOR="${PW_ADD_SETTINGS_GS[6]//','/'.'}"
|
||||
PW_GS_MOUSE_SENSITIVITY="${PW_ADD_SETTINGS_GS[7]//','/'.'}"
|
||||
PW_GS_SDR_CONTENT_NITS="${PW_ADD_SETTINGS_GS[8]}"
|
||||
PW_GS_ITM_SDR_NITS="${PW_ADD_SETTINGS_GS[9]}"
|
||||
PW_GS_ITM_TARGET_NITS="${PW_ADD_SETTINGS_GS[10]}"
|
||||
|
||||
edit_db_from_gui ${PW_GS_LIST[@]} PW_GAMESCOPE PW_GS_SHOW_RESOLUTION PW_GS_INTERNAL_RESOLUTION \
|
||||
PW_GS_FRAME_LIMIT PW_GS_MESA_VK_WSI_PRESENT_MODE PW_GS_SCALER_MODE PW_GS_FILTER_MODE \
|
||||
PW_GS_FRAME_LIMIT PW_GS_SCALER_MODE PW_GS_FILTER_MODE \
|
||||
PW_GS_UPSCALE_SHARPNESS PW_GS_MAX_SCALE_FACTOR PW_GS_MOUSE_SENSITIVITY \
|
||||
PW_GS_SDR_CONTENT_NITS PW_GS_ITM_SDR_NITS PW_GS_ITM_TARGET_NITS
|
||||
|
||||
|
@ -29,6 +29,7 @@ export WINE_ALLOW_XIM="0"
|
||||
export PW_USE_SHADER_CACHE="1"
|
||||
export PW_WINE_CPU_TOPOLOGY="disabled"
|
||||
export PW_MESA_GL_VERSION_OVERRIDE="disabled"
|
||||
export PW_MESA_VK_WSI_PRESENT_MODE="disabled"
|
||||
export PW_VKD3D_FEATURE_LEVEL="disabled"
|
||||
export PW_FORCE_LARGE_ADDRESS_AWARE="1"
|
||||
export PW_USE_EAC_AND_BE="1"
|
||||
@ -130,7 +131,6 @@ export PW_GS_REALTIME_SCHEDULING="0"
|
||||
export PW_GS_BACKEND_SDL="0"
|
||||
export PW_GS_SDL_VIDEODRIVER_X11="0"
|
||||
export PW_GS_MANGOAPP="0"
|
||||
export PW_GS_MESA_VK_WSI_PRESENT_MODE="disabled"
|
||||
###PREFIX_VERSION###
|
||||
export DOTPFX_VER="48v7"
|
||||
export DEFPFX_VER="v1"
|
||||
|
Loading…
Reference in New Issue
Block a user