The New Completely Unsupported AO-on-Linux/Mac How To
In case people haven't already figured this all out yet: this is basically what I've pieced together to get AO running in Wine and seems to work on Mac and Linux all collected in one place. Wine should only be built as a 32-Bit binary, regardless of whether you are on a 32- or 64-bit Linux or Mac OS X. Thus, all dependencies must be built as 32-bit as well. Do not attempt to configure and build 64-Bit Wine, even if you are on a 64-bit machine.
As of this writing, AO still doesn't work in the newly released Crossover 10.0 and as far as I know, no Linux distribution will automatically install a version of Wine that will run AO using just a package manager.
1) Choose which Wine version you want to install: Stable 1.2.3 or Developmental 1.3.xx and download it and build the dependencies or install them all via a package manager. If you are on a 64-bit machine and your package manager installs 64-bit binaries, you will need some way to install 32-bit versions of all the dependencies, whether it means creating a separate tree using the package manager or downloading and compiling all the dependencies yourself.
2) "Fix" the Wine source code to run AO.
2a) For Wine 1.2.3:
Apply the patches:
http://bugs.winehq.org/attachment.cgi?id=32705 (RawInputDevices)
2b) for Wine 1.3.xx
Apply the patch:
http://bugs.winehq.org/attachment.cgi?id=33905 (RawInputDevices)
3) Build and install Wine. (Go make a sandwich, troll forums, etc...)
4) Use "wine notepad" to create a fresh WINEPREFIX with a correct drive map. (not sure why, but this seems like the best way to create a WINEPREFIX)
5) use "winecfg" and open the Sound tab to configure the audio drivers.
6) Download winetricks from http://www.kegel.com/wine/winetricks and use winetricks to install the following using winetricks:
Code:
vcrun2005 (or vcrun2008 -- needed for AO)
ie6 (may be optional, but might enable patching***)
corefonts (and optionally fontfix)
vcrun6 (if you plan on using ClickSaver)
dotnet20 (if you plan on using AOIS, Vha.Chat, etc...)
7) Install/copy/or otherwise get your Anarchy Online installation onto this system somehow, and fire it up with:
Code:
cd "/path/to/Funcom/Anarchy Online"
wine Anarchy.exe
On Wine 1.3.x, if your screen is black and only updates when you drag other windows in front of your AO client window, then use winetricks and add the following registry tweak:
AO should not crash at start-up. Mouse-look and mouse-steer should work. Opening and using the new AO Item Store should not crash AO or wine. Long and complicated. I know. But everything seems to work.
*** In my experience, AO does not patch correctly and has problems writing preferences if your AO directory is on a FAT-32 partition. Things work right if everything is on a native partition.