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
771f62b5
Commit
771f62b5
authored
May 12, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes 3D api
parent
2fb8735d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
19 deletions
+44
-19
changelog_ru
data_from_portwine/changelog_ru
+8
-0
functions_helper
data_from_portwine/scripts/functions_helper
+36
-19
No files found.
data_from_portwine/changelog_ru
View file @
771f62b5
...
...
@@ -2,6 +2,14 @@
-----------------------------------------
История изменений:
* добавлен испанский язык (спасибо BlackSnaker и Boria138)
* добавлена автоустановка лончера W3D_HUB (спасибо Chal55rus и Boria138)
* исправлена работоспособность ярлыков PortProton при установке из flathub
* добавлен приоритет использования icoextract при создании иконок для .exe файлов (спасибо Boria138)
* обновлен файл настроек для игры Deathloop (спасибо Eljeyna)
* произведен рефакторинг функций выбора 3D Api (спасибо Htylol)
* добавлены настройки DGV2_16BIT_MODE, DGV2_VRAM_INCREASE, DGV2_FILTERING, DGV2_ANTIALIASING, DGV2_DISABLE_D3D (спасибо Htylol)
###Scripts version 2298### Дата: 09.05.2024 / Размер скачиваемого обновления: 3 мегабайта
* HOTFIX - исправлен предварительный просмотр настроек MANGOHUD при его отсутствии в системе
...
...
data_from_portwine/scripts/functions_helper
View file @
771f62b5
...
...
@@ -2032,10 +2032,14 @@ start_portwine () {
export
PW_VKBASALT
=
"0"
export
PW_MANGOHUD
=
"0"
export
PW_WINE_FULLSCREEN_FSR
=
"0"
if
[[
$(
echo
"
$LSPCI_VGA
"
|
grep
-i
"AMD"
)
]]
\
&&
!
check_wayland_session
;
then
check_gamescope_session
&&
export
AMD_DEBUG
=
"nodcc"
||
[[
"
${
PW_USE_GAMESCOPE
}
"
=
"1"
]]
&&
export
AMD_DEBUG
=
"nodcc"
if
echo
"
$LSPCI_VGA
"
|
grep
-i
"AMD"
&>/dev/null
\
&&
!
check_wayland_session
then
if
check_gamescope_session
\
||
[[
"
${
PW_USE_GAMESCOPE
}
"
=
"1"
]]
then
export
AMD_DEBUG
=
"nodcc"
fi
fi
;;
4
)
...
...
@@ -2089,21 +2093,34 @@ start_portwine () {
try_copy_file
"
${
PATH_TO_DGV2_FILES
}
/x64/d3d9.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
try_remove_file
"
${
WINEPREFIX
}
/drive_c/windows/system32/dgVoodoo.conf"
try_force_link_file
"
${
DGV2CONF
}
"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
if
[[
"
${
PW_VULKAN_USE
}
"
==
"0"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw d3d8 d3d9"
elif
[[
"
${
PW_VULKAN_USE
}
"
==
"1"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw d3d8"
&&
rm_from_var CP_DXVK_FILES
"d3d9"
elif
[[
"
${
PW_VULKAN_USE
}
"
==
"2"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw"
&&
rm_from_var CP_D8VK_FILES
"d3d8"
&&
rm_from_var CP_DXVK_FILES
"d3d9"
elif
[[
"
${
PW_VULKAN_USE
}
"
==
"3"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw d3d8"
&&
rm_from_var CP_GALLIUM_NINE_FILES
"d3d9"
elif
[[
"
${
PW_VULKAN_USE
}
"
==
"4"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw d3d8 d3d9"
elif
[[
"
${
PW_VULKAN_USE
}
"
==
"5"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw d3d8"
&&
rm_from_var CP_DXVK_FILES
"d3d9"
elif
[[
"
${
PW_VULKAN_USE
}
"
==
"6"
]]
;
then
rm_from_var CP_WINE_FILES
"ddraw d3d8 d3d9"
fi
case
"
${
PW_VULKAN_USE
}
"
in
0
)
rm_from_var CP_WINE_FILES
"ddraw d3d8 d3d9"
;;
1
)
rm_from_var CP_WINE_FILES
"ddraw d3d8"
rm_from_var CP_DXVK_FILES
"d3d9"
;;
2
)
rm_from_var CP_WINE_FILES
"ddraw"
rm_from_var CP_D8VK_FILES
"d3d8"
rm_from_var CP_DXVK_FILES
"d3d9"
;;
3
)
rm_from_var CP_WINE_FILES
"ddraw d3d8"
rm_from_var CP_GALLIUM_NINE_FILES
"d3d9"
;;
4
)
rm_from_var CP_WINE_FILES
"ddraw d3d8 d3d9"
;;
5
)
rm_from_var CP_WINE_FILES
"ddraw d3d8"
rm_from_var CP_DXVK_FILES
"d3d9"
;;
6
)
rm_from_var CP_WINE_FILES
"ddraw d3d8 d3d9"
;;
esac
fi
for
wine_dgv2_dll
in
$CP_DGV2_FILES
;
do
try_copy_file
"
${
PATH_TO_DGV2_FILES
}
/x32/
${
wine_dgv2_dll
}
.dll"
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
...
...
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