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
Vladislav
PortWINE
Commits
b2690ffe
Commit
b2690ffe
authored
Jan 11, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2242
parent
52958992
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
18 deletions
+28
-18
changelog_eng
data_from_portwine/changelog_eng
+6
-0
changelog_rus
data_from_portwine/changelog_rus
+6
-0
runlib
data_from_portwine/scripts/runlib
+1
-1
var
data_from_portwine/scripts/var
+3
-3
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+12
-14
No files found.
data_from_portwine/changelog_eng
View file @
b2690ffe
...
@@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux-
...
@@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
----------------------------------------
Changelog:
Changelog:
###Scripts version 2242### Date: 11.01.2024 / Download update size: 8 megabytes
* added a graphical interface for configuring MANGOHUD (thanks to Boria138)
* updated versions:
DXVK_GIT_VER 2.3-26
VKD3D_GIT_VER 1.1-3821
###Scripts version 2241### Date: 28.12.2023 / Download update size: 8 megabytes
###Scripts version 2241### Date: 28.12.2023 / Download update size: 8 megabytes
* HOTFIX - VKD3D
* HOTFIX - VKD3D
...
...
data_from_portwine/changelog_rus
View file @
b2690ffe
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
-----------------------------------------
-----------------------------------------
История изменений:
История изменений:
###Scripts version 2242### Дата: 11.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* добавлен графический интерфейс для настройки MANGOHUD (спасибо Boria138)
* обновлены версии:
DXVK_GIT_VER 2.3-26
VKD3D_GIT_VER 1.1-3821
###Scripts version 2241### Дата: 28.12.2023 / Размер скачиваемого обновления: 8 мегабайт
###Scripts version 2241### Дата: 28.12.2023 / Размер скачиваемого обновления: 8 мегабайт
* HOTFIX - VKD3D (определение DX12 в некоторых играх)
* HOTFIX - VKD3D (определение DX12 в некоторых играх)
...
...
data_from_portwine/scripts/runlib
View file @
b2690ffe
...
@@ -499,7 +499,7 @@ start_portwine () {
...
@@ -499,7 +499,7 @@ start_portwine () {
else
else
export
CP_DXVK_FILES
=
"d3d11 d3d10core d3d9 dxgi dxvk_config"
# openvr_api_dxvk
export
CP_DXVK_FILES
=
"d3d11 d3d10core d3d9 dxgi dxvk_config"
# openvr_api_dxvk
fi
fi
check_variables VKD3D_FEATURE_LEVEL
"12_
0
"
check_variables VKD3D_FEATURE_LEVEL
"12_
1
"
if
[[
"
${
PW_VULKAN_USE
}
"
==
"1"
]]
;
then
if
[[
"
${
PW_VULKAN_USE
}
"
==
"1"
]]
;
then
PATH_TO_DXVK_FILES
=
"
${
PW_VULKAN_DIR
}
/dxvk-
${
DXVK_STABLE_VER
}
"
PATH_TO_DXVK_FILES
=
"
${
PW_VULKAN_DIR
}
/dxvk-
${
DXVK_STABLE_VER
}
"
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_STABLE_VER
}
"
PATH_TO_VKD3D_FILES
=
"
${
PW_VULKAN_DIR
}
/vkd3d-proton-
${
VKD3D_STABLE_VER
}
"
...
...
data_from_portwine/scripts/var
View file @
b2690ffe
#!/usr/bin/env bash
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=224
1
#SCRIPTS_NEXT_VERSION=224
2
########################################################################
########################################################################
export
PW_MANGOHUD
=
0
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
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
...
@@ -47,9 +47,9 @@ export PW_WINE_FULLSCREEN_FSR="1"
...
@@ -47,9 +47,9 @@ export PW_WINE_FULLSCREEN_FSR="1"
export
VKD3D_LIMIT_TESS_FACTORS
=
"32"
export
VKD3D_LIMIT_TESS_FACTORS
=
"32"
export
D8VK_VER
=
"1.0"
export
D8VK_VER
=
"1.0"
export
DXVK_STABLE_VER
=
"1.10.3-28"
export
DXVK_STABLE_VER
=
"1.10.3-28"
export
DXVK_GIT_VER
=
"2.3-
13
"
export
DXVK_GIT_VER
=
"2.3-
26
"
export
VKD3D_STABLE_VER
=
"1.1-2602"
export
VKD3D_STABLE_VER
=
"1.1-2602"
export
VKD3D_GIT_VER
=
"1.1-3
727
"
export
VKD3D_GIT_VER
=
"1.1-3
821
"
###PREFIX_VERSION###
###PREFIX_VERSION###
export
DOTPFX_VER
=
"48v2"
export
DOTPFX_VER
=
"48v2"
export
DEFPFX_VER
=
"v1"
export
DEFPFX_VER
=
"v1"
...
...
data_from_portwine/scripts/zen_yad_gui
View file @
b2690ffe
...
@@ -494,7 +494,7 @@ gui_vkBasalt () {
...
@@ -494,7 +494,7 @@ gui_vkBasalt () {
}
}
gui_MangoHud
()
{
gui_MangoHud
()
{
KEY_MH_GUI
=
$RANDOM
KEY_MH_GUI
=
$RANDOM
LIST_MH
=(
LIST_MH
=(
arch
battery battery_icon battery_time battery_watt core_bars core_load
arch
battery battery_icon battery_time battery_watt core_bars core_load
...
@@ -567,32 +567,30 @@ gui_MangoHud() {
...
@@ -567,32 +567,30 @@ gui_MangoHud() {
YAD_MH_SET
=
$(
<
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_set"
)
YAD_MH_SET
=
$(
<
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_set"
)
FPS_LIMIT
=
$(
<
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_fps_limit"
)
FPS_LIMIT
=
$(
<
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_fps_limit"
)
if
command
-v
xrand 2>/dev/null
;
then
if
command
-v
xrand 2>/dev/null
;
then
MONITOR_HEIGHT
=
$(
xrandr |
grep
-oP
'current\s+\K[0-9]+ x [0-9]+'
|
awk
'{print $3}'
)
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
)
"
MH_FONT_SIZE
=
"font_size=
$(
expr
$MONITOR_HEIGHT
/ 45
)
"
fi
fi
INT_COUNT_FX
=
0
export
INT_COUNT_FX
=
0
for
read_list_mh
in
${
YAD_MH_SET
}
;
do
for
read_list_mh
in
${
YAD_MH_SET
}
;
do
if
[[
"
$read_list_mh
"
==
"TRUE"
]]
;
then
if
[[
"
$read_list_mh
"
==
"TRUE"
]]
export
GUI_MH_RESULT+
=
"
${
LIST_MH
[
$INT_COUNT_FX
]
}
,"
then
export
GUI_MH_RESULT+
=
"
${
LIST_MH
[
$INT_COUNT_FX
]
}
,"
fi
fi
export
INT_COUNT_FX
=
$((
INT_COUNT_FX
+
1
))
((
INT_COUNT_FX++
))
done
done
if
[
-n
"
$MH_FONT_SIZE
"
]
;
then
if
[[
-n
"
$MH_FONT_SIZE
"
]]
GUI_MH_RESULT
=
"
${
GUI_MH_RESULT
}${
MH_FONT_SIZE
}
"
then
GUI_MH_RESULT
=
"
${
GUI_MH_RESULT
}${
MH_FONT_SIZE
}
"
else
else
GUI_MH_RESULT
=
"
${
GUI_MH_RESULT
%,
}
"
GUI_MH_RESULT
=
"
${
GUI_MH_RESULT
%,
}
"
fi
fi
if
[[
"
${
FPS_LIMIT
}
"
!=
"disabled"
]]
;
then
if
[[
"
${
FPS_LIMIT
}
"
!=
"disabled"
]]
;
then
export
GUI_MH_RESULT
=
${
GUI_MH_RESULT
}
,fps_limit
=
${
FPS_LIMIT
}
export
GUI_MH_RESULT
=
${
GUI_MH_RESULT
}
,fps_limit
=
${
FPS_LIMIT
}
export
PW_MANGOHUD
=
1
export
PW_MANGOHUD
=
1
elif
[[
"
${
FPS_LIMIT
}
"
==
"disabled"
]]
;
then
elif
[[
"
${
FPS_LIMIT
}
"
==
"disabled"
]]
export
GUI_MH_RESULT
=
"
$(
echo
${
GUI_MH_RESULT
}
|
sed
"s/,fps_limit=
${
FPS_LIMIT_VAR
}
//"
|
sed
"s/,fps_limit=//"
)
"
then
export
GUI_MH_RESULT
=
"
$(
echo
${
GUI_MH_RESULT
}
|
sed
"s/,fps_limit=
${
FPS_LIMIT_VAR
}
//"
|
sed
"s/,fps_limit=//"
)
"
fi
fi
export
MANGOHUD_CONFIG
=
"
${
GUI_MH_RESULT
}
"
export
MANGOHUD_CONFIG
=
"
${
GUI_MH_RESULT
}
"
edit_db_from_gui MANGOHUD_CONFIG PW_MANGOHUD FPS_LIMIT
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