Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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-old
Commits
3e24f5c1
Commit
3e24f5c1
authored
Aug 27, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated func: get_pfx
parent
81052713
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
25 deletions
+50
-25
changelog_ru
data_from_portwine/changelog_ru
+4
-0
functions_helper
data_from_portwine/scripts/functions_helper
+43
-23
var
data_from_portwine/scripts/var
+3
-2
No files found.
data_from_portwine/changelog_ru
View file @
3e24f5c1
...
...
@@ -3,6 +3,10 @@
История изменений:
* в менеджер префикса добавлена возможность стандартной установки (без принудительного перезакачивания компонентов)
* обновлен PROTON_LG до версии "9-11"
* обновлен WINE_LG до версии "9-12-2"
* обновлен в репозиториях тестовый WINE_LG_NTSYNC до версии "9-13-2"
* улучшена функция подготовки префиксов "DOTNET" и "PROGRAMS"
###Scripts version 2339### / Дата: 25.08.2024 / Размер скачиваемого обновления: 180 мегабайта
* обновлен пакет библиотек libs_v49 (контейнер sniper 0.20240820.99315)
...
...
data_from_portwine/scripts/functions_helper
View file @
3e24f5c1
...
...
@@ -620,7 +620,8 @@ combobox_fix () {
}
pw_clear_pfx
()
{
try_remove_file
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/.dotnet48"
rm
-f
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
"
/.dot
*
rm
-f
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
"
/.prog
*
try_remove_file
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/.wine_ver"
try_remove_file
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/system.reg"
try_remove_file
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/user.reg"
...
...
@@ -800,6 +801,8 @@ init_wine_ver () {
fi
export
WINE_LIBRARY_PATH
=
"
${
WINEDIR
}
/lib64:
${
WINEDIR
}
/lib"
export
MEDIACONV_BLANK_VIDEO_FILE
=
"
${
WINEDIR
}
"
/share/media/blank.mkv
export
MEDIACONV_BLANK_AUDIO_FILE
=
"
${
WINEDIR
}
"
/share/media/blank.ptna
return
0
}
...
...
@@ -1846,31 +1849,47 @@ start_portwine () {
WINEPREFIX
=
"
$(
readlink
-f
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
"
)
"
export
WINEPREFIX
PROGPFX_URL
=
"github.com/Castro-Fidel/PortWINE/releases/download/progpfx
${
PROGPFX_VER
}
/progpfx
${
PROGPFX_VER
}
.tar.xz"
if
[[
"
${
PW_PREFIX_NAME
}
"
==
"PROGRAMS"
&&
!
-f
"
${
WINEPREFIX
}
"
/.progpfx
]]
;
then
print_info
"Download and install PROGRAMS pfx..."
if
try_download
"
${
PROGPFX_URL
}
"
"
${
PORT_WINE_PATH
}
/data/tmp/progpfx.tar.xz"
;
then
unpack
"
${
PORT_WINE_PATH
}
/data/tmp/progpfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/"
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/progpfx.tar.xz"
else
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/progpfx.tar.xz"
yad_error_download
&&
exit
1
pw_get_pfx
()
{
case
"
${
PW_PREFIX_NAME
}
"
in
PROGRAMS
)
local
FILE_NAME_PFX
=
"progpfx
${
PROGPFX_VER
}
"
;;
DOTNET
)
local
FILE_NAME_PFX
=
"dotpfx
${
DOTPFX_VER
}
"
;;
*
)
return
0
;;
esac
local
PFX_URL
=
"github.com/Castro-Fidel/PortWINE/releases/download/
${
FILE_NAME_PFX
}
/
${
FILE_NAME_PFX
}
.tar.xz"
local
PFX_TMP
=
"
${
PORT_WINE_PATH
}
/data/tmp/pfx"
create_new_dir
"
${
PFX_TMP
}
"
# TODO: drop this fix legacy file .dotnet later
if
[[
-f
"
${
WINEPREFIX
}
/.dotnet
${
DOTPFX_VER
}
"
]]
;
then
touch
"
${
WINEPREFIX
}
/.
${
FILE_NAME_PFX
}
"
try_remove_file
"
${
WINEPREFIX
}
/.dotnet
${
DOTPFX_VER
}
"
fi
fi
DOTPFX_URL
=
"github.com/Castro-Fidel/PortWINE/releases/download/dotpfx
${
DOTPFX_VER
}
/dotpfx
${
DOTPFX_VER
}
.tar.xz"
if
[[
"
${
PW_PREFIX_NAME
}
"
==
"DOTNET"
]]
&&
[[
!
-f
"
${
WINEPREFIX
}
"
/.dotnet
${
DOTPFX_VER
}
]]
;
then
print_info
"Download and install DOTNET pfx..."
if
try_download
"
${
DOTPFX_URL
}
"
"
${
PORT_WINE_PATH
}
/data/tmp/dotpfx.tar.xz"
;
then
if
unpack
"
${
PORT_WINE_PATH
}
/data/tmp/dotpfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/"
then
touch
"
${
WINEPREFIX
}
/.dotnet
${
DOTPFX_VER
}
"
if
[[
!
-f
"
${
WINEPREFIX
}
/.
${
FILE_NAME_PFX
}
"
]]
;
then
print_info
"Download and install
${
FILE_NAME_PFX
}
pfx..."
if
[[
!
-f
"
${
PFX_TMP
}
/
${
FILE_NAME_PFX
}
.tar.xz"
]]
;
then
if
try_download
"
${
PFX_URL
}
"
"
${
PFX_TMP
}
/
${
FILE_NAME_PFX
}
.tar.xz"
;
then
if
unpack
"
${
PFX_TMP
}
/
${
FILE_NAME_PFX
}
.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/"
then
touch
"
${
WINEPREFIX
}
/.
${
FILE_NAME_PFX
}
"
fi
else
try_remove_file
"
${
PFX_TMP
}
/
${
FILE_NAME_PFX
}
.tar.xz"
yad_error_download
&&
exit
1
fi
else
if
unpack
"
${
PFX_TMP
}
/
${
FILE_NAME_PFX
}
.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/"
then
touch
"
${
WINEPREFIX
}
/.
${
FILE_NAME_PFX
}
"
else
try_remove_file
"
${
PFX_TMP
}
/
${
FILE_NAME_PFX
}
.tar.xz"
yad_error_download
&&
exit
1
fi
fi
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/dotpfx.tar.xz"
else
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/dotpfx.tar.xz"
yad_error_download
&&
exit
1
fi
fi
return
0
}
pw_get_pfx
var_winedlloverride_update
"
${
PW_MUST_WINEDLLOVERRIDES
}
"
pw_list_install_dll_in_prefix
...
...
@@ -1893,9 +1912,10 @@ start_portwine () {
then
export
GST_PLUGIN_SYSTEM_PATH_1_0
=
"
${
WINEDIR
}
/lib64/gstreamer-1.0:
${
WINEDIR
}
/lib/gstreamer-1.0"
fi
export
GST_GL_WINDOW
=
"surfaceless"
create_new_dir
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/
export
WINE_GST_REGISTRY_DIR
=
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/
export
MEDIACONV_AUDIO_DUMP_FILE
=
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/audio.foz
export
MEDIACONV_AUDIO_DUMP_FILE
=
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/audio
v2
.foz
export
MEDIACONV_AUDIO_TRANSCODED_FILE
=
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/transcoded_audio.foz
export
MEDIACONV_VIDEO_DUMP_FILE
=
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/video.foz
export
MEDIACONV_VIDEO_TRANSCODED_FILE
=
"
${
PORT_WINE_TMP_PATH
}
"
/gstreamer_tmp/transcoded_video.foz
...
...
data_from_portwine/scripts/var
View file @
3e24f5c1
...
...
@@ -3,6 +3,7 @@
#SCRIPTS_NEXT_VERSION=2339
#SCRIPTS_STABLE_VERSION=2336
########################################################################
# export PROTON_USE_XALIA=1
export
LANGUAGES_LIST
=
"ru es"
export
PW_VKBASALT
=
"0"
export
PW_MANGOHUD
=
"0"
...
...
@@ -45,8 +46,8 @@ export PW_FAKE_DLSS_VER="230506"
export
PW_FAKE_DLSS_3_VER
=
"090"
export
PW_GALLIUM_NINE_VER
=
"0.9"
###WINE_AND_PROTON_LG###
export
PW_PROTON_LG_VER
=
"PROTON_LG_9-
7
"
export
PW_WINE_LG_VER
=
"WINE_LG_9-12"
export
PW_PROTON_LG_VER
=
"PROTON_LG_9-
11
"
export
PW_WINE_LG_VER
=
"WINE_LG_9-12
-2
"
export
PW_WINE_FULLSCREEN_FSR
=
"1"
export
WINE_FULLSCREEN_FSR_MODE
=
"ultra"
###DXVK_AND_VKD3D###
...
...
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