Skip to content

Commit

Permalink
Update to 8-22
Browse files Browse the repository at this point in the history
  • Loading branch information
rankynbass committed Nov 2, 2023
2 parents 487ca5d + b91457d commit c06b8b5
Show file tree
Hide file tree
Showing 15 changed files with 2,704 additions and 342 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.vagrant/
/vagrant_share/
/builds
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Lutris Wine GE-Proton8-17
Lutris Wine GE-Proton8-22
2 changes: 1 addition & 1 deletion makebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ ! -d builds ]]; then
mkdir -p builds
fi
if [[ -z $(podman container list -a | grep buildbot) ]]; then
docker create --interactive --name buildbot --mount type=bind,source="$PWD"/builds,destination=/builds,readonly=false --mount type=bind,source="$PWD"/buildbot,destination=/home/vagrant/buildbot,readonly=false docker.io/gloriouseggroll/lutris_buildbot:latest
docker create --interactive --name buildbot --mount type=bind,source="$PWD"/builds,destination=/builds,readonly=false --mount type=bind,source="$PWD"/buildbot,destination=/home/vagrant/buildbot,readonly=false docker.io/gloriouseggroll/lutris_buildbot:bullseye
fi

docker start buildbot
Expand Down
1,981 changes: 1,981 additions & 0 deletions patches/proton/47-proton-fshack-AMD-FSR-complete.patch

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions patches/proton/49-fsr-width-using-height-and-aspect-ratio.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From bfa433091a379c35a6627bf72b8adb5a6a294f91 Mon Sep 17 00:00:00 2001
From: Ph42oN <julle.ys.57@gmail.com>
Date: Mon, 25 Sep 2023 11:53:22 +0300
Subject: [PATCH] calculate width using height and aspect ratio

---
dlls/winex11.drv/fs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/fs.c b/dlls/winex11.drv/fs.c
index f2162d2..e67734c 100644
--- a/dlls/winex11.drv/fs.c
+++ b/dlls/winex11.drv/fs.c
@@ -360,8 +360,9 @@ static void monitor_get_modes( struct fs_monitor *monitor, DEVMODEW **modes, UIN
{
for (i = 0; i < ARRAY_SIZE(fs_monitor_sizes_fsr); ++i)
{
- fs_monitor_sizes_fsr[i].size.cx = (DWORD)(mode_host.dmPelsWidth / fsr_ratios[i] + 0.5f);
fs_monitor_sizes_fsr[i].size.cy = (DWORD)(mode_host.dmPelsHeight / fsr_ratios[i] + 0.5f);
+ fs_monitor_sizes_fsr[i].size.cx = (DWORD)(fs_monitor_sizes_fsr[i].size.cy
+ * ((float)mode_host.dmPelsWidth / (float)mode_host.dmPelsHeight) + 0.5f);

TRACE("created fsr resolution: %dx%d, ratio: %1.1f\n",
fs_monitor_sizes_fsr[i].size.cx,
--
2.41.0

40 changes: 32 additions & 8 deletions patches/protonprep-lutris-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

# Revert proton font changes, Using them as non-proton wine build breaks Uplay

git revert --no-commit 637902dcd157b3f4df4c497de7ac755115c81c99
git revert --no-commit fe7901be6de96a7572fff977dd34584d96b5ec29
git revert --no-commit ba3c43eb34cd10b7cf1c8e76319a2eef86f31f8b
git revert --no-commit 72508b7d4110b76f90320ff009df1141f6e07901
Expand Down Expand Up @@ -105,7 +106,9 @@
-W winex11.drv-Query_server_position \
-W user32-Mouse_Message_Hwnd \
-W wined3d-SWVP-shaders \
-W wined3d-Indexed_Vertex_Blending
-W wined3d-Indexed_Vertex_Blending \
-W shell32-registry-lookup-app \
-W winepulse-PulseAudio_Support

# NOTE: Some patches are applied manually because they -do- apply, just not cleanly, ie with patch fuzz.
# A detailed list of why the above patches are disabled is listed below:
Expand Down Expand Up @@ -181,6 +184,8 @@
# winspool.drv-ClosePrinter - not required, only adds trace lines, for printers.
# winmm-mciSendCommandA - not needed, only applies to win 9x mode
# ** winex11-XEMBED - applied manually
# ** shell32-registry-lookup-app - applied manually
# ** winepulse-PulseAudio_Support - applied manually
#
# Paul Gofman — Yesterday at 3:49 PM
# that’s only for desktop integration, spamming native menu’s with wine apps which won’t probably start from there anyway
Expand Down Expand Up @@ -286,6 +291,12 @@
# kernel32-Debugger
patch -Np1 < ../wine-staging/patches/kernel32-Debugger/0001-kernel32-Always-start-debugger-on-WinSta0.patch

# shell32-registry-lookup-app
patch -Np1 < ../patches/wine-hotfixes/staging/shell32-registry-lookup-app/0001-shell32-Append-.exe-when-registry-lookup-fails-first.patch

# winepulse-PulseAudio_Support
patch -Np1 < ../patches/wine-hotfixes/staging/winepulse-PulseAudio_Support/0001-winepulse.drv-Use-a-separate-mainloop-and-ctx-for-pu.patch

### END WINE STAGING APPLY SECTION ###

### (2-3) GAME PATCH SECTION ###
Expand Down Expand Up @@ -317,6 +328,14 @@

### (2-4) WINE HOTFIX/BACKPORT SECTION ###

# https://gitlab.winehq.org/wine/wine/-/merge_requests/3777
echo "WINE: -BACKPORT- R6 Siege backport"
patch -Np1 < ../patches/wine-hotfixes/upstream/3777.patch

# https://gitlab.winehq.org/wine/wine/-/merge_requests/2403
echo "WINE: -BACKPORT- LibreVR Revive backport"
patch -Np1 < ../patches/wine-hotfixes/upstream/2403.patch

### END WINE HOTFIX/BACKPORT SECTION ###

### (2-5) WINE PENDING UPSTREAM SECTION ###
Expand All @@ -329,9 +348,6 @@
echo "WINE: -PENDING- Guild Wars 2 patch"
patch -Np1 < ../patches/wine-hotfixes/pending/hotfix-guild_wars_2.patch

echo "WINE: -PENDING- Genshin Impact long URL patch"
patch -Np1 < ../patches/wine-hotfixes/pending/genshin-impact-long-url-hotfix.patch

### END WINE PENDING UPSTREAM SECTION ###


Expand All @@ -344,10 +360,18 @@
patch -Np1 < ../patches/proton/fix-non-steam-controller-input.patch

echo "WINE: -FSR- fullscreen hack fsr patch"
patch -Np1 < ../patches/proton/48-proton-fshack_amd_fsr.patch

# echo "WINE: -FSR- enable FSR flag by default (fixes broken fs hack scaling in some games like Apex and FFXIV)"
# patch -Np1 < ../patches/proton/71-invert-fsr-logic.patch
patch -Np1 < ../patches/proton/47-proton-fshack-AMD-FSR-complete.patch

#echo "WINE: -FSR- fullscreen hack fsr patch"
#patch -Np1 < ../patches/proton/48-proton-fshack_amd_fsr.patch

#echo "WINE: -FSR- fullscreen hack resolution calculation fixup"
#patch -Np1 < ../patches/proton/49-fsr-width-using-height-and-aspect-ratio.patch
#echo "WINE: -FSR- fullscreen hack fix washed colors when FSR disabled"
#patch -Np1 < ../patches/proton/50-fsr-fix-washed-colors-when-disabled.patch

#echo "WINE: -FSR- enable FSR flag by default (fixes broken fs hack scaling in some games like Apex and FFXIV)"
#patch -Np1 < ../patches/proton/71-invert-fsr-logic.patch

### END PROTON-GE ADDITIONAL CUSTOM PATCHES ###
### END WINE PATCHING ###
Expand Down
Loading

0 comments on commit c06b8b5

Please sign in to comment.