diff --git a/data_from_portwine/scripts/lang b/data_from_portwine/scripts/lang index f7b6e10d..329c919f 100755 --- a/data_from_portwine/scripts/lang +++ b/data_from_portwine/scripts/lang @@ -265,6 +265,7 @@ if [[ "${update_loc}" == "RUS" ]] ; then export PW_MH_vkbasalt_INFO='Показать включён ли vkBasalt' export PW_MH_vram_INFO='Отображение использования VRAM' export PW_MH_vulkan_driver_INFO='Отображает используемый драйвер vulkan (radv/amdgpu-pro/amdvlk)' + export PW_MH_frametime='Отображение времени кадра рядом FPS' export PW_MH_wine_INFO='Показать используемую версию Wine или Proton' export PW_PFX_BACKUP_INFO="Внимание! Не передавайте резевную копию третьим лицам, есть риск потери аккаунтов" @@ -667,6 +668,7 @@ elif [[ "${update_loc}" == "ENG" ]] ; then export PW_MH_vkbasalt_INFO='Show if vkBasalt is on' export PW_MH_vram_INFO='Display system VRAM usage' export PW_MH_vulkan_driver_INFO='Display used Vulkan driver (radv/amdgpu-pro/amdvlk)' + export PW_MH_frametime='Display frametime next to FPS text' export PW_MH_wine_INFO='Show current Wine or Proton version in use' export PW_PFX_BACKUP_INFO="Attention! Do not pass the resev copy to third parties, there is a risk of losing accounts" diff --git a/data_from_portwine/scripts/zen_yad_gui b/data_from_portwine/scripts/zen_yad_gui index e97f305a..16988eb9 100755 --- a/data_from_portwine/scripts/zen_yad_gui +++ b/data_from_portwine/scripts/zen_yad_gui @@ -498,7 +498,7 @@ gui_MangoHud () { LIST_MH=( arch battery battery_icon battery_time battery_watt core_bars core_load cpu_mhz cpu_power cpu_temp device_battery_icon engine_short_names - engine_version exec_name fcat fps_metrics fps_only frame_count full + engine_version exec_name fcat fps_metrics fps_only frame_count frametime full gamemode gpu_core_clock gpu_fan gpu_junction_temp gpu_mem_clock gpu_mem_temp gpu_name gpu_power gpu_temp gpu_voltage histogram horizontal horizontal_stretch hud_compact hud_no_margin io_read io_write no_display @@ -593,6 +593,12 @@ gui_MangoHud () { elif [[ "${FPS_LIMIT}" == "disabled" ]] then export GUI_MH_RESULT="$(echo ${GUI_MH_RESULT} | sed "s/,fps_limit=${FPS_LIMIT_VAR}//" | sed "s/,fps_limit=disabled//")" fi + + if [[ "${GUI_MH_RESULT}" =~ "fps_only" ]]; then + export GUI_MH_RESULT="fps_only" + print_info "In the MangoHud config fps_only is detected all settings are reseted" + fi + export MANGOHUD_CONFIG="${GUI_MH_RESULT}" edit_db_from_gui MANGOHUD_CONFIG PW_MANGOHUD FPS_LIMIT