Skip to content

Instantly share code, notes, and snippets.

@samuellinde
Last active August 18, 2024 21:47
Show Gist options
  • Select an option

  • Save samuellinde/fa0a05be2391d9fb80a53905fcd04105 to your computer and use it in GitHub Desktop.

Select an option

Save samuellinde/fa0a05be2391d9fb80a53905fcd04105 to your computer and use it in GitHub Desktop.
Install OCTGN on a Mac and get it running via Wine

Disclosure: These instructions are provided as-is. I don't take any responsibility for things that might go wrong (though the worst thing that could happen should be that OCTGN just won't run). I don't have time to support you if things don't work, unfortunately. But hopefully you'll get OCTGN running without needing to use a virtual machine like Parallels or VirtualBox.

Statements like these are commands to be run in the terminal. You should be fine just copying and pasting, just don't miss any characters.

  1. Download OCTGN: http://octgn.net/Home/GetOctgn
  2. Launch Terminal.app
  3. Install Homebrew (a package manager for OS X) /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  4. Install git brew install git
  5. If asked to install Command Line Tools, klick yes. Else xcode-select --install
  6. Install XQuarts brew cask install xquartz
  7. Install wine brew install --devel wine
  8. Install winetricks brew install winetricks
  9. Configure wine. WINEARCH=win32 WINEPREFIX=~/.wine-octgn winecfg Do not install Mono! Set windows version to 8 in the configuration window.
  10. Install OCTGN dependencies WINEPREFIX=~/.wine-octgn winetricks -q vcrun2010 dotnet45
  11. Re-configure wine, set windows version to 8. WINEARCH=win32 WINEPREFIX=~/.wine-octgn winecfg
  12. Install OCTGN (fingers crossed) WINEPREFIX=~/.wine-octgn wine PATH-TO-OCTGN-INSTALL.exe (NOTE: Replace PATH-TO-OCTGN-INSTALL.exe with the full path to your downloaded OCTGN installer). Choose yes on following prompts. Make sure "Run OCTGN" is selected. If you see flickering artifacts, just close the application – it should be fine when you run it next time.
  13. Launch OCTGN with WINEPREFIX=~/.wine-octgn wine ~/Documents/OCTGN/OCTGN/OCTGN.exe. This is how you launch OCTGN from now on, but I've created a small applescript that you can download here that makes it easier to launch: http://goo.gl/oo2iRI. Download and unzip, and double-click. If you followed the instructions it should launch OCTGN.
@masahamse
Copy link

Five years have passed since the last report. I tried to run OCTGN on my Mac but failed with the following error:
System.ComponentModel.Win32Exception: mono-io-layer-error (44338304)
Is anyone else still running OCTGN with wine on MacOs and has a clue for me?

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