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
d1489c0d
Commit
d1489c0d
authored
1 year ago
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2243
parent
b2690ffe
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
7 deletions
+16
-7
changelog_eng
data_from_portwine/changelog_eng
+3
-0
changelog_rus
data_from_portwine/changelog_rus
+3
-0
start.sh
data_from_portwine/scripts/start.sh
+2
-2
var
data_from_portwine/scripts/var
+1
-1
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+7
-4
No files found.
data_from_portwine/changelog_eng
View file @
d1489c0d
...
...
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2243### Date: 12.01.2024 / Download update size: 8 megabytes
* HOTFIX: Fixed spontaneous prefix switching when using the MANGOHUD configuration interface
###Scripts version 2242### Date: 11.01.2024 / Download update size: 8 megabytes
* added a graphical interface for configuring MANGOHUD (thanks to Boria138)
* updated versions:
...
...
This diff is collapsed.
Click to expand it.
data_from_portwine/changelog_rus
View file @
d1489c0d
...
...
@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2243### Дата: 12.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* HOTFIX: Исправлено самопроизводное переключение префикса при использовании интерфейса настройки MANGOHUD
###Scripts version 2242### Дата: 11.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* добавлен графический интерфейс для настройки MANGOHUD (спасибо Boria138)
* обновлены версии:
...
...
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/start.sh
View file @
d1489c0d
...
...
@@ -628,7 +628,7 @@ if [[ -f "${portwine_exe}" ]] ; then
--field
=
"PREFIX : :CBE"
"
${
PW_ADD_PREFIXES_TO_GUI
}
"
\
--field
=
":LBL"
""
\
--button
=
"
${
loc_gui_vkbasalt_start
}
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
"
${
ENABLE_VKBASALT_INFO
}
"
:120
\
--button
=
"
${
loc_gui_mh_start
}
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
"
${
ENABLE_MANGOHUD_INFO
}
"
:1
19
\
--button
=
"
${
loc_gui_mh_start
}
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
"
${
ENABLE_MANGOHUD_INFO
}
"
:1
22
\
--button
=
"
${
loc_gui_edit_db_start
}
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
"
${
loc_edit_db
}
${
PORTWINE_DB
}
"
:118
\
--button
=
"
${
PW_SHORTCUT
}
"
\
--button
=
"
${
loc_gui_debug
}
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
"
${
loc_debug
}
"
:102
\
...
...
@@ -935,7 +935,7 @@ fi
open_changelog
)
open_changelog
;;
change_loc
)
change_loc
;;
120
)
gui_vkBasalt
;;
1
19
)
gui_MangoHud
;;
1
22
)
gui_MangoHud
;;
pw_create_prefix_backup
)
pw_create_prefix_backup
;;
gui_credits
)
gui_credits
;;
pw_start_cont_xterm
)
pw_start_cont_xterm
;;
...
...
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/var
View file @
d1489c0d
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=224
2
#SCRIPTS_NEXT_VERSION=224
3
########################################################################
export
PW_MANGOHUD
=
0
export
DEFAULT_MANGOHUD_CONFIG
=
cpu_stats,cpu_temp,cpu_mhz,cpu_color
=
2e97cb,cpu_text
=
CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color
=
2e9762,gpu_text
=
GPU,vram,vram_color
=
ad64c1,ram,ram_color
=
c26693,io_color
=
a491d3,frame_timing
=
1,frametime_color
=
00ff00,time,arch,wine,wine_color
=
eb5b5b,engine_color
=
eb5b5b,background_alpha
=
0.2,font_size
=
24,background_color
=
020202,text_color
=
ffffff,toggle_hud
=
Shift_R+F12,resolution,vkbasalt,gamemode
...
...
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/zen_yad_gui
View file @
d1489c0d
...
...
@@ -493,7 +493,6 @@ gui_vkBasalt () {
exit
0
}
gui_MangoHud
()
{
KEY_MH_GUI
=
$RANDOM
LIST_MH
=(
...
...
@@ -547,7 +546,7 @@ gui_MangoHud () {
"
${
pw_yad_v12_3
}
"
--paned
--key
=
"
$KEY_MH_GUI
"
--height
=
"650"
--title
=
"MangoHud"
--center
--borders
=
3
\
--separator
=
" "
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
\
--button
=
"
$loc_gui_cancel
"
!!
"
$loc_gui_cancel_help
"
:1
\
--button
=
"
$loc_gui_disabled_mh
"
!!
"
$loc_gui_disabled_mh_help
"
:18
3
\
--button
=
"
$loc_gui_disabled_mh
"
!!
"
$loc_gui_disabled_mh_help
"
:18
2
\
--button
=
"
$loc_gui_save_changes
"
!!
"
$loc_gui_save_changes_help
"
:184 2>/dev/null
YAD_MANGOHUD_STATUS
=
"
$?
"
...
...
@@ -556,8 +555,12 @@ gui_MangoHud () {
/usr/bin/env bash
-c
"
${
pw_full_command_line
[*]
}
"
&
exit
0
;;
18
3
)
18
2
)
export
PW_MANGOHUD
=
0
export
FPS_LIMIT
=
"disabled"
edit_db_from_gui PW_MANGOHUD FPS_LIMIT
/usr/bin/env bash
-c
"
${
pw_full_command_line
[*]
}
"
&
exit
0
;;
184
)
export
PW_MANGOHUD
=
1
...
...
@@ -567,7 +570,7 @@ gui_MangoHud () {
YAD_MH_SET
=
$(
<
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_set"
)
FPS_LIMIT
=
$(
<
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_fps_limit"
)
if
command
-v
xrand 2>/dev/null
;
then
if
command
-v
xrand
r
2>/dev/null
;
then
MONITOR_HEIGHT
=
$(
xrandr |
grep
-oP
'current\s+\K[0-9]+ x [0-9]+'
|
awk
'{print $3}'
)
MH_FONT_SIZE
=
"font_size=
$(
expr
$MONITOR_HEIGHT
/ 45
)
"
fi
...
...
This diff is collapsed.
Click to expand it.
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