[Tutorial] How to run an AION client on Linux

Results 1 to 3 of 3
  1. #1
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    cool [Tutorial] How to run an AION client on Linux

    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.

    Last edited by StingerOne; 26-06-22 at 05:27 PM.


  2. #2
    Apprentice yuliyam is offline
    MemberRank
    Jun 2022 Join Date
    5Posts

    Re: [Tutorial] How to run an AION client on Linux

    I think this ones correct. my knowledge of the dll is low but ty it works))

    https://docs.microsoft.com/en-us/win...fyversioninfoa
    https://docs.microsoft.com/en-us/win...api-getversion

  3. #3
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: [Tutorial] How to run an AION client on Linux

    Quote Originally Posted by yuliyam View Post
    I think this ones correct. my knowledge of the dll is low but ty it works))

    https://docs.microsoft.com/en-us/win...fyversioninfoa
    https://docs.microsoft.com/en-us/win...api-getversion
    Yeah, one can assume it's a problem with the .dll not providing a valid version for API functions, in this case it is a connection API function. I guess wines compatibility layer doesn't report a valid version unless you specify the version.dll to run as native where a valid version info is found. Simple fix when you know how. glad it's working for you now.
    Last edited by StingerOne; 20-06-22 at 02:52 AM.



Advertisement