Overview
In this tutorial we'll be taking a look at how we can run an Aion client on linux. This should hopefully work for any version of aion online except ofcourse the newest versions that require the newer game guard protection. If you can run it locally through a bat file on windows, it should work on linux. We will utilize a windows compatibility layer known as wine and the accompanied winetricks config editor to edit some settings.
Here are the sections and what they cover:
- Installing wine and winetricks
- Creating a 32 bit wine prefix
- Editing wine settings to allow the client to run
- Running the client
Installing wine & winetricks
In most linux distributions there should be wine-staging and winetricks packages, you can install them via apt, pacman, yum etc.
If not, look at https://wiki.winehq.org/Building_Wine for great documentation on compiling wine from source.
Creating a 32 bit wine prefix
Run winetricks and select create new prefix. set the architecture to 32 bit and let it do its thing.
You should now have a wine prefix in ~/.local/share/wineprefixe/<your prefix name>
Editing wine settings to allow the client to run
Run winetricks, select your wine prefix and select winecfg. click on the libraries tab, search for version.dll and add it as a native first then built-in second dll
This is a major step that should fix the client preventing itself from opening a socket to the game server after it receives the server list from the login server.
I still am not 100% sure why this works, I assume some client functions require the native use of version.dll or the compatibility layer doesn't believe it's a valid version using wines built in version.dll
You will also need to install d3dx9 through winetricks, you can select it in the list of windows dlls or run winetricks d3dx9 specifying the architecture and prefix location. This should fix the crazy graphics on the login screen and help the game run smoother.
Running the client
Now is the fun part, running the client. This can be done with the command below, substituting runaion with your batch file name. You may be shown a GDI32 error when the splash finishes loading, click Ok and the execution will continue.
NOTICE: If you are using the windows 10 mouse fix, the mouse fix won't work when running the client this way on linux, removing the -win10mousefix argument from the batch file before running is recommended. If you don't wish to remove the argument, this might cause some unexpected behavior such as your mouse not being visible.
Code:WINEARCH=win32 WINEPREFIX="/home/<username>/.local/share/wineprefixes/<prefix name>" wine runaion.bat
If everything is working correctly, your client should boot right up :)
If your client doesn't run or connect, please provide your system info such as architecture and what distribution you are running, I can try replicate it.



Reply With Quote![[Tutorial] How to run an AION client on Linux](http://ragezone.com/hyper728.png)

glad it's working for you now. 
