Compare commits

...

27 Commits

Author SHA1 Message Date
4510570e7c merge upstream 2025-08-29 07:51:50 +00:00
Mikhail Tergoev
c193e64f6c winebth.sys=d by default 2025-08-28 12:39:55 +03:00
Mikhail Tergoev
4da7f6b132 updated PROTON_LG and DXVK 2025-08-28 11:51:02 +03:00
Mikhail Tergoev
d6ddbcf270 Merge branch 'alex2844-fix/getSteamId' into devel 2025-08-27 12:23:06 +03:00
Mikhail Tergoev
84792464d6 Merge branch 'fix/getSteamId' of github.com:alex2844/PortWINE into alex2844-fix/getSteamId 2025-08-27 12:22:55 +03:00
Alex Smith
97b6d58b03 Trim whitespace when parsing SteamAppId 2025-08-26 22:15:35 +05:00
Mikhail Tergoev
031da4301d updated PROTON_LG, DXVK and VKD3D 2025-08-26 15:58:35 +03:00
Mikhail Tergoev
303408157a PROTON_MEDIA_USE_GST=1 by default 2025-08-26 15:57:55 +03:00
Mikhail Tergoev
9c387d06f1 Merge branch 'Htylol-for_glibc_1' into devel 2025-08-26 15:11:07 +03:00
Mikhail Tergoev
d64804ac87 Merge branch 'for_glibc_1' of github.com:Htylol/PortWINE into Htylol-for_glibc_1 2025-08-26 15:10:58 +03:00
Mikhail Tergoev
bc2f254f0c Merge branch 'Boria138-hypr-fix' into devel 2025-08-26 15:08:31 +03:00
Mikhail Tergoev
6c6382598e Merge branch 'hypr-fix' of github.com:Boria138/PortWINE into Boria138-hypr-fix 2025-08-26 15:08:24 +03:00
Mikhail Tergoev
4a11c22f38 Merge branch 'Htylol-fixes_for_setup_files' into devel 2025-08-26 15:05:24 +03:00
Mikhail Tergoev
597b067b9b Merge branch 'fixes_for_setup_files' of github.com:Htylol/PortWINE into Htylol-fixes_for_setup_files 2025-08-26 15:05:18 +03:00
Mikhail Tergoev
b428c830a9 Merge branch 'Htylol-minor_fix_nvidia_1' into devel 2025-08-26 15:03:53 +03:00
Mikhail Tergoev
a2135c1bbf Merge branch 'minor_fix_nvidia_1' of github.com:Htylol/PortWINE into Htylol-minor_fix_nvidia_1 2025-08-26 15:03:44 +03:00
Mikhail Tergoev
892d3eae4d updated var: LSFG-VK 2025-08-26 15:03:22 +03:00
Mikhail Tergoev
fb8b089b75 Merge branch 'Muzifs-new_tankionline_icon' into devel 2025-08-26 14:58:46 +03:00
Mikhail Tergoev
137108f1bd Merge branch 'Muzifs-fixes_for_autoinstall_ggd' into devel 2025-08-26 14:58:13 +03:00
Mikhail Tergoev
68aa03847c Merge branch 'Muzifs-fixes_for_autoinstall_azahar' into devel 2025-08-26 14:57:28 +03:00
b3b76c799f Use compare_versions for glibc 2025-08-19 01:26:54 +05:00
ceb4dfb536 fix: use focused monitor as primary on hyprland
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-08-17 22:47:51 +05:00
aab1ebd2c1 new Tanki Online icon 2025-08-08 15:40:47 +03:00
a94d0b0622 fixes for autoinstall GGD 2025-08-08 14:43:54 +03:00
1e290d0c55 fixes for autoinstall Azahar 2025-08-05 13:47:49 +03:00
98cbc018ae Fixed long startup of setup files 2025-08-01 23:53:25 +05:00
0c81978c5b OpenGL nvidia hook moved to start_portwine 2025-08-01 20:43:24 +05:00
5 changed files with 49 additions and 28 deletions

View File

@@ -86,7 +86,7 @@ getSteamId() {
local file=$(find "$(dirname "${NOSTAPPPATH}")" -type f \( ${conditions# -o} \) -print -quit 2>/dev/null)
if [[ -n "${file}" ]]; then
if [[ "${file}" == *"steam_appid.txt" ]]; then
SteamAppId=$(cat "${file}" | tr -d '\r\n')
SteamAppId=$(cat "${file}" | tr -d '[:space:]\r\n')
else
SteamAppId=$(grep -i "^AppId=" "${file}" | cut -d'=' -f2 | head -1 | tr -d '\r\n')
fi

View File

@@ -1002,6 +1002,7 @@ fix_icon_name_png () {
# Поиск нужного .desktop файла по $portwine_exe (для показа в комментариях нужного времени)
# Параллельное создание базы по времени после завершения приложения
search_desktop_file () {
[[ $PW_USE_SETUP_FILE == "1" ]] && return 0
local desktop_file desktop_file_new line1 line2 FILE_SHA256SUM_ARRAY EXEC_DESKTOP ICON_NAME BROKEN_LINE FILE_SHA256SUM_FOUND FILE_SHA256SUM_NOT_FOUND
if [[ -z $FILE_SHA256SUM ]] ; then
read -r -a FILE_SHA256SUM_ARRAY < <(sha256sum "$portwine_exe")
@@ -1859,9 +1860,10 @@ pw_lsfg_vk_check () {
fi
fi
export PW_WINE_FULLSCREEN_FSR="0"
# export PW_WINE_FULLSCREEN_FSR="0"
export LSFG_DLL_PATH="$lsfg_vk_path/Lossless.dll"
check_variables LSFG_LEGACY "1"
check_variables LSFG_MULTIPLIER "2"
check_variables LSFG_FLOW_SCALE "0.1"
check_variables LSFG_PERF_MODE "1"
@@ -2921,13 +2923,6 @@ pw_check_dxvk () {
fi
fi
done
# если используется nvidia, со встройкой opengl будет работать через встройку, с этим будет работать через nvidia
if [[ ${PW_VULKAN_DRIVER_ARRAY_CHECK[3],,} =~ nvidia ]] ; then
export __NV_PRIME_RENDER_OFFLOAD="1"
export __GLX_VENDOR_LIBRARY_NAME="nvidia"
else
export __NV_PRIME_RENDER_OFFLOAD="0"
fi
# если PW_GPU_USE изначально не было
if [[ -z $PW_GPU_USE ]] ; then
export PW_GPU_USE=${PW_VULKAN_DRIVER_ARRAY_CHECK[2]}
@@ -3021,7 +3016,17 @@ pw_skip_get_info () {
PW_SCREEN_RESOLUTION="$(<"${PW_TMPFS_PATH}/xrandr.tmp" sed -rn 's/^.*primary.* ([0-9]+x[0-9]+).*$/\1/p')"
PW_SCREEN_PRIMARY="$(grep -e 'primary' "${PW_TMPFS_PATH}/xrandr.tmp" | awk '{print $1}')"
fi
if [[ $PW_SCREEN_RESOLUTION != *x* ]] ; then
if command -v hyprctl >/dev/null 2>&1 ; then
monitor_info=$(hyprctl monitors -j 2>/dev/null | jq -r '.[] | select(.focused==true)')
PW_SCREEN_PRIMARY=$(echo "$monitor_info" | jq -r '.name')
PW_SCREEN_RESOLUTION=$(echo "$monitor_info" | jq -r '"\(.width)x\(.height)"')
fi
fi
[[ $PW_SCREEN_RESOLUTION != *x* ]] && PW_SCREEN_RESOLUTION="1920x1080"
export PW_SCREEN_PRIMARY PW_SCREEN_RESOLUTION
if [[ -f "${PW_TMPFS_PATH}/locale.tmp" ]] ; then
@@ -3043,7 +3048,7 @@ pw_skip_get_info () {
unset AMD_VULKAN_DRIVER_LIST
if ! check_flatpak \
&& [[ $(check_vendor_gpu) =~ amd ]]
&& [[ $(check_vendor_gpu) == "amd" ]]
then
for DRIVER in $GET_AMD_VULKAN_DRIVER_LIST; do
case "$DRIVER" in
@@ -3418,6 +3423,8 @@ start_portwine () {
export STEAM_COMPAT_TRANSCODED_MEDIA_PATH="${PORT_WINE_TMP_PATH}/gstreamer_tmp"
export MEDIACONV_AUDIO_DUMP_FILE="$STEAM_COMPAT_TRANSCODED_MEDIA_PATH/audiov2.foz"
export MEDIACONV_VIDEO_DUMP_FILE="$STEAM_COMPAT_TRANSCODED_MEDIA_PATH/video.foz"
export PROTON_MEDIA_USE_GST="1"
fi
check_variables VKD3D_DEBUG "none"
@@ -3438,6 +3445,9 @@ start_portwine () {
unset WINE_MONO_TRACE
fi
#disable winebth.sys as it crashes winedevice.exe
var_winedlloverride_update "winebth.sys=d"
pw_wineboot () {
LIST_NATIVE_WINE_DLL_LINKS="winevulkan ir50_32 amd_ags_x64 wined3d vulkan-1"
for dll in $LIST_NATIVE_WINE_DLL_LINKS ; do
@@ -3775,8 +3785,15 @@ start_portwine () {
export int_xneur=1
fi
#https://github.com/flathub/net.lutris.Lutris/pull/368#issuecomment-1751381312
[[ $(check_vendor_gpu) =~ nvidia ]] && export WEBKIT_DISABLE_DMABUF_RENDERER=1
if [[ $(check_vendor_gpu) == "nvidia" ]] ; then
#https://github.com/flathub/net.lutris.Lutris/pull/368#issuecomment-1751381312
export WEBKIT_DISABLE_DMABUF_RENDERER="1"
#Для того чтобы OpenGL всегда работал через nvidia (если в PW_GPU_USE выбрана nvidia)
export __NV_PRIME_RENDER_OFFLOAD="1"
export __GLX_VENDOR_LIBRARY_NAME="nvidia"
else
export __NV_PRIME_RENDER_OFFLOAD="0"
fi
if check_gamescope_session ; then
export PW_GAMEMODERUN_SLR=""
@@ -3993,7 +4010,7 @@ fi
then
export LIBGL_KOPPER_DRI2="1"
fi
[[ $(check_vendor_gpu) =~ nouveau ]] && export NOUVEAU_USE_ZINK="1"
[[ $(check_vendor_gpu) == "nouveau" ]] && export NOUVEAU_USE_ZINK="1"
fi
# WINED3D VULKAN
@@ -4606,7 +4623,7 @@ fi
|| check_gamescope_session
then
export vk_xwayland_wait_ready="false"
if [[ $(check_vendor_gpu) =~ amd ]] ; then
if [[ $(check_vendor_gpu) == "amd" ]] ; then
export RADV_DEBUG+="nodcc "
export AMD_DEBUG="nodcc"
if [[ ! $(<"${PW_TMPFS_PATH}/vulkaninfo.tmp") =~ VK_EXT_image_drm_format_modifier ]] ; then
@@ -4614,10 +4631,10 @@ fi
grep -e '--backend' "${PW_TMPFS_PATH}/gamescope.tmp" &>/dev/null && PW_GS_BACKEND_SDL="1"
fi
fi
if [[ $(check_vendor_gpu) =~ intel ]] ; then
if [[ $(check_vendor_gpu) == "intel" ]] ; then
export INTEL_DEBUG="norbc"
fi
if [[ $(check_vendor_gpu) =~ nvidia ]] ; then
if [[ $(check_vendor_gpu) == "nvidia" ]] ; then
PW_GAMESCOPE_VARIABLES_BEFORE+="__GL_THREADED_OPTIMIZATIONS=0 "
PW_GAMESCOPE_VARIABLES_AFTER+="__GL_THREADED_OPTIMIZATIONS=1 "
fi
@@ -5625,7 +5642,7 @@ gui_edit_db () {
[[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC"
if ! check_flatpak \
&& [[ $(ldd --version | head -n 1 | awk '{print $4}') < 2.38 ]]
&& ! compare_versions "$(ldd --version | head -n 1 | awk '{print $4}')" "2.38"
then
DISABLE_EDIT_DB_LIST+=" PW_USE_LS_FRAME_GEN"
export PW_USE_LS_FRAME_GEN="0"
@@ -6707,8 +6724,10 @@ gui_userconf () {
export PW_CHANGE_BRANCH="1"
export PW_FORCE_UPDATE="1"
else
[[ $BRANCH == "DEVEL" ]] && BRANCH="devel"
[[ $BRANCH == "STABLE" ]] && BRANCH="master"
if [[ $BRANCH == "DEVEL" ]]
then BRANCH="devel"
else BRANCH="master"
fi
fi
PW_GUI_START="${PW_ADD_SETTINGS_UC[2]}"
DOWNLOAD_STEAM_GRID="${PW_ADD_SETTINGS_UC[3]}"

View File

@@ -6,10 +6,11 @@
# info_en: An open source Nintendo 3DS emulator based on Citra, designed to run games with support for enhanced resolutions and advanced emulation settings.
# info_ru: Эмулятор Nintendo 3DS с открытым исходным кодом на основе Citra, созданный для запуска игр с поддержкой улучшенного разрешения и расширенных настроек эмуляции.
##########################################################################
# export LAUNCH_PARAMETERS="/VERYSILENT"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/azahar-2120.3-windows-msys2-installer.exe"
export PW_AZAHAR_VERSION=$(curl -s "https://github.com/azahar-emu/azahar/releases" | grep -oP '/azahar-emu/azahar/releases/tag/\K[0-9.]+(-[a-z0-9]+)?' | grep -v -- '-[a-z0-9]' | sort -Vu | tail -n1)
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/azahar-$PW_AZAHAR_VERSION-windows-msys2-installer.exe"
export PW_PREFIX_NAME="AZAHAR"
start_portwine
if try_download "https://github.com/azahar-emu/azahar/releases/download/2120.3/azahar-2120.3-windows-msys2-installer.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
if try_download "https://github.com/azahar-emu/azahar/releases/download/$PW_AZAHAR_VERSION/azahar-$PW_AZAHAR_VERSION-windows-msys2-installer.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Azahar."
pw_run "${PW_AUTOINSTALL_EXE}"

View File

@@ -6,14 +6,15 @@
# info_en: A multiplayer social deduction game where players take on the roles of ducks or geese, trying to complete tasks and identify the "ducks" — the impostors among them. The game combines elements of strategy and communication, requiring players to coordinate and recognize deception.
# info_ru: Многопользовательская игра в жанре социальной дедукции, где игроки выступают в роли уток или гусей, пытаясь выполнить задания и выявить среди них "уток" — предателей. Игра сочетает в себе элементы стратегии и общения, требуя от игроков координации и способности распознавать обман.
########################################################################
VERSION="3.11.00"
export PW_PREFIX_NAME="GOOSE_GOOSE_DUCK"
export LAUNCH_PARAMETERS="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Goose Goose Duck Installer $VERSION release.exe"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GGDInstaller.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Goose Goose Duck"
VERSION="4.01.02"
start_portwine
if try_download "https://firebasestorage.googleapis.com/v0/b/gaggle-staging.appspot.com/o/Builds%2FGGD%2FGoose%20Goose%20Duck%20Installer%20${VERSION}%20release.exe?alt=media&token=e6c29f8f-bfd8-4592-a740-821aa4cebe00" "${PW_AUTOINSTALL_EXE}" no_mirror
if try_download "https://download-ggd.gaggle.gg/Goose%20Goose%20Duck%20Installer%20${VERSION}%20release.exe" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Goose Goose Duck."
pw_run "${PW_AUTOINSTALL_EXE}"

View File

@@ -52,16 +52,16 @@ export PW_OPTISCALER_VER="v02-0.7.7-pre12"
export PW_GALLIUM_NINE_VER="0.10"
export PW_LSFG_VK_VER="3.1-p11-cebe5e2"
###WINE_AND_PROTON_LG###
export PW_PROTON_LG_VER="PROTON_LG_10-10"
export PW_PROTON_LG_VER="PROTON_LG_10-15"
export PW_WINE_LG_VER="WINE_LG_10-12"
export PW_WINE_FULLSCREEN_FSR="1"
export WINE_FULLSCREEN_FSR_MODE="ultra"
###DXVK_AND_VKD3D###
export VKD3D_LIMIT_TESS_FACTORS="64"
export DXVK_NEW_VER="2.7-5"
export DXVK_NEW_VER="2.7-46"
export DXVK_OLD_VER="2.6.2"
export DXVK_SAREK_VER="sarek-1.11.0"
export VKD3D_NEW_VER="1.1-4666"
export VKD3D_NEW_VER="1.1-4707"
export VKD3D_OLD_VER="2.14.1"
export VKD3D_SAREK_VER="sarek-2.6.0"
###VKBASALT###