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
e1bca02c
Commit
e1bca02c
authored
Nov 15, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2048
parent
51d569b6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
16 deletions
+15
-16
changelog
data_from_portwine/changelog
+4
-0
functions_helper
data_from_portwine/scripts/functions_helper
+1
-0
runlib
data_from_portwine/scripts/runlib
+9
-15
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
e1bca02c
...
...
@@ -7,6 +7,10 @@
* добавить проверку количества db файлов на один exe
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2048###
* HOTFIX - востановлена работа контейнера, vkBasalt и mangohud на системах основанных на Debian
* DLSS работает в играх под DX11+DXVK (скоро будет работать и под DX12)
###Scripts version 2047###
* автоматическое отключение gamemode для системы Red Hat (исправляет долгую загрузку wine)
* обновлен PROTON_STEAM до версии 6.8-3 (cовместно с dxvk, vkd3d и nvapi)
...
...
data_from_portwine/scripts/functions_helper
View file @
e1bca02c
...
...
@@ -502,6 +502,7 @@ stop_portwine () {
rm
-fr
"
${
WINEPREFIX
}
"
/drive_c/users/steamuser/Temp/
*
fi
try_remove_dir
"
${
PW_WINELIB
}
/var"
find
"
${
WINEPREFIX
}
/drive_c/"
-type
f
-name
"*.tmp"
-delete
exit
0
}
open_changelog
()
{
...
...
data_from_portwine/scripts/runlib
View file @
e1bca02c
...
...
@@ -108,9 +108,9 @@ start_portwine () {
else
export
PRESSURE_VESSEL_FILESYSTEMS_RW
=
"
${
PWRTMRW
}
"
fi
done
#
if [ ! -f "${PW_WINELIB}/runtime/etc/os-release" ]
# then try_force_link_file "${PW_WINELIB}/runtime/lib/os-release" "${PW_WINELIB}/runtime/etc/os-release
"
# fi
#
HOTFIX portable libs for Debian based OS
[[
!
-d
"
${
PW_WINELIB
}
/portable/lib/lib/i386-linux-gnu"
]]
&&
ln
-s
"
${
PW_WINELIB
}
/portable/lib/lib32"
"
${
PW_WINELIB
}
/portable/lib/lib/i386-linux-gnu
"
[[
!
-d
"
${
PW_WINELIB
}
/portable/lib/lib/x86_64-linux-gnu"
]]
&&
ln
-s
"
${
PW_WINELIB
}
/portable/lib/lib"
"
${
PW_WINELIB
}
/portable/lib/lib/x86_64-linux-gnu"
echo
"RUNTIME is enabled"
fi
...
...
@@ -158,7 +158,7 @@ start_portwine () {
if
[[
!
-z
"
${
PW_USE_NVAPI_AND_DLSS
}
"
&&
"
${
PW_USE_NVAPI_AND_DLSS
}
"
==
1
&&
-d
"
${
WINEDIR
}
/lib/wine/nvapi/"
]]
then
try_copy_file
"
${
WINEDIR
}
/lib/wine/nvapi/nvapi.dll"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
try_copy_file
"
${
WINEDIR
}
/lib64/wine/nvapi/nvapi64.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
try_copy_file
"
${
WINEDIR
}
/lib64/wine/nvapi/nvapi64.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
var_winedlloverride_update
"nvapi,nvapi64,nvml=n;nvcuda=b"
if
[[
!
-f
"
${
WINEPREFIX
}
/drive_c/windows/system32/nvngx.dll"
||
!
-f
"
${
WINEPREFIX
}
/drive_c/windows/system32/_nvngx.dll"
]]
;
then
try_copy_file
`
find /usr/
*
-type
f
-name
"nvngx.dll"
2>/dev/null |
awk
'{print $1}'
`
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
...
...
@@ -215,20 +215,15 @@ start_portwine () {
export
__GLX_VENDOR_LIBRARY_NAME
=
nvidia
check_vk_icd_file
fi
#try
copy
nvml.dll to prefix
if
!
try_
copy_file
"
${
WINEDIR
}
"
/lib/wine/fakedlls/nvml.dll
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/
"
then
try_
copy_file
"
${
WINEDIR
}
"
/lib/wine/i386-windows/nvml.dll
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/
"
#try
link
nvml.dll to prefix
if
!
try_
force_link_file
"
${
WINEDIR
}
"
/lib/wine/nvml.dll.so
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/nvml.dll
"
then
try_
force_link_file
"
${
WINEDIR
}
"
/lib/wine/i386-unix/nvml.dll.so
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/nvml.dll
"
fi
if
!
try_
copy_file
"
${
WINEDIR
}
"
/lib64/wine/fakedlls/nvml.dll
"
${
WINEPREFIX
}
/drive_c/windows/system32/
"
then
try_
copy_file
"
${
WINEDIR
}
"
/lib64/wine/x86_64-windows/nvml.dll
"
${
WINEPREFIX
}
/drive_c/windows/system32/
"
if
!
try_
force_link_file
"
${
WINEDIR
}
"
/lib64/wine/nvml.dll.so
"
${
WINEPREFIX
}
/drive_c/windows/system32/nvml.dll
"
then
try_
force_link_file
"
${
WINEDIR
}
"
/lib64/wine/x86_64-unix/nvml.dll.so
"
${
WINEPREFIX
}
/drive_c/windows/system32/nvml.dll
"
fi
else
export
DRI_PRIME
=
1
if
[[
-f
"/usr/share/vulkan/icd.d/radeon_icd.x86_64.json"
]]
;
then
export
VK_ICD_FILENAMES
=
"/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json"
elif
[[
-f
"/etc/vulkan/icd.d/radeon_icd.x86_64.json"
]]
;
then
export
VK_ICD_FILENAMES
=
"/etc/vulkan/icd.d/radeon_icd.x86_64.json:/etc/vulkan/icd.d/radeon_icd.i686.json"
fi
fi
case
"
$PW_FORCE_USE_VSYNC
"
in
# 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
"0"
)
...
...
@@ -436,7 +431,6 @@ start_portwine () {
wait_wineserver
&&
echo
"Set to win
${
PW_WINDOWS_VER
}
"
fi
for
tmp_trash
in
`
find ./
-type
f
-name
"
${
WINEPREFIX
}
/drive_c/*.tmp"
2>/dev/null
`
;
do
rm
-f
${
tmp_trash
}
;
done
pw_stop_progress_bar
&&
pw_tray_icon
pw_start_progress_bar_cs
"Start
${
portname
}
... Please wait..."
...
...
data_from_portwine/scripts/var
View file @
e1bca02c
#!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=204
7
#SCRIPTS_NEXT_VERSION=204
8
#PORT_NEXT_VERSION=97
########################################################################
export
PW_MANGOHUD
=
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