Skip to content

Instantly share code, notes, and snippets.

@doole
Last active September 20, 2024 08:51
Show Gist options
  • Save doole/063319903a09bfd4954872d73652d0a2 to your computer and use it in GitHub Desktop.
Save doole/063319903a09bfd4954872d73652d0a2 to your computer and use it in GitHub Desktop.
Use win32 binaries on macOS 10.15/11.0

macOS wine 32/64-bit Setup

Run 32-bit apps on macOS Catalina (10.15) and Big Sur (11.0).

Installation

Dependencies

First install homebrew brew.sh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

wine-crossover

Install via homebrew formula.

brew tap gcenx/wine
brew install --cask --no-quarantine wine-crossover

Run win32 binaries

Initial setup for win32

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

Run any supported app

List of supported app can be found on AppDB.

cd path/to/file
WINEARCH=win32 WINEPREFIX=~/.wine32 wine APP.exe

Run regular (64-bit) binaries

Default WINEPREFIX is ~/.wine.

Initial setup

winecfg

Run any supported app

List of supported app can be found on AppDB.

cd path/to/file
wine APP.exe
@qianwch
Copy link

qianwch commented Nov 16, 2022

In ventera, win32 prefix could not be created.

@doole
Copy link
Author

doole commented Nov 23, 2022

I didn't upgraded yet to macOS Ventura. Thanks for info @qianwch, I'll check it after the upgrade.

@ilake
Copy link

ilake commented Jan 5, 2023

It works, thank you very much 🙇

@Jacke
Copy link

Jacke commented Jan 12, 2023

Ventura:

❯ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
wine: WINEARCH set to win32 but '/Users/stan/.wine32' is a 64-bit installation.

@doole
Copy link
Author

doole commented Jan 12, 2023

So, I guess win32 prefix is no longer supported...

$ brew install --cask --no-quarantine gcenx/wine/wine-crossover
==> Caveats
wine-crossover supports running 32-bit & 64-bit windows binaries.

wine-crossover does not support creating a 32-bit wine prefix.

To enable noflicker set the following registry key in your prefix:
[HKCU\Software\Wine\Mac Driver]
"ForceOpenGLBackingStore"="y"

[...]

🍺  wine-crossover was successfully installed!

@Jacke
Copy link

Jacke commented Jan 12, 2023

@doole what we can do about it? Currently, I’m using VMware, but I wanted to make wine works. It’s silly for Apple to just do everything to break compatibility by pushing useless Rosetta on their M1 chips

@doole
Copy link
Author

doole commented Jan 14, 2023

@Jacke maybe CrossOver support it

@benjavalero
Copy link

Ventura:

❯ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
wine: WINEARCH set to win32 but '/Users/stan/.wine32' is a 64-bit installation.

Same behaviour from Monterey.

@Adrian22497
Copy link

thank you🤗

@eidan66
Copy link

eidan66 commented Jul 27, 2024

So, I guess win32 prefix is no longer supported...

$ brew install --cask --no-quarantine gcenx/wine/wine-crossover
==> Caveats
wine-crossover supports running 32-bit & 64-bit windows binaries.

wine-crossover does not support creating a 32-bit wine prefix.

To enable noflicker set the following registry key in your prefix:
[HKCU\Software\Wine\Mac Driver]
"ForceOpenGLBackingStore"="y"

[...]

🍺  wine-crossover was successfully installed!

Same problem here, Are any solutions available? :-(

@ioma8
Copy link

ioma8 commented Sep 20, 2024

I have the same problem. Worked fine for me few months back, but now the win32 arch is not runnable on my MacOs M1 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment