⚠️ Research projectThis repository is a research project for people who want to make their specific Windows game work on macOS. It is not intended as a general-purpose gaming solution. For everyday use, I strongly recommend CrossOver.
A native SwiftUI app for experimenting with Windows games on macOS using Wine. It manages separate Windows environments (bottles), game launchers, graphics backends, and controllers. Compatibility varies by game; expect debugging and source changes.
Requires macOS 14 or newer, Swift 6 developer tools (Xcode or Apple's Command Line Tools), and Git LFS for the bundled compatibility archives (brew install git-lfs && git lfs install before cloning, or git lfs pull in an existing clone). Intel Wine requires Rosetta on Apple Silicon.
./scripts/build-app.sh
open dist/MagicWine.appThis creates an ad-hoc-signed development build, not a notarized release. The CLI is dist/magicwine, a wrapper for the copy inside dist/MagicWine.app; keep the wrapper beside the app.
- In Downloads, choose Install / Update Wine… and review the unsigned-runtime trust confirmation.
- Create a bottle with +.
- If the game or launcher needs them, open Dependencies… in the bottle's Tools card to install the Visual C++ runtimes, D3DCompiler 47, or Microsoft core fonts (pinned, checksum-verified downloads under Microsoft's own licenses; see Windows dependencies).
- Use Install EXE/MSI to run an installer, or Add Program to select an existing launcher. You can also drop an installer on a bottle, drop launchers on its Installed Programs card, or open an EXE, MSI, LNK, or URL file with MagicWine from Finder and choose the bottle.
- Launch the program from its bottle, or from All Games in the sidebar, which lists programs across all bottles with favorites and recently played first. Experiment with the bottle's graphics settings as needed: Standard, DXVK, DXMT, or locally imported D3DMetal.
Wine downloads separately; compatibility components ship with the app. D3DMetal is proprietary, is not bundled, and requires a legally obtained local installation under its own terms. MagicWine is not affiliated with CodeWeavers, Apple, or the Wine project.
A bottle is not a security sandbox. Windows programs run with your macOS user's permissions. Only run software you trust, and review logs for personal paths before sharing them.
- Technical documentation: architecture, runtime lifecycle, graphics, compatibility patches, controllers, and debugging.
Sources/: Swift app, core library, CLI, and native gamepad bridge.patches/andscripts/: runtime patches, build recipes, and verification tools.- Run
./scripts/test.shfor Swift tests; Wine integration runners are inscripts/test-*.sh. - See CHANGELOG.md for research history and compatibility work.
MagicWine's current original source is MIT-licensed, except files with an explicit different license. Bundled components retain their own terms, including LGPL Wine code and the previously GPL-licensed XInput v1 binaries/source archive. See THIRD_PARTY_NOTICES.md for license boundaries and corresponding sources.
