Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
480480e6
Commit
480480e6
authored
Jan 30, 2024
by
Boria138
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added reset mangohud settings if fps_only is used
parent
f3bf1ef7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lang
data_from_portwine/scripts/lang
+2
-0
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+7
-1
No files found.
data_from_portwine/scripts/lang
View file @
480480e6
...
...
@@ -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"
...
...
data_from_portwine/scripts/zen_yad_gui
View file @
480480e6
...
...
@@ -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 f
rametime f
ull
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment