-
Notifications
You must be signed in to change notification settings - Fork 130
OCTGN on non Windows systems
With 3.1+ versions of OCTGN, it's possible to run it on non-Windows systems using Wine, Winetricks, and native dotnet.
The install only takes a few minutes if you are a bit familiar with the command line.
This page will try to help you through it step by step but some parts might be different for your distro.
Linux:
wine 1.5.5+ (download here)
winetricks svn826+ (comes bundled with wine)
Mac OSX 10.5.3+:
wine 1.5.29+
winetricks svn826+
(both are available via MacPorts, Fink, or Brew. Preferably not Brew.)
XCode is likely a requirement, as well, since most packages will have to be built.
Linux:
Follow the guide on the wine website on how to download the wine 1.5 beta.
MacPorts:
sudo port install wine-devel winetricks
After install:
Do not install mono.
Make sure you set it up as a 32 bit prefix:
WINEARCH=win32 winecfg
Optionally (preferrably), put it in its own prefix:
WINEARCH=win32 WINEPREFIX=~/.wine-octgn winecfg
Set up dependencies:
WINEPREFIX=~/.wine-octgn winetricks -q vcrun2010 dotnet40
Go to http://www.octgn.net and download the latest version. Run the install with wine from the terminal:
WINEPREFIX=~/.wine-octgn wine OCTGN-SETUP-VERSION-STRING.exe
When that completes you should be able to start octgn:
WINEPREFIX=~/.wine-octgn wine ~/OCTGN/OCTGN/OCTGN.exe
If it starts go to options and disable hardware acceleration for a much smoother operation of the program.
- Wine's implementation of WPF doesn't play well with multiple monitors. Use virtual desktop instead.
WINEPREFIX=~/.wine-octgn wine explorer /desktop=octgn,1440x900 ~/OCTGN/OCTGN/OCTGN.exe
Or make it permanent by setting it in winecfg.
- Unusable/blank interfaces on first-run can also be mitigated by using virtual desktop so you can disable acceleration once you're in.
Worst case scenario: Create (not edit; existing file has different changes) a bare config file with acceleration disabled.
~/OCTGN/Config/settings.xml
<Dictionary name="Root" type="System.Collections.Hashtable, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<Items>
<Item>
<Simple type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" value="UseHardwareRendering" />
<Simple type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" value="False" />
</Item>
</Items>
</Dictionary>
- Having mono installed in the same prefix will break things. If you did install it, uninstall with
wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'
before installing dotnet40. If you've already installed dotnet40, you can add --force to reinstall it:
WINEPREFIX=~/.wine-octgn winetricks --force dotnet40
Or just wipe the prefix and start over:
rm -rf ~/.wine-octgn
At the moment only games hosted from the server work. (Needs testing; unsure if still true)
You might have to install a file called gacutil.exe and its config file to the winetricks cache to get .net to work property. I will include this link at a later point.(But google is your friend here).
Deprecated. Wine 1.5.5+ and Winetricks svn826+ fixes this.