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
1ae72d5d
Commit
1ae72d5d
authored
Mar 01, 2023
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2173
parent
bf888095
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
4 deletions
+31
-4
changelog_eng
data_from_portwine/changelog_eng
+3
-0
changelog_rus
data_from_portwine/changelog_rus
+3
-0
credits
data_from_portwine/scripts/credits
+2
-0
start.sh
data_from_portwine/scripts/start.sh
+21
-2
var
data_from_portwine/scripts/var
+1
-1
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+1
-1
No files found.
data_from_portwine/changelog_eng
View file @
1ae72d5d
...
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: boosty.to/linu
...
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: boosty.to/linu
-----------------------------------------
-----------------------------------------
Changelog:
Changelog:
###Scripts version 2173###
* added saving the size of the PortProton main menu window
###Scripts version 2172###
###Scripts version 2172###
* minor improvements searching the .exe files
* minor improvements searching the .exe files
...
...
data_from_portwine/changelog_rus
View file @
1ae72d5d
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
-----------------------------------------
-----------------------------------------
История изменений:
История изменений:
###Scripts version 2173###
* добавлено сохранение размера окна главного меню PortProton
###Scripts version 2172###
###Scripts version 2172###
* небольшие улучшения поиска .exe файлов
* небольшие улучшения поиска .exe файлов
...
...
data_from_portwine/scripts/credits
View file @
1ae72d5d
...
@@ -37,6 +37,8 @@ an9949an
...
@@ -37,6 +37,8 @@ an9949an
andrey4korop
andrey4korop
zorn
zorn
Vano Majukin
Vano Majukin
Сергей 33(46)RUS
WelchDragon
"
&
"
&
"
${
pw_yad_new
}
"
--plug
=
"
${
KEY_CREDITS
}
"
--tabnum
=
3
--text-info
--scroll
<<<
" Лицензия Массачусетского технологического института (MIT License)
"
${
pw_yad_new
}
"
--plug
=
"
${
KEY_CREDITS
}
"
--tabnum
=
3
--text-info
--scroll
<<<
" Лицензия Массачусетского технологического института (MIT License)
...
...
data_from_portwine/scripts/start.sh
View file @
1ae72d5d
...
@@ -21,6 +21,14 @@ if [[ "${XDG_SESSION_TYPE}" = "wayland" ]] && [[ ! -f "${PORT_WINE_TMP_PATH}/che
...
@@ -21,6 +21,14 @@ if [[ "${XDG_SESSION_TYPE}" = "wayland" ]] && [[ ! -f "${PORT_WINE_TMP_PATH}/che
echo
"1"
>
"
${
PORT_WINE_TMP_PATH
}
/check_wayland"
echo
"1"
>
"
${
PORT_WINE_TMP_PATH
}
/check_wayland"
fi
fi
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size"
]]
&&
[[
-n
"
$(
cat
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size
)
"
]]
;
then
export
PW_MAIN_SIZE_W
=
"
$(
cat
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size |
awk
'{print $1}'
)
"
export
PW_MAIN_SIZE_H
=
"
$(
cat
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size |
awk
'{print $2}'
)
"
else
export
PW_MAIN_SIZE_W
=
"1000"
export
PW_MAIN_SIZE_H
=
"260"
fi
if
[[
-n
$(
basename
"
${
portwine_exe
}
"
|
grep
.ppack
)
]]
;
then
if
[[
-n
$(
basename
"
${
portwine_exe
}
"
|
grep
.ppack
)
]]
;
then
export
PW_ADD_TO_ARGS_IN_RUNTIME
=
"--xterm"
export
PW_ADD_TO_ARGS_IN_RUNTIME
=
"--xterm"
unset
PW_SANDBOX_HOME_PATH
unset
PW_SANDBOX_HOME_PATH
...
@@ -760,8 +768,18 @@ else
...
@@ -760,8 +768,18 @@ else
# --field=" Guild Wars 2"!"$PW_GUI_ICON_PATH/gw2.png"!"":"FBTN" '@bash -c "button_click PW_GUILD_WARS_2"'
# --field=" Guild Wars 2"!"$PW_GUI_ICON_PATH/gw2.png"!"":"FBTN" '@bash -c "button_click PW_GUILD_WARS_2"'
# --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PW_BETHESDA"'
# --field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/bethesda.png"!"":"FBTN" '@bash -c "button_click PW_BETHESDA"'
if
[[
`
which wmctrl
`
]]
&>/dev/null
;
then
while
[[
$(
pgrep
-a
yad_new |
head
-n
1 |
awk
'{print $1}'
2>/dev/null
)
]]
;
do
sleep
1
PW_MAIN_GUI_SIZE_TMP
=
"
$(
wmctrl
-lG
|
grep
PortProton-1.0 |
awk
'{print $5" "$6}'
2>/dev/null
)
"
if
[[
-n
"
${
PW_MAIN_GUI_SIZE_TMP
}
"
]]
;
then
echo
"
${
PW_MAIN_GUI_SIZE_TMP
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/tmp_main_gui_size"
fi
done
&
fi
if
[[
-z
"
${
PW_ALL_DF
}
"
]]
;
then
if
[[
-z
"
${
PW_ALL_DF
}
"
]]
;
then
"
${
pw_yad_new
}
"
--key
=
$KEY
--notebook
--borders
=
5
--width
=
1000
--height
=
235
--no-buttons
--auto-close
--center
\
"
${
pw_yad_new
}
"
--key
=
$KEY
--notebook
--borders
=
5
--width
=
"
${
PW_MAIN_SIZE_W
}
"
--height
=
"
${
PW_MAIN_SIZE_H
}
"
--no-buttons
--auto-close
--center
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
--title
"
${
portname
}
-
${
install_ver
}
(
${
scripts_install_ver
}
)"
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
--title
"
${
portname
}
-
${
install_ver
}
(
${
scripts_install_ver
}
)"
\
--tab-pos
=
bottom
--keep-icon-size
\
--tab-pos
=
bottom
--keep-icon-size
\
--tab
=
"
$loc_mg_autoinstall
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
\
--tab
=
"
$loc_mg_autoinstall
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
\
...
@@ -771,7 +789,7 @@ else
...
@@ -771,7 +789,7 @@ else
--tab
=
"
$loc_mg_installed
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
--tab
=
"
$loc_mg_installed
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
YAD_STATUS
=
"
$?
"
YAD_STATUS
=
"
$?
"
else
else
"
${
pw_yad_new
}
"
--key
=
$KEY
--notebook
--borders
=
5
--width
=
1000
--height
=
235
--no-buttons
--auto-close
--center
\
"
${
pw_yad_new
}
"
--key
=
$KEY
--notebook
--borders
=
5
--width
=
"
${
PW_MAIN_SIZE_W
}
"
--height
=
"
${
PW_MAIN_SIZE_H
}
"
--no-buttons
--auto-close
--center
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
--title
"
${
portname
}
-
${
install_ver
}
(
${
scripts_install_ver
}
)"
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
--title
"
${
portname
}
-
${
install_ver
}
(
${
scripts_install_ver
}
)"
\
--tab-pos
=
bottom
--keep-icon-size
\
--tab-pos
=
bottom
--keep-icon-size
\
--tab
=
"
$loc_mg_installed
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
\
--tab
=
"
$loc_mg_installed
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
\
...
@@ -781,6 +799,7 @@ else
...
@@ -781,6 +799,7 @@ else
--tab
=
"
$loc_mg_portproton_settings
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
--tab
=
"
$loc_mg_portproton_settings
"
!
"
$PW_GUI_ICON_PATH
/separator.png"
!
""
YAD_STATUS
=
"
$?
"
YAD_STATUS
=
"
$?
"
fi
fi
if
[[
"
$YAD_STATUS
"
==
"1"
||
"
$YAD_STATUS
"
==
"252"
]]
;
then
exit
0
;
fi
if
[[
"
$YAD_STATUS
"
==
"1"
||
"
$YAD_STATUS
"
==
"252"
]]
;
then
exit
0
;
fi
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_form"
]]
;
then
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_form"
]]
;
then
...
...
data_from_portwine/scripts/var
View file @
1ae72d5d
#!/usr/bin/env bash
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=217
2
#SCRIPTS_NEXT_VERSION=217
3
########################################################################
########################################################################
export
PW_MANGOHUD
=
0
export
PW_MANGOHUD
=
0
export
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
export
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
...
...
data_from_portwine/scripts/zen_yad_gui
View file @
1ae72d5d
...
@@ -188,7 +188,7 @@ pw_gui_for_edit_db () {
...
@@ -188,7 +188,7 @@ pw_gui_for_edit_db () {
--field
=
":LBL"
""
\
--field
=
":LBL"
""
\
--field
=
"
${
loc_gui_mango_fps
}
!
${
loc_gui_mango_fps_help
}
:SCL"
${
FPS_LIMIT_VAR
}
2>/dev/null 1>
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
&
--field
=
"
${
loc_gui_mango_fps
}
!
${
loc_gui_mango_fps_help
}
:SCL"
${
FPS_LIMIT_VAR
}
2>/dev/null 1>
"
${
PORT_WINE_TMP_PATH
}
/tmp_output_yad_fps_limit"
&
"
${
pw_yad_new
}
"
--paned
--key
=
"
$KEY_EDIT_DB_GUI
"
--title
"EDIT_DB"
--text-align
=
center
--height
=
"
4
50"
\
"
${
pw_yad_new
}
"
--paned
--key
=
"
$KEY_EDIT_DB_GUI
"
--title
"EDIT_DB"
--text-align
=
center
--height
=
"
5
50"
\
--text
"
${
loc_gui_edit_db
}
<b>
${
PORTWINE_DB
}
</b>
\n
${
loc_gui_edit_db_help
}
"
--separator
=
" "
--borders
=
10
--center
\
--text
"
${
loc_gui_edit_db
}
<b>
${
PORTWINE_DB
}
</b>
\n
${
loc_gui_edit_db_help
}
"
--separator
=
" "
--borders
=
10
--center
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
\
--window-icon
=
"
$PW_GUI_ICON_PATH
/port_proton.png"
\
--button
=
"
${
loc_gui_cancel
}
"
!!
"
${
loc_gui_cancel_help
}
"
:1
\
--button
=
"
${
loc_gui_cancel
}
"
!!
"
${
loc_gui_cancel_help
}
"
:1
\
...
...
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