forked from GloriousEggroll/proton-ge-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
protonprep-valve-staging.sh
executable file
·406 lines (319 loc) · 20.3 KB
/
protonprep-valve-staging.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
#!/bin/bash
### (1) PREP SECTION ###
cd dxvk
git reset --hard HEAD
git clean -xdf
echo "DXVK: add valve dxvk patches"
patch -Np1 < ../patches/dxvk/proton-dxvk_avoid_spamming_log_with_requests_for_IWineD3D11Texture2D.patch
patch -Np1 < ../patches/dxvk/proton-dxvk_add_new_dxvk_config_library.patch
# https://github.com/doitsujin/dxvk/pull/2675
echo "DXVK: [dxgi] Leave fullscreen mode when window looses focus"
patch -Np1 < ../patches/dxvk/2675.patch
echo "DXVK:add dxvk async patch"
patch -Np1 < ../patches/dxvk/dxvk-async.patch
cd ..
cd vkd3d-proton
git reset --hard HEAD
git clean -xdf
cd ..
### END PREP SECTION ###
### (2) WINE PATCHING ###
cd wine
git reset --hard HEAD
git clean -xdf
### (2-1) PROBLEMATIC COMMIT REVERT SECTION ###
# nvapi
git revert --no-commit fdfb4b925f52fbec580dd30bef37fb22c219c667
### END PROBLEMATIC COMMIT REVERT SECTION ###
### (2-2) WINE STAGING APPLY SECTION ###
echo "WINE: -STAGING- applying staging patches"
../wine-staging/patches/patchinstall.sh DESTDIR="." --all \
-W winex11-_NET_ACTIVE_WINDOW \
-W winex11-WM_WINDOWPOSCHANGING \
-W winex11-MWM_Decorations \
-W winex11-key_translation \
-W ntdll-Syscall_Emulation \
-W ntdll-Junction_Points \
-W server-File_Permissions \
-W server-Stored_ACLs \
-W eventfd_synchronization \
-W d3dx11_43-D3DX11CreateTextureFromMemory \
-W dbghelp-Debug_Symbols \
-W ddraw-Device_Caps \
-W ddraw-version-check \
-W dwrite-FontFallback \
-W ntdll-DOS_Attributes \
-W Pipelight \
-W dinput-joy-mappings \
-W server-Key_State \
-W server-PeekMessage \
-W server-Realtime_Priority \
-W server-Signal_Thread \
-W loader-KeyboardLayouts \
-W mshtml-HTMLLocation_put_hash \
-W msxml3-FreeThreadedXMLHTTP60 \
-W ntdll-ForceBottomUpAlloc \
-W ntdll-ApiSetMap \
-W ntdll-WRITECOPY \
-W ntdll-Builtin_Prot \
-W ntdll-CriticalSection \
-W ntdll-Exception \
-W ntdll-Hide_Wine_Exports \
-W ntdll-Serial_Port_Detection \
-W secur32-InitializeSecurityContextW \
-W server-default_integrity \
-W user32-rawinput-mouse \
-W user32-rawinput-mouse-experimental \
-W user32-recursive-activation \
-W windows.networking.connectivity-new-dll \
-W wineboot-ProxySettings \
-W winex11-UpdateLayeredWindow \
-W winex11-Vulkan_support \
-W winex11-wglShareLists \
-W wintab32-improvements \
-W xactengine3_7-PrepareWave \
-W xactengine3_7-Notification \
-W xactengine-initial \
-W kernel32-CopyFileEx \
-W shell32-Progress_Dialog \
-W shell32-ACE_Viewer \
-W fltmgr.sys-FltBuildDefaultSecurityDescriptor \
-W inseng-Implementation \
-W ntdll-RtlQueryPackageIdentity \
-W packager-DllMain \
-W winemenubuilder-Desktop_Icon_Path \
-W wscript-support-d-u-switches \
-W wininet-Cleanup \
-W sapi-ISpObjectToken-CreateInstance \
-W sapi-iteration-tokens \
-W cryptext-CryptExtOpenCER \
-W shell32-NewMenu_Interface \
-W wintrust-WTHelperGetProvCertFromChain
# 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:
# winex11-_NET_ACTIVE_WINDOW - Causes origin to freeze
# winex11-WM_WINDOWPOSCHANGING - Causes origin to freeze
# winex11-MWM_Decorations - not compatible with fullscreen hack
# winex11-key_translation - replaced by proton's keyboard patches
# winex11-wglShareLists - applied manually
# ntdll-Syscall_Emulation - already applied
# ntdll-Junction_Points - breaks CEG drm
# server-File_Permissions - requires ntdll-Junction_Points
# server-Stored_ACLs - requires ntdll-Junction_Points
# eventfd_synchronization - already applied
# d3dx11_43-D3DX11CreateTextureFromMemory - manually applied
# ddraw-Device_Caps - conflicts with proton's changes
# ddraw-version-check - conflicts with proton's changes
# dbghelp-Debug_Symbols - see below:
# Sancreed — 11/21/2021
# Heads up, it appears that a bunch of Ubisoft Connect games (3/3 I had installed and could test) will crash
# almost immediately on newer Wine Staging/TKG inside pe_load_debug_info function unless the dbghelp-Debug_Symbols staging # patchset is disabled.
# dwrite-FontFallback - replaced by proton's font patches
# ** ntdll-DOS_Attributes - applied manually
# server-Key_State - replaced by proton shared memory patches
# server-PeekMessage - eplaced by proton's version
# server-Realtime_Priority - replaced by proton's patches
# server-Signal_Thread - breaks steamclient for some games -- notably DBFZ
# Pipelight - for MS Silverlight, not needed
# dinput-joy-mappings - disabled in favor of proton's gamepad patches
# ** loader-KeyboardLayouts - applied manually -- needed to prevent Overwatch huge FPS drop
# mshtml-HTMLLocation_put_hash - already applied
# msxml3-FreeThreadedXMLHTTP60 - already applied
# ntdll-ForceBottomUpAlloc - already applied
# ntdll-ApiSetMap - applied manually
# ntdll-WRITECOPY - already applied
# ntdll-Builtin_Prot - already applied
# ntdll-CriticalSection - breaks ffxiv and deep rock galactic
# ** ntdll-Exception - applied manually
# ** ntdll-Hide_Wine_Exports - applied manually
# ** ntdll-Serial_Port_Detection - applied manually
# ** secur32-InitializeSecurityContextW - applied manually
# server-default_integrity - causes steam.exe to stay open after game closes
# user32-rawinput-mouse - already applied
# user32-rawinput-mouse-experimental - already applied
# user32-recursive-activation - already applied
# ** windows.networking.connectivity-new-dll - applied manually
# ** wineboot-ProxySettings - applied manually
# ** winex11-UpdateLayeredWindow - applied manually
# ** winex11-Vulkan_support - applied manually
# wintab32-improvements - for wacom tablets, not needed
# ** xactengine-initial - applied manually
# ** xactengine3_7-Notification - applied manually
# ** xactengine3_7-PrepareWave - applied manually
# ** xactengine3_7-callbacks - applied manually -- added after 7.0
# kernel32-CopyFileEx - breaks various installers
# shell32-Progress_Dialog - relies on kernel32-CopyFileEx
# shell32-ACE_Viewer - adds a UI tab, not needed, relies on kernel32-CopyFileEx
# ** fltmgr.sys-FltBuildDefaultSecurityDescriptor - applied manually
# ** inseng-Implementation - applied manually
# ** ntdll-RtlQueryPackageIdentity - applied manually
# ** packager-DllMain - applied manually
# ** winemenubuilder-Desktop_Icon_Path - applied manually
# ** wscript-support-d-u-switches - applied manually
# ** wininet-Cleanup - applied manually
# sapi-ISpObjectToken-CreateInstance - already applied
# sapi-iteration-tokens - already applied
# cryptext-CryptExtOpenCER - applied manually
# ** wintrust-WTHelperGetProvCertFromChain - applied manually
# ** shell32-NewMenu_Interface - applied manually
echo "WINE: -STAGING- applying staging Compiler_Warnings revert for steamclient compatibility"
# revert this, it breaks lsteamclient compilation
patch -RNp1 < ../wine-staging/patches/Compiler_Warnings/0031-include-Check-element-type-in-CONTAINING_RECORD-and-.patch
# d3dx11_43-D3DX11CreateTextureFromMemory
patch -Np1 < ../patches/wine-hotfixes/staging/d3dx11_43-D3DX11CreateTextureFromMemory/0001-d3dx11_43-Implement-D3DX11GetImageInfoFromMemory.patch
patch -Np1 < ../patches/wine-hotfixes/staging/d3dx11_43-D3DX11CreateTextureFromMemory/0002-d3dx11_42-Implement-D3DX11CreateTextureFromMemory.patch
# ntdll-DOS_Attributes
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0001-ntdll-Implement-retrieving-DOS-attributes-in-fd_-get.patch
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0003-ntdll-Implement-storing-DOS-attributes-in-NtSetInfor.patch
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0004-ntdll-Implement-storing-DOS-attributes-in-NtCreateFi.patch
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0005-libport-Add-support-for-Mac-OS-X-style-extended-attr.patch
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0006-libport-Add-support-for-FreeBSD-style-extended-attri.patch
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0007-ntdll-Perform-the-Unix-style-hidden-file-check-withi.patch
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-DOS_Attributes/0008-ntdll-Always-store-SAMBA_XATTR_DOS_ATTRIB-when-path-.patch
# loader-KeyboardLayouts
patch -Np1 < ../wine-staging/patches/loader-KeyboardLayouts/0001-loader-Add-Keyboard-Layouts-registry-enteries.patch
patch -Np1 < ../wine-staging/patches/loader-KeyboardLayouts/0002-user32-Improve-GetKeyboardLayoutList.patch
# ntdll-ApiSetMap
patch -Np1 < ../wine-staging/patches/ntdll-ApiSetMap/0001-ntdll-Add-dummy-apiset-to-PEB.patch
# ntdll-Exception
patch -Np1 < ../wine-staging/patches/ntdll-Exception/0002-ntdll-OutputDebugString-should-throw-the-exception-a.patch
# ntdll-Hide_Wine_Exports
patch -Np1 < ../wine-staging/patches/ntdll-Hide_Wine_Exports/0001-ntdll-Add-support-for-hiding-wine-version-informatio.patch
# ntdll-Serial_Port_Detection
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-Serial_Port_Detection/0001-ntdll-Do-a-device-check-before-returning-a-default-s.patch
# secur32-InitializeSecurityContextW
patch -Np1 < ../wine-staging/patches/secur32-InitializeSecurityContextW/0001-secur32-Input-Parameter-should-be-NULL-on-first-call.patch
# mouse rawinput
# per discussion with remi:
#---
#GloriousEggroll — Today at 4:05 PM
#@rbernon are there any specific rawinput patches from staging that are not in proton? i have someone saying they had better mouse rawinput functionality in my previous wine-staging builds
#rbernon — Today at 4:07 PM
#there's some yes, with truly raw values
#proton still uses transformed value with the desktop mouse acceleration to not change user settings unexpectedly
#---
# /wine-staging/patches/user32-rawinput-mouse-experimental/0006-winex11.drv-Send-relative-RawMotion-events-unprocess.patch
# we use a rebased version for proton
patch -Np1 < ../patches/wine-hotfixes/staging/rawinput/0006-winex11.drv-Send-relative-RawMotion-events-unprocess.patch
# windows.networking.connectivity-new-dll
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0001-include-Add-windows.networking.connectivity.idl.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0002-include-Add-windows.networking.idl.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0003-windows.networking.connectivity-Add-stub-dll.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0004-windows.networking.connectivity-Implement-IActivatio.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0005-windows.networking.connectivity-Implement-INetworkIn.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0006-windows.networking.connectivity-Registry-DLL.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0007-windows.networking.connectivity-Implement-INetworkIn.patch
patch -Np1 < ../patches/wine-hotfixes/staging/windows.networking.connectivity-new-dll/0008-windows.networking.connectivity-IConnectionProfile-G.patch
# wineboot-ProxySettings
patch -Np1 < ../wine-staging/patches/wineboot-ProxySettings/0001-wineboot-Initialize-proxy-settings-registry-key.patch
# winex11-UpdateLayeredWindow
patch -Np1 < ../wine-staging/patches/winex11-UpdateLayeredWindow/0001-winex11-Fix-alpha-blending-in-X11DRV_UpdateLayeredWi.patch
# winex11-Vulkan_support
patch -Np1 < ../patches/wine-hotfixes/staging/winex11-Vulkan_support/0001-winex11-Specify-a-default-vulkan-driver-if-one-not-f.patch
# xactengine-initial
patch -Np1 < ../patches/wine-hotfixes/staging/xactengine-initial/0001-x3daudio1_7-Create-import-library.patch
# xactengine3_7-Notification
patch -Np1 < ../wine-staging/patches/xactengine3_7-Notification/0001-xactengine3.7-Delay-Notication-for-WAVEBANKPREPARED.patch
patch -Np1 < ../wine-staging/patches/xactengine3_7-Notification/0002-xactengine3_7-Record-context-for-each-notications.patch
# xactengine3_7-PrepareWave
patch -Np1 < ../wine-staging/patches/xactengine3_7-PrepareWave/0002-xactengine3_7-Implement-IXACT3Engine-PrepareStreamin.patch
patch -Np1 < ../wine-staging/patches/xactengine3_7-PrepareWave/0003-xactengine3_7-Implement-IXACT3Engine-PrepareInMemory.patch
# xactengine3_7-callbacks
patch -Np1 < ../patches/wine-hotfixes/staging/xactengine3_7-callbacks/0001-Add-support-for-private-contexts.patch
patch -Np1 < ../patches/wine-hotfixes/staging/xactengine3_7-callbacks/0002-xactengine3_7-notifications.patch
patch -Np1 < ../patches/wine-hotfixes/staging/xactengine3_7-callbacks/0003-Send-NOTIFY_CUESTOP-when-Stop-is-called.patch
patch -Np1 < ../patches/wine-hotfixes/staging/xactengine3_7-callbacks/0004-xactengine3_7-Don-t-use-switch-with-constant-integer.patch
# fltmgr.sys-FltBuildDefaultSecurityDescriptor
patch -Np1 < ../patches/wine-hotfixes/staging/fltmgr.sys-FltBuildDefaultSecurityDescriptor/0001-fltmgr.sys-Implement-FltBuildDefaultSecurityDescript.patch
patch -Np1 < ../patches/wine-hotfixes/staging/fltmgr.sys-FltBuildDefaultSecurityDescriptor/0002-fltmgr.sys-Create-import-library.patch
patch -Np1 < ../patches/wine-hotfixes/staging/fltmgr.sys-FltBuildDefaultSecurityDescriptor/0003-ntoskrnl.exe-Add-FltBuildDefaultSecurityDescriptor-t.patch
# inseng-Implementation
patch -Np1 < ../patches/wine-hotfixes/staging/inseng-Implementation/0001-inseng-Implement-CIF-reader-and-download-functions.patch
# ntdll-RtlQueryPackageIdentity
patch -Np1 < ../patches/wine-hotfixes/staging/ntdll-RtlQueryPackageIdentity/0003-ntdll-tests-Add-basic-tests-for-RtlQueryPackageIdent.patch
# packager-DllMain
patch -Np1 < ../patches/wine-hotfixes/staging/packager-DllMain/0001-packager-Prefer-native-version.patch
# winemenubuilder-Desktop_Icon_Path
patch -Np1 < ../patches/wine-hotfixes/staging/winemenubuilder-Desktop_Icon_Path/0001-winemenubuilder-Create-desktop-shortcuts-with-absolu.patch
# wscript-support-d-u-switches
patch -Np1 < ../patches/wine-hotfixes/staging/wscript-support-d-u-switches/0001-wscript-return-TRUE-for-d-and-u-stub-switches.patch
# wininet-Cleanup
patch -Np1 < ../patches/wine-hotfixes/staging/wininet-Cleanup/0001-wininet-tests-Add-more-tests-for-cookies.patch
patch -Np1 < ../patches/wine-hotfixes/staging/wininet-Cleanup/0002-wininet-tests-Test-auth-credential-reusage-with-host.patch
patch -Np1 < ../patches/wine-hotfixes/staging/wininet-Cleanup/0003-wininet-tests-Check-cookie-behaviour-when-overriding.patch
patch -Np1 < ../patches/wine-hotfixes/staging/wininet-Cleanup/0004-wininet-Strip-filename-if-no-path-is-set-in-cookie.patch
patch -Np1 < ../patches/wine-hotfixes/staging/wininet-Cleanup/0005-wininet-Replacing-header-fields-should-fail-if-they-.patch
# winex11-wglShareLists
patch -Np1 < ../patches/wine-hotfixes/staging/winex11-wglShareLists/0001-winex11.drv-Only-warn-about-used-contexts-in-wglShar.patch
# cryptext-CryptExtOpenCER
patch -Np1 < ../patches/wine-hotfixes/staging/cryptext-CryptExtOpenCER/0001-cryptext-Implement-CryptExtOpenCER.patch
# wintrust-WTHelperGetProvCertFromChain
patch -Np1 < ../patches/wine-hotfixes/staging/wintrust-WTHelperGetProvCertFromChain/0001-wintrust-Add-parameter-check-in-WTHelperGetProvCertF.patch
# shell32-NewMenu_Interface
patch -Np1 < ../patches/wine-hotfixes/staging/shell32-NewMenu_Interface/0001-shell32-Implement-NewMenu-with-new-folder-item.patch
# nvapi/nvcuda
# this was added in 7.1, so it's not in the 7.0 tree
patch -Np1 < ../patches/wine-hotfixes/staging/nvcuda/0016-nvcuda-Make-nvcuda-attempt-to-load-libcuda.so.1.patch
### END WINE STAGING APPLY SECTION ###
### (2-3) GAME PATCH SECTION ###
echo "WINE: -GAME FIXES- assetto corsa hud fix"
patch -Np1 < ../patches/game-patches/assettocorsa-hud.patch
echo "WINE: -GAME FIXES- killer instinct vulkan fix"
patch -Np1 < ../patches/game-patches/killer-instinct-winevulkan_fix.patch
echo "WINE: -GAME FIXES- add cities XXL patches"
patch -Np1 < ../patches/game-patches/v5-0001-windowscodecs-Correctly-handle-8bpp-custom-conver.patch
echo "WINE: -GAME FIXES- add powerprof patches for FFVII Remake and SpecialK"
patch -Np1 < ../patches/game-patches/FFVII-and-SpecialK-powerprof.patch
echo "WINE: -GAME FIXES- add file search workaround hack for Phantasy Star Online 2"
patch -Np1 < ../patches/game-patches/pso2_hack.patch
### END GAME PATCH SECTION ###
### (2-4) PROTON PATCH SECTION ###
echo "WINE: -FSR- fullscreen hack fsr patch"
patch -Np1 < ../patches/proton/48-proton-fshack_amd_fsr.patch
echo "WINE: -FSR- fake current res patches"
patch -Np1 < ../patches/proton/65-proton-fake_current_res_patches.patch
echo "WINE: -FSR- add 32:9 FSR resolutions"
patch -Np1 < ../patches/proton/69-proton-fsr-add-329-res.patch
echo "WINE: -FSR- add FSR resolutions by aspect ratio instead of current screen width"
patch -Np1 < ../patches/proton/70-proton-add_fsr_res_by_aspect_ratio.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
echo "WINE: -FSR- set 'balanced' default mode if no mode is set, and dont set any default mode if a custom mode is set"
patch -Np1 < ../patches/proton/72-fsr-use-balanced-default-mode.patch
### END PROTON PATCH SECTION ###
### (2-5) WINE HOTFIX SECTION ###
# https://github.com/Frogging-Family/wine-tkg-git/commit/ca0daac62037be72ae5dd7bf87c705c989eba2cb
echo "WINE: -HOTFIX- unity crash hotfix"
patch -Np1 < ../patches/wine-hotfixes/pending/unity_crash_hotfix.patch
echo "WINE: -HOTFIX- 32 bit compilation crashes with newer libldap, upstream patch fixes it"
patch -Np1 < ../patches/wine-hotfixes/upstream/32-bit-ldap-upstream-fix.patch
echo "WINE: -HOTFIX- fix audio regression caused by 0e7fd41"
patch -Np1 < ../patches/wine-hotfixes/upstream/Fix-regression-introduced-by-0e7fd41.patch
# https://bugs.winehq.org/show_bug.cgi?id=52956
echo "WINE: -HOTFIX- fix star citizen bug 52956"
patch -Np1 < ../patches/wine-hotfixes/upstream/15aa8c6-fix-star-citizen-bug-52956.patch
patch -Np1 < ../patches/wine-hotfixes/pending/0001-winex11.drv-Define-ControlMask-when-not-available.patch
patch -Np1 < ../patches/wine-hotfixes/pending/0002-include-Add-THREAD_POWER_THROTTLING_STATE-type.patch
patch -Np1 < ../patches/wine-hotfixes/pending/0003-ntdll-Fake-success-for-ThreadPowerThrottlingState.patch
echo "WINE: -PROTON- apply revert to allow gallium nine functionality"
patch -Np1 < ../patches/wine-hotfixes/pending/0001-revert-96b82203f192eade6910f4ac2ecb188e27d22feb-to-k.patch
# https://bugs.winehq.org/show_bug.cgi?id=51683
echo "WINE: -HOTFIX- Guild Wars 2 patch"
patch -Np1 < ../patches/wine-hotfixes/pending/hotfix-guild_wars_2.patch
echo "WINE: -HOTFIX- fix Amazon Games launcher"
patch -Np1 < ../patches/wine-hotfixes/upstream/481.patch
echo "WINE: -HOTFIX- fix Visual Novel Doukyuusei"
patch -Np1 < ../patches/wine-hotfixes/upstream/visual-novel-doukyuusei.patch
echo "WINE: -HOTFIX- fix Persona 4 Golden"
patch -Np1 < ../patches/wine-hotfixes/upstream/381c2a9ae151f676a009e89b4b101679fd90b9ae.patch
echo "WINE: -HOTFIX- fix Uncharted: The Lost Legacy"
patch -Np1 < ../patches/wine-hotfixes/pending/uncharted-the-lost-legacy-fix.patch
echo "WINE: -HOTFIX- fix Overwatch 2 shader compilation issue"
# https://gitlab.winehq.org/wine/wine/-/merge_requests/1152
patch -Np1 < ../patches/wine-hotfixes/pending/1152.patch
### END WINE HOTFIX SECTION ###
### (2-6) WINE PENDING UPSTREAM SECTION ###
### END WINE PENDING UPSTREAM SECTION ###
### (2-7) WINE CUSTOM PATCHES ###
### END WINE CUSTOM PATCHES ###
### END WINE PATCHING ###