[Tuto][Linux] Have a working game !

    • Nibel wrote:

      Well seems strange...

      Can you link the output when you launch Albion please ?
      lod:/usr/local/albiononline% ./Albion-Online
      lod:/usr/local/albiononline% Found path: /usr/local/albiononline/game_x64/Albion-Online
      Mono path[0] = '/usr/local/albiononline/game_x64/Albion-Online_Data/Managed'
      Mono path[1] = '/usr/local/albiononline/game_x64/Albion-Online_Data/Mono'
      Mono config path = '/usr/local/albiononline/game_x64/Albion-Online_Data/Mono/etc'
      Preloaded 'ScreenSelector.so'
      Preloaded 'libAkSoundEngine.so'
      Unable to preload the following plugins:
      libSDL2-2.0.so.0
      Player data archive not found at `/usr/local/albiononline/game_x64/Albion-Online_Data/data.unity3d`, using local filesystem

      The above is in my terminal window. If I wait a few minutes I get an ABRT error email which says:

      reason: Albion-Online killed by SIGABRTcmdline: /usr/local/albiononline/staging_x64/Albion-Online +r 1920x1200 +windowed +noshadows +q High +lang EN-US +server stagingserver.albiononline.com:5055executable: /usr/local/albiononline/staging_x64/Albion-Onlinepid: 25543pwd: /usr/local/albiononlinehostname: lodcount: 18abrt_version: 2.1.11analyzer: CCpparchitecture: x86_64event_log: global_pid: 25543kernel: 3.10.0-327.10.1.el7.x86_64last_occurrence: 1499100755os_release: Red Hat Enterprise Linux Server release 7.3 (Maipo)runlevel: N 5time: Wed 28 Jun 2017 09:15:20 AM EDTtype: CCppuid: 2337username: uuid: 9a4e884f11010f94f954da354ce5eb184fc42939I am manually launching the game but the ABRT email seems to think I am launching the stagingversion.
    • Nibel wrote:

      Well, can you link me the outpuf of this command please :
      ldd /usr/local/albiononline/game_x64/Albion-Online_Data/Plugins/x86_64/libSDL2-2.0.so.0
      linux-vdso.so.1 => (0x00007ffff0a8a000)
      libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f8947322000)
      libm.so.6 => /usr/lib64/libm.so.6 (0x00007f8947020000)
      libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f8946e1b000)
      libpulse.so.0 => /usr/lib64/libpulse.so.0 (0x00007f8946bce000)
      libsndio.so.6.1 => not found
      libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f894688f000)
      libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f894667d000)
      libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f8946472000)
      libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f894626e000)
      libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f894605e000)
      libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f8945e54000)
      libXss.so.1 => /usr/lib64/libXss.so.1 (0x00007f8945c4f000)
      libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f8945a49000)
      libwayland-egl.so.1 => not found
      libwayland-client.so.0 => not found
      libwayland-cursor.so.0 => not found
      libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007f8945809000)
      libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f89455ec000)
      librt.so.1 => /usr/lib64/librt.so.1 (0x00007f89453e4000)
      libc.so.6 => /usr/lib64/libc.so.6 (0x00007f8945023000)
      /lib64/ld-linux-x86-64.so.2 (0x00007f894796d000)
      libjson-c.so.2 => /usr/lib64/libjson-c.so.2 (0x00007f8944e17000)
      libpulsecommon-6.0.so => /usr/lib64/pulseaudio/libpulsecommon-6.0.so (0x00007f8944b9e000)
      libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f8944956000)
      libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007f8944750000)
      libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f894452e000)
      libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f8944324000)
      libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f894411d000)
      libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f8943f1b000)
      libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f8943cfe000)
      libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f8943af6000)
      libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007f89438f0000)
      libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007f89438c7000)
      libwrap.so.0 => /usr/lib64/libwrap.so.0 (0x00007f89436bc000)
      libsndfile.so.1 => /usr/lib64/libsndfile.so.1 (0x00007f894345d000)
      libasyncns.so.0 => /usr/lib64/libasyncns.so.0 (0x00007f8943256000)
      libattr.so.1 => /usr/lib64/libattr.so.1 (0x00007f8943051000)
      libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f8942e4d000)
      libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007f8942c47000)
      libselinux.so.1 => /usr/lib64/libselinux.so.1 (0x00007f8942a20000)
      liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f89427f9000)
      libgcrypt.so.11 => /usr/lib64/libgcrypt.so.11 (0x00007f8942578000)
      libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f8942373000)
      libresolv.so.2 => /usr/lib64/libresolv.so.2 (0x00007f8942158000)
      libdw.so.1 => /usr/lib64/libdw.so.1 (0x00007f8941f10000)
      libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f8941cfa000)
      libnsl.so.1 => /usr/lib64/libnsl.so.1 (0x00007f8941ae0000)
      libgsm.so.1 => /usr/lib64/libgsm.so.1 (0x00007f89418d4000)
      libFLAC.so.8 => /usr/lib64/libFLAC.so.8 (0x00007f894168f000)
      libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007f89411bf000)
      libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f8940f91000)
      libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f8940d8a000)
      libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f8940b28000)
      libelf.so.1 => /usr/lib64/libelf.so.1 (0x00007f8940910000)
      libz.so.1 => /usr/lib64/libz.so.1 (0x00007f89406fa000)
      libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f89404e9000)
    • Nibel wrote:

      Source Code

      1. libsndio.so.6.1 => not found
      2. libwayland-egl.so.1 => not found
      3. libwayland-client.so.0 => not found
      4. libwayland-cursor.so.0 => not found
      You miss some dependencies. You need sndio and wayland.
      Yeah I saw that, but as I said previously, the game worked fine (except for the no sound issue) until the day I tried to use the "staging" server. The staging server never worked and when I tried to go back to the Live version of the game I am getting the same results.

      I also just ran another test. I uninstalled the game and I even created a brand new home directory. I logged in with my new home and then I re-installed the game. Something updated because the launcher is now black instead of white, but I also get the same result. After I click "Play" using the Live server, the launcher goes away, the screen pops up like the game is loading, and then it crashes. Complaining about libSDL2-2.0.so.0. I then wait a few minutes and like clockwork, I get the ABRT email in my inbox. And once again the abrt message is saying it is trying to load the staging version of the game, which I AM NOT trying to do.

      reason: Albion-Online killed by SIGABRTcmdline: /usr/local/albiononline/staging_x64/Albion-Online +r 1920x1200 +windowed +noshadows +q High +lang EN-US +server stagingserver.albiononline.com:5055executable: /usr/local/albiononline/staging_x64/Albion-Online

      Something seriously broke with Hector.. this game worked great on Red Hat until this update.
    • Anarquista wrote:

      new client starts but hangs... cant do anything, click anything and need to kill -9 the process... anyone else?
      Similar thing here on Debian. Yesterday I was playing without issues, today I had to update the luncher and everything is broken... yet again.

      I cannot even start the launcher anymore, it just gets hung, on the console I got certs error

      Source Code

      1. [0705/210517:ERROR:nss_util.cc(839)] After loading Root Certs, loaded==false: NSS error code: -8018

      Why in the earth they need to perform this kind of updates, which break all compatibility ....

      This game is starting to seem like a waste of my time.
    • Interesting thread. I have been following and tried it with no luck. I am using Antergos.

      When I follow the instructions to delete files and run the script, I get missing files.

      If I do a fresh install and run Albion, I see the launcher and it freezes.

      I'm closer to getting it working from scratch then using the workaround in the OP.

      Thank you for everyone who is contributing to this!
    • Nibel wrote:

      Since developpers don't care about Linux support, especially ArchLinux, I do this post to help each others to make their game works.

      This tuto is working for ArchLinux, Manjaro, Antergos, Fedora, Debian, Gentoo and maybe more...

      NO UBUNTU AND STEAMOS SUPPORT HERE !

      1/ Download the Linux Client from :
      albiononline.com/en/download

      2/ Launch the Albion installer and let's it finish the job.

      3/ Delete all files except Albion-Online, launcher.log and version.txt in $HOME/albiononline/launcher.

      4/ If you don't have it, Install and launch Steam one time, if you got Steam and ever launch it, pass this.

      ArchLinux / Manjaro / Antergos :

      Source Code

      1. # pacman -S steam
      Fedora :

      Source Code

      1. # dnf install steam
      Debian : (you need non-free repository)

      Source Code

      1. # apt-get install steam
      Gentoo :
      Follow this

      4.5/ Debian users only other users can pass this. You need some more dependencies :

      Source Code

      1. # apt-get install libqt5webengine5 libqt5webenginewidgets5
      5/ Install sndio :

      ArchLinux / Manjaro / Antergos :
      Install sndio from AUR

      Others :
      Check if sndio exist in your repositories or maybe compile it or use flatpak solution

      sndio.org/install.html

      6/ Copy the following script and make it executable :

      ArchLinux / Antergos / Manjaro / Fedora / Gentoo :

      Shell-Script

      1. #!/bin/sh
      2. SCRIPT=$(readlink -f "$0")
      3. SCRIPTPATH=$(dirname "$SCRIPT")
      4. export LD_LIBRARY_PATH=/usr/lib
      5. #export LD_LIBRARY_PATH="$SCRIPTPATH/launcher"
      6. export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins/platforms
      7. #export QT_QPA_PLATFORM_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/platforms"
      8. export QT_PLUGIN_PATH=/usr/lib/qt/plugins
      9. #export QT_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/"
      10. sed -i -e '/Screenmanager Is Fullscreen mode/d' "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"
      11. sed -i -e '/Screenmanager Resolution Height/d' "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"
      12. sed -i -e '/Screenmanager Resolution Width/d' "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"
      13. LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 "$SCRIPTPATH/launcher/Albion-Online"
      Display All
      Debian :

      Shell-Script

      1. #!/bin/sh
      2. SCRIPT=$(readlink -f "$0")
      3. SCRIPTPATH=$(dirname "$SCRIPT")
      4. export LD_LIBRARY_PATH=/usr/lib
      5. #export LD_LIBRARY_PATH="$SCRIPTPATH/launcher"
      6. export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins/platforms
      7. #export QT_QPA_PLATFORM_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/platforms"
      8. export QT_PLUGIN_PATH=/usr/lib/qt/plugins
      9. #export QT_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/"
      10. sed -i -e '/Screenmanager Is Fullscreen mode/d' "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"
      11. sed -i -e '/Screenmanager Resolution Height/d' "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"
      12. sed -i -e '/Screenmanager Resolution Width/d' "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"
      13. LD_PRELOAD=~/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 "$SCRIPTPATH/launcher/Albion-Online"
      Display All
      7/ Launch the script and enjoy :)

      This solution is working in 6 July 2017.

      Known issues :
      - EULA appears at every startup and login/password needed to type everytime : it's a consequence about rm -rf "$HOME/.config/unity3d/Sandbox Interactive GmbH" but without it, game stall with black screen. Fix 18/06/2017 with sed command.
      - Windows and fullscreen resolution are not saved : it's a consequence about sed command to bypass the blackscreen. No solution atm, you need to play in fullscreen with the native resolution or change it manually at every launch.
      - [ArchLinux] If you follow all steps and launcher is not working, try to update your system (pacman -Syyu), it seems not works with qt 5.8, you need qt 5.9.

      Thanks :
      - bloodrool for the base script and the first black screen solution
      - C4mpO for the no-sound solution
      Huge thanks to you for helping everyone with these Arch issues. Can you please update the script for bumblebee, im not sure where to put the command in.

      Thanks!
    • Hi guys. Found this topic in google while trying solve my problem
      I had issue on Ubuntu 17.04, after one of the latest patches. Game just wont to start:

      libpng warning: iCCP: known incorrect sRGB profile
      ATTENTION: default value of option force_s3tc_enable overridden by environment.
      Found path: /home/ackiybolt/albiononline/game_x64/Albion-Online
      Mono path[0] = '/home/ackiybolt/albiononline/game_x64/Albion-Online_Data/Managed'
      Mono path[1] = '/home/ackiybolt/albiononline/game_x64/Albion-Online_Data/Mono'
      Mono config path = '/home/ackiybolt/albiononline/game_x64/Albion-Online_Data/Mono/etc'
      Preloaded 'ScreenSelector.so'
      Unable to preload the following plugins:
      libAkSoundEngine.so
      libSDL2-2.0.so.0
      Player data archive not found at `/home/ackiybolt/albiononline/game_x64/Albion-Online_Data/data.unity3d`, using local filesystem
      Unable to preload the following plugins:
      Unable: command not found

      Solved by manual installing libsdl2-2.0-0. I hope it will help someone

      apd: found topic about libsdl2 with solution. mods, kill this post pls

      The post was edited 1 time, last by AckiyBolt ().