crossover mac (gpl版)
M1/M1Pro/M1Max mac で Windowsアプリを動かす
本家Wineやその他(PlayOnMacとか)でも良いのですが、crossoverを使ってみたかったので、
buildしようと思ったら既にtapを用意されていたので、使わせて貰いました.
how to install
% brew install --cask --no-quarantine gcenx/wine/wine-crossover
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 6 formulae.
==> Updated Casks
Updated 13 casks.
==> Caveats
wine-crossover supports both 32-bit and 64-bit now. It is compatible with your
existing 32-bit wine prefix, but it will now default to 64-bit when you
create a new wine prefix. The architecture can be selected using the
WINEARCH environment variable which can be set to either win32 or
win64.
To create a new pure 32-bit prefix, you can run:
$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
See the Wine FAQ for details: https://wiki.winehq.org/FAQ#Wineprefixes
To enable noflicker set the following registry key in your prefix:
[HKCU\Software\Wine\Mac Driver]
"ForceOpenGLBackingStore"="y"
==> Downloading https://github.com/Gcenx/homebrew-wine/releases/download/21.0.0/wine-crossover-21.0.0-osx64.tar.xz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/240977125/7f41abf5-8b67-4895-b7d2-6b37700
######################################################################## 100.0%
==> Installing dependencies: xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.2.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:fcda3e81efe284f7e07effcb4ba03a87c8d828833351ac3f41e1e808e7753b0a
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:fcda3e81efe284f7e07effcb4ba03a87c8d828833351ac3f41e1e8
######################################################################## 100.0%
==> Installing xz
==> Pouring xz--5.2.5.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.2.5: 95 files, 1.4MB
==> Installing Cask wine-crossover
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Moving App 'Wine Crossover.app' to '/Applications/Wine Crossover.app'
==> Linking Binary 'appdb' to '/opt/homebrew/bin/appdb'
==> Linking Binary 'winehelp' to '/opt/homebrew/bin/winehelp'
==> Linking Binary 'msiexec' to '/opt/homebrew/bin/msiexec'
==> Linking Binary 'notepad' to '/opt/homebrew/bin/notepad'
==> Linking Binary 'regedit' to '/opt/homebrew/bin/regedit'
==> Linking Binary 'regsvr32' to '/opt/homebrew/bin/regsvr32'
==> Linking Binary 'wine64' to '/opt/homebrew/bin/wine64'
==> Linking Binary 'wineboot' to '/opt/homebrew/bin/wineboot'
==> Linking Binary 'winecfg' to '/opt/homebrew/bin/winecfg'
==> Linking Binary 'wineconsole' to '/opt/homebrew/bin/wineconsole'
==> Linking Binary 'winedbg' to '/opt/homebrew/bin/winedbg'
==> Linking Binary 'winefile' to '/opt/homebrew/bin/winefile'
==> Linking Binary 'winemine' to '/opt/homebrew/bin/winemine'
==> Linking Binary 'winepath' to '/opt/homebrew/bin/winepath'
==> Linking Binary 'wineserver' to '/opt/homebrew/bin/wineserver'
==> Linking Binary 'wine' to '/opt/homebrew/bin/wine'
==> Linking Binary 'wine32on64' to '/opt/homebrew/bin/wine32on64'
🍺 wine-crossover was successfully installed!
OpenGLの設定
% /opt/homebrew/bin/regedit
% brew install --cask --no-quarantine gcenx/wine/wine-crossover
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 6 formulae.
==> Updated Casks
Updated 13 casks.
==> Caveats
wine-crossover supports both 32-bit and 64-bit now. It is compatible with your
existing 32-bit wine prefix, but it will now default to 64-bit when you
create a new wine prefix. The architecture can be selected using the
WINEARCH environment variable which can be set to either win32 or
win64.
To create a new pure 32-bit prefix, you can run:
$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
See the Wine FAQ for details: https://wiki.winehq.org/FAQ#Wineprefixes
To enable noflicker set the following registry key in your prefix:
[HKCU\Software\Wine\Mac Driver]
"ForceOpenGLBackingStore"="y"
==> Downloading https://github.com/Gcenx/homebrew-wine/releases/download/21.0.0/wine-crossover-21.0.0-osx64.tar.xz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/240977125/7f41abf5-8b67-4895-b7d2-6b37700
######################################################################## 100.0%
==> Installing dependencies: xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.2.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:fcda3e81efe284f7e07effcb4ba03a87c8d828833351ac3f41e1e808e7753b0a
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:fcda3e81efe284f7e07effcb4ba03a87c8d828833351ac3f41e1e8
######################################################################## 100.0%
==> Installing xz
==> Pouring xz--5.2.5.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.2.5: 95 files, 1.4MB
==> Installing Cask wine-crossover
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Moving App 'Wine Crossover.app' to '/Applications/Wine Crossover.app'
==> Linking Binary 'appdb' to '/opt/homebrew/bin/appdb'
==> Linking Binary 'winehelp' to '/opt/homebrew/bin/winehelp'
==> Linking Binary 'msiexec' to '/opt/homebrew/bin/msiexec'
==> Linking Binary 'notepad' to '/opt/homebrew/bin/notepad'
==> Linking Binary 'regedit' to '/opt/homebrew/bin/regedit'
==> Linking Binary 'regsvr32' to '/opt/homebrew/bin/regsvr32'
==> Linking Binary 'wine64' to '/opt/homebrew/bin/wine64'
==> Linking Binary 'wineboot' to '/opt/homebrew/bin/wineboot'
==> Linking Binary 'winecfg' to '/opt/homebrew/bin/winecfg'
==> Linking Binary 'wineconsole' to '/opt/homebrew/bin/wineconsole'
==> Linking Binary 'winedbg' to '/opt/homebrew/bin/winedbg'
==> Linking Binary 'winefile' to '/opt/homebrew/bin/winefile'
==> Linking Binary 'winemine' to '/opt/homebrew/bin/winemine'
==> Linking Binary 'winepath' to '/opt/homebrew/bin/winepath'
==> Linking Binary 'wineserver' to '/opt/homebrew/bin/wineserver'
==> Linking Binary 'wine' to '/opt/homebrew/bin/wine'
==> Linking Binary 'wine32on64' to '/opt/homebrew/bin/wine32on64'
🍺 wine-crossover was successfully installed!
% /opt/homebrew/bin/regedit
で、
[HKCU\Software\Wine\Mac Driver]
"ForceOpenGLBackingStore"="y"
まず、
- CURRENT USER以下のSoftware/Wine以下に、キーMac Driverを作ります
- Mac Driverのキー以下に、文字列で、ForceOpenGLBackingStoreのキーに、yを値として設定します。
fontの設定
https://mattintosh.hatenablog.com/entry/2013/03/13/191715
参照
Win appの立ち上げ方
% /opt/homebrew/bin/notepad
% /opt/homebrew/bin/notepad
のような感じ.
Gatekeeperが、未signedのアプリの実行を阻害するので、適宜対処のこと.
Author And Source
この問題について(crossover mac (gpl版)), 我々は、より多くの情報をここで見つけました https://qiita.com/hidenorly/items/32de74f6d4db6c1af0a2著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .