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
187efccd
Unverified
Commit
187efccd
authored
Jan 23, 2024
by
Arta
Committed by
GitHub
Jan 23, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Castro-Fidel:master' into master
parents
acc28326
a672741c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
39 additions
and
15 deletions
+39
-15
changelog_eng
data_from_portwine/changelog_eng
+4
-0
changelog_rus
data_from_portwine/changelog_rus
+5
-0
bsr.png
data_from_portwine/img/gui/bsr.png
+0
-0
functions_helper
data_from_portwine/scripts/functions_helper
+3
-1
lang
data_from_portwine/scripts/lang
+1
-1
runlib
data_from_portwine/scripts/runlib
+18
-6
start.sh
data_from_portwine/scripts/start.sh
+2
-1
var
data_from_portwine/scripts/var
+1
-1
zen_yad_gui
data_from_portwine/scripts/zen_yad_gui
+5
-5
No files found.
data_from_portwine/changelog_eng
View file @
187efccd
...
...
@@ -2,6 +2,10 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2247### Date: 23.01.2024 / Download update size: 8 megabytes
* improved operation of the portable version of gamemode
* added cleaning of the data/tmp directory from broken (undocumented) archives before launching PortProton
###Scripts version 2246### Date: 20.01.2024 / Download update size: 8 megabytes
* HOTFIX - fixed the launch of Modern Warships after its update
* HOTFIX - fixed launch with gamescope
...
...
data_from_portwine/changelog_rus
View file @
187efccd
...
...
@@ -2,6 +2,11 @@
-----------------------------------------
История изменений:
###Scripts version 2247### Дата: 23.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* улучшена работа портативной версии gamemode
* исправление опечаток
* добавлена очистка data/tmp каталога от битых (недокаченных) архивов, перед запуском PortProton
###Scripts version 2246### Дата: 20.01.2024 / Размер скачиваемого обновления: 8 мегабайт
* HOTFIX - исправлен запуск Modern Warships после его обновления
* HOTFIX - исправлен запуск с gamescope
...
...
data_from_portwine/img/gui/bsr.png
View replaced file @
acc28326
View file @
187efccd
987 Bytes
|
W:
|
H:
4.46 KB
|
W:
|
H:
2-up
Swipe
Onion skin
data_from_portwine/scripts/functions_helper
View file @
187efccd
...
...
@@ -507,6 +507,9 @@ pw_init_runtime () {
else
export
PRESSURE_VESSEL_FILESYSTEMS_RW
=
"
${
PWRTMRW
}
"
fi
done
# drop portable: libssl 32-bit
try_remove_file
"
${
PW_WINELIB
}
/portable/lib/lib32/libssl.so.1.1"
print_info
"RUNTIME is enabled"
}
...
...
@@ -1004,7 +1007,6 @@ pw_port_update () {
return
0
}
update_winetricks
()
{
W_TRX_URL
=
"https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
W_TRX_EXT_VER
=
"
$(
curl
-s
--list-only
${
W_TRX_URL
}
|
grep
-i
'WINETRICKS_VERSION='
|
sed
's/WINETRICKS_VERSION=//'
)
"
...
...
data_from_portwine/scripts/lang
View file @
187efccd
...
...
@@ -36,7 +36,7 @@ if [[ "${update_loc}" == "RUS" ]] ; then
export
loc_create_pfx_backup_path
=
"РЕЗЕРВНОЕ КОПИРОВАНИЕ ПРЕФИКСА В..."
export
loc_gui_wine_uninstaller
=
"Удаление программ
м
"
export
loc_gui_wine_uninstaller
=
"Удаление программ"
export
loc_gui_wine_cfg
=
"Настройка префикса"
export
loc_gui_wine_file
=
"Файловый менеджер"
export
loc_gui_wine_cmd
=
"Командная строка"
...
...
data_from_portwine/scripts/runlib
View file @
187efccd
...
...
@@ -267,10 +267,18 @@ start_portwine () {
fi
if
[[
"
$PW_USE_GAMEMODE
"
=
"1"
]]
;
then
export
GAMEMODERUN
=
1
PW_GAMEMODERUN_SLR
=
"gamemoderun"
pkill gamemoded
sleep
0.1
"
${
PW_WINELIB
}
/portable/bin/gamemoded"
>
/dev/null 2>&1 &
GAMEMODEAUTO_NAME
=
"libgamemodeauto.so.0"
if
[[
!
-z
"
${
PW_LD_PRELOAD
}
"
]]
then
export
PW_LD_PRELOAD
=
"
${
PW_LD_PRELOAD
}
:
${
GAMEMODEAUTO_NAME
}
"
else
export
PW_LD_PRELOAD
=
"
${
GAMEMODEAUTO_NAME
}
"
fi
env
LD_LIBRARY_PATH
=
"
${
PW_WINELIB
}
/portable/lib/lib64:
${
PW_WINELIB
}
/portable/lib/lib32"
\
"
${
PW_WINELIB
}
/portable/bin/gamemoded"
&>/dev/null &
print_info
"Gamemod will be launched."
else
export
GAMEMODERUN
=
0
...
...
@@ -284,6 +292,9 @@ start_portwine () {
create_new_dir
"
${
WINEPREFIX
}
/dosdevices"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/tmp/.private/
$USER
/"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/tmp/.private/steamuser/"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/c:"
]
&&
try_force_link_dir
"
${
WINEPREFIX
}
/drive_c/"
"
${
WINEPREFIX
}
/dosdevices/c:"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/z:"
]
&&
try_force_link_dir
"/"
"
${
WINEPREFIX
}
/dosdevices/z:"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/h:"
]
&&
try_force_link_dir
"
$HOME
"
"
${
WINEPREFIX
}
/dosdevices/h:"
...
...
@@ -675,8 +686,9 @@ pw_run () {
pw_mangohud_check
pw_vkbasalt_check
PW_LOG_TO_FILE
=
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
print_var
"WINEDIR"
"WINEPREFIX"
"WINEDLLOVERRIDES"
"PATH_TO_GAME"
"PW_WINE_USE"
"PW_VULKAN_USE"
"VULKAN_DRIVER_NAME"
"VULKAN_API_DRIVER_VERSION"
\
"VKD3D_CONFIG"
"PW_LD_LIBRARY_PATH"
"PATH"
"WINEESYNC"
"WINEFSYNC"
"WINEFSYNC_FUTEX2"
"WINEDLLPATH"
"WINE_CPU_TOPOLOGY"
"PW_RUN_GAMESCOPE"
print_var
"WINEDIR"
"WINEPREFIX"
"WINEDLLOVERRIDES"
"PATH_TO_GAME"
"PW_WINE_USE"
"PW_VULKAN_USE"
"VULKAN_DRIVER_NAME"
print_var
"VULKAN_API_DRIVER_VERSION"
"VKD3D_CONFIG"
"PW_LD_LIBRARY_PATH"
"PATH"
"WINEESYNC"
"WINEFSYNC"
"WINEFSYNC_FUTEX2"
print_var
"WINEDLLPATH"
"WINE_CPU_TOPOLOGY"
"PW_RUN_GAMESCOPE"
"LD_LIBRARY_PATH"
kill
-s
SIGUSR1
"
$PW_YAD_PID_PFX_COVER_UI
"
&>/dev/null
if
[[
"
${
PW_LOG
}
"
==
1
]]
;
then
echo
"WINEDLLOVERRIDES=
${
WINEDLLOVERRIDES
}
"
>>
"
${
PW_LOG_TO_FILE
}
"
...
...
@@ -691,7 +703,6 @@ pw_run () {
LD_PRELOAD
=
"
${
PW_LD_PRELOAD
}
"
\
VK_LAYER_PATH
=
"
${
PW_VK_LAYER_PATH
}
"
\
VK_INSTANCE_LAYERS
=
${
PW_VK_INSTANCE_LAYERS
}
\
${
PW_GAMEMODERUN_SLR
}
\
${
PW_MANGOHUD_SLR
}
\
"
${
WINELOADER
}
"
"
$@
"
${
LAUNCH_PARAMETERS
[@]
}
&>>
"
${
PW_LOG_TO_FILE
}
"
else
...
...
@@ -709,7 +720,6 @@ pw_run () {
LD_PRELOAD
=
"
${
PW_LD_PRELOAD
}
"
\
VK_LAYER_PATH
=
"
${
PW_VK_LAYER_PATH
}
"
\
VK_INSTANCE_LAYERS
=
"
${
PW_VK_INSTANCE_LAYERS
}
"
\
${
PW_GAMEMODERUN_SLR
}
\
${
PW_MANGOHUD_SLR
}
\
"
${
WINELOADER
}
"
"
$@
"
${
LAUNCH_PARAMETERS
[@]
}
&>>
"
${
PW_LOG_TO_FILE
}
"
cat
"
${
PW_LOG_TO_FILE
}
"
...
...
@@ -743,6 +753,8 @@ cd "$(dirname "`readlink -f "$0"`")" && export PORT_SCRIPTS_PATH="$(pwd)"
cd
"
${
PORT_SCRIPTS_PATH
}
/../../"
&&
export
PORT_WINE_PATH
=
"
$(
pwd
)
"
export
PORT_WINE_TMP_PATH
=
"
${
PORT_WINE_PATH
}
/data/tmp"
rm
-f
$PORT_WINE_TMP_PATH
/
*
{
exe,msi,tar
}
*
echo
""
>
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_form"
if
[[
-d
"
${
PORT_WINE_PATH
}
/data/dist"
]]
;
then
...
...
data_from_portwine/scripts/start.sh
View file @
187efccd
...
...
@@ -362,7 +362,8 @@ pw_prefix_manager () {
if
[[
!
-z
${
SET_FROM_PFX_MANAGER
}
]]
;
then
export
PW_ADD_TO_ARGS_IN_RUNTIME
=
"--xterm"
pw_init_runtime
${
pw_runtime
}
env
PATH
=
"
${
PATH
}
"
LD_LIBRARY_PATH
=
"
${
PW_LD_LIBRARY_PATH
}
"
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
-q
-r
-f
${
SET_FROM_PFX_MANAGER
}
${
pw_runtime
}
env
PATH
=
"
${
PATH
}
"
LD_LIBRARY_PATH
=
"
${
PW_LD_LIBRARY_PATH
}
"
\
"
${
PORT_WINE_TMP_PATH
}
/winetricks"
-q
-r
-f
${
PW_DLL_NEED_INSTALL
}
&>>
"
${
PORT_WINE_TMP_PATH
}
/update_pfx_log"
gui_prefix_manager
else
print_info
"Nothing to do. Restarting PortProton..."
...
...
data_from_portwine/scripts/var
View file @
187efccd
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=224
6
#SCRIPTS_NEXT_VERSION=224
7
########################################################################
export
PW_MANGOHUD
=
"0"
export
DEFAULT_MANGOHUD_CONFIG
=
"cpu_stats,cpu_temp,cpu_mhz,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,vram,ram,frame_timing=1,time,arch,wine,toggle_hud=Shift_R+F12,resolution,vkbasalt,gamemode"
...
...
data_from_portwine/scripts/zen_yad_gui
View file @
187efccd
...
...
@@ -476,7 +476,7 @@ gui_vkBasalt () {
if
[[
"
$read_list_fx
"
==
"TRUE"
]]
;
then
export
GUI_FX_RESULT+
=
"
${
LIST_FX
[
$INT_COUNT_FX
]
}
:"
fi
export
INT_COUNT_FX
=
$((
${
INT_COUNT_FX
}
+
1
))
((
INT_COUNT_FX++
))
done
GUI_FX_RESULT
=
"
${
GUI_FX_RESULT
}
cas"
export
PW_VKBASALT_EFFECTS
=
"
${
GUI_FX_RESULT
}
"
...
...
@@ -571,15 +571,15 @@ gui_MangoHud () {
FPS_LIMIT
=
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/tmp_yad_mh_fps_limit"
|
awk
'{print $1}'
)
MONITOR_HEIGHT
=
"
$(
echo
$PW_SCREEN_RESOLUTION
|
awk
-F
'x'
'{print $2}'
)
"
MH_FONT_SIZE
=
"font_size=
((
$
MONITOR_HEIGHT
/ 45 ))"
MH_FONT_SIZE
=
"font_size=
$((
MONITOR_HEIGHT
/
45
))
"
export
INT_COUNT_
FX
=
0
export
INT_COUNT_
MH
=
0
for
read_list_mh
in
${
YAD_MH_SET
}
;
do
if
[[
"
$read_list_mh
"
==
"TRUE"
]]
then
export
GUI_MH_RESULT+
=
"
${
LIST_MH
[
$INT_COUNT_
FX
]
}
,"
then
export
GUI_MH_RESULT+
=
"
${
LIST_MH
[
$INT_COUNT_
MH
]
}
,"
fi
((
INT_COUNT_
FX
++
))
((
INT_COUNT_
MH
++
))
done
if
[[
-n
"
$MH_FONT_SIZE
"
]]
...
...
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