Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

fix(engine): rebuild winecoreaudio 11.17 and winemac WineHQ 11.15 for macOS 26

raymondchinsce764822c65c
diff --git a/app/Sources/BridgeplayApp/Resources/winecoreaudio-winecx-11.17.so b/app/Sources/BridgeplayApp/Resources/winecoreaudio-winecx-11.17.so
index 8c27c67..4c58f2d 100755
Binary files a/app/Sources/BridgeplayApp/Resources/winecoreaudio-winecx-11.17.so and b/app/Sources/BridgeplayApp/Resources/winecoreaudio-winecx-11.17.so differ
diff --git a/app/Sources/BridgeplayApp/Resources/winemac-winehq-11.15.so b/app/Sources/BridgeplayApp/Resources/winemac-winehq-11.15.so
index 3b4db17..dc18f30 100755
Binary files a/app/Sources/BridgeplayApp/Resources/winemac-winehq-11.15.so and b/app/Sources/BridgeplayApp/Resources/winemac-winehq-11.15.so differ
diff --git a/winecoreaudio-patch/README.md b/winecoreaudio-patch/README.md
index 883686d..d9e0b6f 100644
--- a/winecoreaudio-patch/README.md
+++ b/winecoreaudio-patch/README.md
@@ -10,7 +10,10 @@ CodeWeavers' Deadlock tip works around it with a 96 kHz output). `winecx-render-
Verified 2026-10-12: Deadlock at 44.1 kHz no longer crackles.
Build in the tree configured as in `winemac-patch/README.md`
-(`DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer`):
-`make dlls/winecoreaudio.drv/winecoreaudio.so`, then sign ad hoc under the runtime's identifier:
+(`DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer`), with the runtime's own
+`ntdll.so` in place of the tree's (`dlls/ntdll/ntdll.so`) and the product's deployment target:
+`MACOSX_DEPLOYMENT_TARGET=26.0 make dlls/winecoreaudio.drv/winecoreaudio.so`. Without it the
+toolchain defaults to its SDK (27.0) and the driver does not load on macOS 26; `make mincheck`
+catches that. Then sign ad hoc under the runtime's identifier:
`codesign -f -s - -i winecoreaudio-5555494448b257546f33317180481a4e0075393b winecoreaudio.so`.
Pin: `FreeEngineWinecx.v1117.audio`.
diff --git a/winemac-patch/README.md b/winemac-patch/README.md
index 4dc3cf1..3b9797f 100644
--- a/winemac-patch/README.md
+++ b/winemac-patch/README.md
@@ -13,9 +13,15 @@ To rebuild `app/Sources/BridgeplayApp/Resources/winemac-winehq-11.15.so`:
PATH="$(brew --prefix bison)/bin:$PATH" arch -x86_64 ./configure --enable-win64 \
--enable-archs=x86_64 --without-x --without-freetype CC="clang -arch x86_64" \
OBJC="clang -arch x86_64"
- arch -x86_64 make dlls/winemac.drv/winemac.so
+ MACOSX_DEPLOYMENT_TARGET=26.0 arch -x86_64 make dlls/winemac.drv/winemac.so
codesign -fs - dlls/winemac.drv/winemac.so
+`MACOSX_DEPLOYMENT_TARGET=26.0` keeps the driver loadable on macOS 26; without it the
+toolchain stamps its SDK version (27.0) as the minimum, which `make mincheck` refuses. The
+tree's own `ntdll.so` and `win32u.so` can stand in for the runtime's at link time (only their
+`@rpath/` install names and exports matter); built this way the result matches the previous
+pin in every section, all imports and every load command except the minimum version.
+
Then update `macDriver` in `FreeEngine.swift` with its sha256.
## WineCX: `winecx-d3dmetal-retina.patch`