Install and run the Windows version of LatentGOLD 6.0 on a Mac device (Intel or Apple Silicon).
- link: https://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Make sure to read the installation logs on how to add the brew binary to the path, e.g.,
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofileNote. If the installation prompts you to install the Command Line Developer
Tools run xcode-select --install and try to reinstall homebrew again.
- link: https://www.winehq.org
Note.
-
The
wine-stableavailable viahomebrewwill not work because this version ofwineis not yet fully compatible with Apple Silicon devices. We use instead a custom version ofwineby folks fromCode Weavers. This version is calledwine-crossoverand is what is being used in theCrossOversoftware (i.e., https://www.codeweavers.com/crossover). -
the
homebrewformula for installingwine-crossoveris available on Github at https://github.com/Gcenx/homebrew-wine.
brew install --cask --no-quarantine gcenx/wine/wine-crossoverFrom the repository README.md:
This will install Wine Crossover into
/Applicationsand function as the official brew cask would. The--no-quarantineflag is required so brew skips the quarantine flag that causes Gatekeeper to believe Wine Crossover is broken.
Check that the installation succeeded: wine --version. And we can see the
installation location via which wine (i.e., /opt/homebrew/bin/wine).
- download links:
winecreates configuration environments that simulate a Windows installation. The default environment is located at~/.wine. This can be modified by runningwinecfg. If you have multiple environments, you can tellwinewhich environment to target via theWINEPREFIXvariable.
WINEPREFIX=~/.wine-new-environment winecfg- Install
LatentGOLD 6.0in the defaultwineenvironment.
wine /Users/mihai/Downloads/LG60setup.exe- On Windows, it is installed by default at
C:\Program Files\LatentGOLD6.0and can be started via thelg60.exebinary.
- If you navigate to
~/.wine/drive_cyou will notice that it follows the file structure of a typical Windows installation.
├── Program Files
│ └── ...
├── Program Files (x86)
│ └── ...
├── ProgramData
│ └── Microsoft
├── users
│ ├── Public
│ └── crossover
│ ├── ...
│ ├── Desktop -> /Users/mihai/Desktop
│ ├── Downloads -> /Users/mihai/Downloads
│ ├── My Documents -> /Users/mihai/Documents
│ ├── ...
└── windows
- We can tell
winewhere to find the installed binarylg60.exei.e., at~/.wine/drive_c/Program\ Files/LatentGOLD6.0/lg60.exe.
wine ~/.wine/drive_c/Program\ Files/LatentGOLD6.0/lg60.exe- Another way, is to tell wine to open an equivalent of the Windows Explorer and navigate to the installation location via the interface.
wine explorer.exe- We can add an alias to the command above to start
LatentGOLD 6.0more easily. To do that, we need to figure out what shell we use by running:
echo $SHELLIf the output is /bin/zsh then we need to edit the file ~/.zshrc. Else if
the output is /bin/bash then we need to edit the file ~/.bash_profile.
- Depending on which shell you use, run the following to add an alias
lgoldthat when used will invoke thewinecommand with the full path to theLatentGOLD 6.0binary:
For /bin/zsh:
echo "alias lgold='wine ~/.wine/drive_c/Program\ Files/LatentGOLD6.0/lg60.exe'" >> ~/.zshrcFor /bin/bash
echo "alias lgold='wine ~/.wine/drive_c/Program\ Files/LatentGOLD6.0/lg60.exe'" >> ~/.bash_profile- Quit and reopen the terminal or source the shell configuration file to load
the changes (i.e.,
source ~/.zshrcorsource ~/.bash_profile) and start the application by runninglgold.
-
We can also use the Shortcuts app to create a shortcut we can run from the Menu Bar.
-
We create a shortcut that runs the following command in the
Terminalapp:
/opt/homebrew/bin/wine ~/.wine/drive_c/Program\ Files/LatentGOLD6.0/lg60.exe- Remove
wine:
brew uninstall --cask wine-crossover
- Remove the
.wineenvironment:
rm -rf ~/.wine
- Remove the alias from
~/.zshrcor~/.bash_profile. - Delete the shortcut in Shortcuts app.