Compare commits

..

2 Commits

Author SHA1 Message Date
Mikhail Tergoev
ec08aa36db updated vulkan functions 2025-03-26 18:26:29 +03:00
Mikhail Tergoev
90f334816c updated sha256sum list 2025-03-26 18:25:58 +03:00
2 changed files with 27 additions and 18 deletions

View File

@@ -2,6 +2,15 @@
71d6fdfd23d7988471d345c68e81699b8af931352b03dd216424b398f63c7b12 wine_x_tkg_10-0_amd64.tar.xz
fb7fdfde96de10a1b3b051bdf2727b6a7c1768b878483726454dd6726e9e0193 wine-9.0.14-alt1-i586-spravkibk.tar.xz
6f86d2220b65b709bf88c6f829a4998de3b929cc2091cd1333a51c32e1491b79 wine-9.0.9-alt1-i586.tar.xz
##### DXVK #####
98411effbc1b3611b11c4ca3af2ad29400b08e1c8c380791d6351600a06fb3c7 dxvk-1.10.3-28.tar.xz
##### VKD3D #####
df1a940d2e072a884524f66a16e0f0ef74048bc6a6642b96eb257528a522109f vkd3d-proton-1.1-2602.tar.xz
##### PREFIX #####

View File

@@ -74,16 +74,14 @@ check_variables WH_DLL_INSTALL ""
check_variables WINE_WIN_START "start /wait /high /unix"
check_variables WINE_CPU_TOPOLOGY "4"
check_variables WINE_CPU_TOPOLOGY "8"
check_variables USE_OPENGL "1"
check_variables USE_RENDERER "opengl" # opengl, damavand, proton
check_variables DXVK_STABLE_VER "1.10.3-28"
check_variables DXVK_GIT_VER "2.2-164"
check_variables DXVK_VER "1.10.3-28"
# check_variables DXVK_CONFIG_FILE "path/to/dxvk.conf"
check_variables VKD3D_STABLE_VER "1.1-2602"
check_variables VKD3D_GIT_VER "1.1-3556"
check_variables VKD3D_VER "1.1-2602"
# check_variables VKD3D_LIMIT_TESS_FACTORS 64
# check_variables VKD3D_FEATURE_LEVEL "12_0"
@@ -455,14 +453,17 @@ run_installed_programs () {
}
##### USED WINED3D LIBRARY #####
init_opengl () {
if [[ "$USE_OPENGL" == 1 ]] ; then
WINED3D_FILES="d3d8 d3d9 d3d10_1 d3d10 d3d10core d3d11 dxgi d3d12" # d3d12core
init_wined3d () {
if [[ "$USE_RENDERER" != "proton" ]] ; then
WINED3D_FILES="d3d8 d3d9 d3d10_1 d3d10 d3d10core d3d11 dxgi d3d12 d3d12core"
for wined3dfiles in $WINED3D_FILES ; do
try_copy_wine_dll_to_pfx_64 "$wined3dfiles.dll"
try_copy_wine_dll_to_pfx_32 "$wined3dfiles.dll"
done
# check_variables WINE_D3D_CONFIG "renderer="
if [[ "$USE_RENDERER" == "damavand" ]]
then export WINE_D3D_CONFIG="renderer=vulkan"
else export WINE_D3D_CONFIG="renderer=gl"
fi
return 0
else
return 1
@@ -487,7 +488,7 @@ init_dxvk () {
for DXVK_VAR_VER in "$USE_DXVK_VER" $@ ; do
if [[ ! -d "${WH_VULKAN_LIBDIR}/dxvk-$DXVK_VAR_VER" ]] ; then
get_dxvk "$CLOUD_URL/dxvk-${DXVK_VAR_VER}.tar.gz"
get_dxvk "$CLOUD_URL/dxvk-${DXVK_VAR_VER}.tar.xz"
fi
done
@@ -825,14 +826,13 @@ prepair_wine () {
init_wineprefix
use_winetricks
unset MANGOHUD_RUN
if init_opengl ; then
[[ "$MANGOHUD" == 1 ]] && MANGOHUD_RUN="mangohud --dlsym"
if init_wined3d ; then
:
else
init_dxvk "$DXVK_STABLE_VER"
init_vkd3d "$VKD3D_STABLE_VER"
[[ "$MANGOHUD" == 1 ]] && MANGOHUD_RUN="mangohud"
init_dxvk "$DXVK_VER"
init_vkd3d "$VKD3D_VER"
fi
[[ "$MANGOHUD" == 1 ]] && MANGOHUD_RUN="mangohud"
}
wine_run () {
@@ -880,7 +880,7 @@ run_autoinstall () {
echo
elif [[ -f "$WH_AUTOINSTALL_DIR/$AI_SCRIPT" ]] ; then
export USE_AI_SCRIPTS="1"
source "$WH_AUTOINSTALL_DIR/$AI_SCRIPT"
source "$WH_AUTOINSTALL_DIR/$AI_SCRIPT" "$@"
print_info "Завершена установка $AI_SCRIPT"
else
fatal "Скрипт автоматической установки для $AI_SCRIPT не найден!"