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
4c7fb94d
Commit
4c7fb94d
authored
Mar 30, 2026
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mango-ppqt' of github.com:Boria138/PortWINE into Boria138-mango-ppqt
parents
7823f1cf
ab569fa4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
11 deletions
+31
-11
functions_helper
data_from_portwine/scripts/functions_helper
+25
-11
start.sh
data_from_portwine/scripts/start.sh
+6
-0
No files found.
data_from_portwine/scripts/functions_helper
View file @
4c7fb94d
...
@@ -1861,6 +1861,30 @@ pw_mangohud_check () {
...
@@ -1861,6 +1861,30 @@ pw_mangohud_check () {
return 0
return 0
}
}
pw_mangohud_preview () {
local preview_config="
${
1
:-}
"
if [[ -n "
$preview_config
" ]] ; then
export MANGOHUD_CONFIG="
$preview_config
"
print_info "
MangoHud
preview inline config in use
:
$MANGOHUD_CONFIG
"
fi
PW_MANGOHUD="
1
"
PW_LD_LIBRARY_PATH="
${
LD_LIBRARY_PATH
}
:
${
PW_PLUGINS_PATH
}
/portable/lib/lib64
:
${
PW_PLUGINS_PATH
}
/portable/lib/lib32
"
PW_VK_LAYER_PATH="
${
PW_PLUGINS_PATH
}
/portable/share/vulkan/implicit_layer.d
"
export PW_MANGOHUD
pw_mangohud_check
env
\
$PW_ADD_VAR_SLR
\
LD_LIBRARY_PATH="
${
PW_LD_LIBRARY_PATH
}
"
\
VK_ADD_IMPLICIT_LAYER_PATH="
${
PW_VK_LAYER_PATH
}
"
\
VK_ADD_LAYER_PATH="
${
PW_VK_LAYER_PATH
}
"
\
VK_INSTANCE_LAYERS="
${
PW_VK_INSTANCE_LAYERS
}
"
\
"
${
PW_PLUGINS_PATH
}
/portable/bin/vkcube
"
}
pw_lsfg_vk_check () {
pw_lsfg_vk_check () {
if [[ "
${
PW_USE_LS_FRAME_GEN
}
" == "
1
" ]] ; then
if [[ "
${
PW_USE_LS_FRAME_GEN
}
" == "
1
" ]] ; then
local lsfg_vk_path="
$PW_PLUGINS_PATH
/fake_dlss/lsfg-vk-
$PW_LSFG_VK_VER
"
local lsfg_vk_path="
$PW_PLUGINS_PATH
/fake_dlss/lsfg-vk-
$PW_LSFG_VK_VER
"
...
@@ -6216,17 +6240,7 @@ gui_mangohud () {
...
@@ -6216,17 +6240,7 @@ gui_mangohud () {
edit_db_from_gui MANGOHUD_CONFIG PW_MANGOHUD FPS_LIMIT
edit_db_from_gui MANGOHUD_CONFIG PW_MANGOHUD FPS_LIMIT
if [[ "${YAD_MANGOHUD_STATUS}" == "184" ]] ; then
if [[ "${YAD_MANGOHUD_STATUS}" == "184" ]] ; then
PW_MANGOHUD="1"
pw_mangohud_preview "${MANGOHUD_CONFIG}"
pw_init_runtime
pw_mangohud_check
${pw_runtime} \
$PW_ADD_VAR_SLR \
LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \
LD_PRELOAD="${PW_LD_PRELOAD}" \
VK_ADD_IMPLICIT_LAYER_PATH="${PW_VK_LAYER_PATH}" \
VK_ADD_LAYER_PATH="${PW_VK_LAYER_PATH}" \
VK_INSTANCE_LAYERS="${PW_VK_INSTANCE_LAYERS}" \
"${PW_PLUGINS_PATH}/portable/bin/vkcube"
gui_mangohud
gui_mangohud
fi
fi
...
...
data_from_portwine/scripts/start.sh
View file @
4c7fb94d
...
@@ -446,6 +446,7 @@ case "$1" in
...
@@ -446,6 +446,7 @@ case "$1" in
--winereg
${
translations
[Open wine registry editor, requires WINE version and prefix name]
}
--winereg
${
translations
[Open wine registry editor, requires WINE version and prefix name]
}
--wine_uninstaller
${
translations
[Open wine uninstaller, requires WINE version and prefix name]
}
--wine_uninstaller
${
translations
[Open wine uninstaller, requires WINE version and prefix name]
}
--clear_pfx
${
translations
[Clear specified prefix, requires WINE version and prefix name]
}
--clear_pfx
${
translations
[Clear specified prefix, requires WINE version and prefix name]
}
--mangohud-preview
${
translations
[Starts MangoHud preview in vkcube (optional argument
:
inline MangoHud config)]
}
--initial
${
translations
[Initial setup command]
}
--initial
${
translations
[Initial setup command]
}
--autoinstall
${
translations
[--autoinstall and the name of what needs to be installed is given in the list below
:]
}
--autoinstall
${
translations
[--autoinstall and the name of what needs to be installed is given in the list below
:]
}
...
@@ -460,6 +461,7 @@ ${translations[Usage examples:]}
...
@@ -460,6 +461,7 @@ ${translations[Usage examples:]}
portproton cli --backup-prefix DEFAULT /path/to/backup/directory
portproton cli --backup-prefix DEFAULT /path/to/backup/directory
portproton cli --restore-prefix /path/to/backup/file.ppack
portproton cli --restore-prefix /path/to/backup/file.ppack
portproton cli --winecfg WINE_LG DEFAULT
portproton cli --winecfg WINE_LG DEFAULT
portproton cli --mangohud-preview "
fps,frametime,cpu_temp,gpu_temp
"
portproton cli --autoinstall [script_name_from_pw_autoinstall]
portproton cli --autoinstall [script_name_from_pw_autoinstall]
"
"
}
}
...
@@ -625,6 +627,10 @@ ${translations[Usage examples:]}
...
@@ -625,6 +627,10 @@ ${translations[Usage examples:]}
pw_clear_pfx
pw_clear_pfx
exit
$?
exit
$?
;;
;;
--mangohud-preview)
pw_mangohud_preview
"
${
2
:-}
"
exit
$?
;;
--initial)
--initial)
exit 0
exit 0
;;
;;
...
...
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