Albion Online

Albion Online

Ver estatísticas:
Ricardo 16/mai./2018 às 9:32
[Linux] Client Loading Stuck at 1%
Client works fine, video intro + voice works fine, then...
I just qould quote: "when I start the game I get an "Albion Online Client" window with percent in the middle that stays forever at 1% - no crashing, no CPU loading no nothing, it just stands there at 1% forever."
Última edição por Ricardo; 16/mai./2018 às 9:33
Escrito originalmente por Alfa-Omega:
I am going to explain what is wrong with this game, and why is not working on several Linux distros, maybe this helps somebody and even the developers to fix this issue.

First of all sorry for my bad english, is not my native language and I do a lot of mistakes when I write large texts like this one.


Ok, let me try to explain why this game fails for a lot of people and why works for others.

The main problem is related with the libSDL2-2.0.so.0 library packed inside the game, this file is located here (inside the instalation folder):

Albion Online/game_x64/Albion-Online_Data/Plugins/x86_64/

Ok, this version of SDL is a wrong version, no matter in what distro you are running the game, the version packed has some missing functions that the game needs.

So... how it's possible that the game works in some distros?? when the game loads this version of SDL and it sees that has some missing functions the game try to load the system version of the SDL (normally located at /usr/lib64), and some Linux distributions, like Ubuntu 16, has the correct version, so the game works (or maybe not, because of the libsdnio library).

but wait, because the problem is even deeper, the SDL version packed inside the game has a dependency of the libsndio library, so if you don't have that library instaled in your system the game is going to crash, because the SDL version packed inside the game cannot meet this dependency, so, even if this SDL version is not used by the game because have missing functions it makes the game crash because cannot meet some of its dependencies.

So, to summarize, the game only works if your system meets this requirements:

-You have the libsndio library installed in your system

-You have the right version of SDL installed in your system


the only mission of the libsndio file is to make the game not crash because of the SDL library packed inside the game (none of the functions inside this library is used)


Here you can be in two situations:

1º- you DON't have the libsndio library: the game is going to crash after the albion launcher

2º- you have the the libsndio library but not the right SDL version: the game is going to get stuck at 1%


(in some distros the libsndio library is a little bit weird, in my distro, openSUSE, this library does not exist, at least I couldn't find it..)

One workaround to all of this (is the one I post before in the thread) is just to delete the SDL version packed inside the game and load the right version (Steam should load the correct version when you launch the game from steam), anyway here we got another problem and is that the albion launcher check all the files installed and if one is missing the launcher is going to download the file missing, so my workaround bypass the albion launcher to prevent that the launcher redownload again the bad SDL version.


----- HERE COMES THE FIX -----

(this fix allow you to use the Albion launcher)

Just two steps:

1- Get the libsndio library

2- Update the albion script to force the use of the steam SDL version



Explanation:

1- First download the "libsndio.so.6.1" file from here: https://nofile.io/f/hEMNfgyAQ09

You have to place this file inside /usr/lib64, you can do it like this from the folder where you got the libsndio.so.6.1 file (you need root permissions):

#cp libsndio.so.6.1 /usr/lib64/libsndio.so.6.1


2- Open the Albion folder, the location inside steam should be this:

~/.local/share/Steam/SteamApps/common/Albion\ Online/

But anyway you can open the folder through steam: Right click on albion game -> Properties -> Local Files -> Browse local files

once inside the albion folder, should be a script inside named "Albion-Online" open it with a text editor

you have to modify the last line of the script like this to force the use of the SDL version of steam:

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" "--no-sandbox" "$@" &


So the content of the whole script must be like this:

#!/bin/sh SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") export QT_QPA_PLATFORM_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/platforms" export QT_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/" 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" "--no-sandbox" "$@" &


Now save the file and launch the game from steam, the game should work fine now

NOTE: using this method makes the steam overlay doesn't work (at lesat for me), so I prefer to use the method I post before bypassing the albion launcher.

I think that's everything, I you have any question I'll try to answer you
< >
Exibindo comentários 1630 de 37
Pestis 18/mai./2018 às 3:13 
Hi guys, for those players who are using Linux distributions, please have a look at the minimum requirements, which are stated on the store page of the game:

Minimum:
OS: Ubuntu 14.04 - 16.04 LTS 64 bit or SteamOS (other distributions may work, but are not officially supported)
Processor: Intel/AMD CPU with SSE2
Memory: 4 GB RAM
Graphics: Graphics card with OpenGL 3.3 support or better
Network: Broadband Internet connection
Sound Card: SDL2: libsdl2-2.0-0


Ubuntu 14.04 - 16.04 LTS and SteamOS are the only supported distributions, and although other distributions may work, they are not supported. Making the game work on other distributions might require additional effort or workarounds so thanks to all Linux users who are sharing their knowledge here!
ufthakk 18/mai./2018 às 9:39 
whats needed to run the game on 18.04 ?
Pestis 18/mai./2018 às 9:53 
Escrito originalmente por ufthakk:
whats needed to run the game on 18.04 ?

The latest Ubuntu update (18) is currently not supported but developers are looking into fix. Official info about this issue will be posted in https://forum.albiononline.com/index.php/Thread/87600-May-8th-Ubuntu-18/
Raptor85 19/mai./2018 às 6:56 
The problem seems to be the launcher is forcing the incorrect version of libSDL2 to be used even if you specify a different one. Looking through my library every single other steam game I own that uses SDL2 on linux packages a 32 and 64 bit libSDL2 with the game except albion, you would probably lose 90% of your linux error reports if you packaged the correct library version with your download like everyone else does.
Raptor85 19/mai./2018 às 7:03 
Researching further it seems this is actually a known issue since Nov 2017 on your forums, though the "fix" listed on the forums does not work in steam due to requiring the launcher to play with steam account.
Skühll 19/mai./2018 às 10:37 
Thanks to Alfa-Omega on this forum.
I wrote a tutorial about fix( it's french sorry) but you only need to follow commands

https://kernelkartel.com/tutoriel-faire-fonctionner-le-client-linux-albion-online-sur-steam/
Raptor85 19/mai./2018 às 10:52 
doesn't work, I get the exact same problem as when i launch the game seperately outside steam, it comes up, loads ok, then says i need to purchase the game again for another $20 to continue.... bypassing the launcher seems to keep the steam login from working
Alfa-Omega 20/mai./2018 às 4:22 
Escrito originalmente por Raptor85:
The problem seems to be the launcher is forcing the incorrect version of libSDL2 to be used even if you specify a different one. Looking through my library every single other steam game I own that uses SDL2 on linux packages a 32 and 64 bit libSDL2 with the game except albion, you would probably lose 90% of your linux error reports if you packaged the correct library version with your download like everyone else does.

you are completely right, the game is packed with a wrong version of the SDL library, the problem is that the launcher always force to use that version (even if you change the file the launcher redownload the bad version and forced to use it)

well, now I am a little bit busy, I will expand this post later with all the info to fix this issue.

just to summarize, you can run the game even with the launcher (despite of the worng SDL version packed with the game), I will explain later.

Última edição por Alfa-Omega; 20/mai./2018 às 7:43
Ricardo 20/mai./2018 às 6:47 
I could confirm Alfa-Omega sollutions works for me :) Both for steam and non-steam version. Unfortunatley, steam version (started without launcher, with SDL sollution) looked like no-pre-paid, even I bought it from Steam. So I downloaded non-steam version and paid through PayPall.

Anyway, the game looks fantastic so far. Thank you AlfaOmega for your private time to help me. Maybe is woth to write to developers to fix this small, but very annoying thing.
O autor do tópico indicou esta mensagem como a resposta.
Alfa-Omega 20/mai./2018 às 9:05 
I am going to explain what is wrong with this game, and why is not working on several Linux distros, maybe this helps somebody and even the developers to fix this issue.

First of all sorry for my bad english, is not my native language and I do a lot of mistakes when I write large texts like this one.


Ok, let me try to explain why this game fails for a lot of people and why works for others.

The main problem is related with the libSDL2-2.0.so.0 library packed inside the game, this file is located here (inside the instalation folder):

Albion Online/game_x64/Albion-Online_Data/Plugins/x86_64/

Ok, this version of SDL is a wrong version, no matter in what distro you are running the game, the version packed has some missing functions that the game needs.

So... how it's possible that the game works in some distros?? when the game loads this version of SDL and it sees that has some missing functions the game try to load the system version of the SDL (normally located at /usr/lib64), and some Linux distributions, like Ubuntu 16, has the correct version, so the game works (or maybe not, because of the libsdnio library).

but wait, because the problem is even deeper, the SDL version packed inside the game has a dependency of the libsndio library, so if you don't have that library instaled in your system the game is going to crash, because the SDL version packed inside the game cannot meet this dependency, so, even if this SDL version is not used by the game because have missing functions it makes the game crash because cannot meet some of its dependencies.

So, to summarize, the game only works if your system meets this requirements:

-You have the libsndio library installed in your system

-You have the right version of SDL installed in your system


the only mission of the libsndio file is to make the game not crash because of the SDL library packed inside the game (none of the functions inside this library is used)


Here you can be in two situations:

1º- you DON't have the libsndio library: the game is going to crash after the albion launcher

2º- you have the the libsndio library but not the right SDL version: the game is going to get stuck at 1%


(in some distros the libsndio library is a little bit weird, in my distro, openSUSE, this library does not exist, at least I couldn't find it..)

One workaround to all of this (is the one I post before in the thread) is just to delete the SDL version packed inside the game and load the right version (Steam should load the correct version when you launch the game from steam), anyway here we got another problem and is that the albion launcher check all the files installed and if one is missing the launcher is going to download the file missing, so my workaround bypass the albion launcher to prevent that the launcher redownload again the bad SDL version.


----- HERE COMES THE FIX -----

(this fix allow you to use the Albion launcher)

Just two steps:

1- Get the libsndio library

2- Update the albion script to force the use of the steam SDL version



Explanation:

1- First download the "libsndio.so.6.1" file from here: https://nofile.io/f/hEMNfgyAQ09

You have to place this file inside /usr/lib64, you can do it like this from the folder where you got the libsndio.so.6.1 file (you need root permissions):

#cp libsndio.so.6.1 /usr/lib64/libsndio.so.6.1


2- Open the Albion folder, the location inside steam should be this:

~/.local/share/Steam/SteamApps/common/Albion\ Online/

But anyway you can open the folder through steam: Right click on albion game -> Properties -> Local Files -> Browse local files

once inside the albion folder, should be a script inside named "Albion-Online" open it with a text editor

you have to modify the last line of the script like this to force the use of the SDL version of steam:

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" "--no-sandbox" "$@" &


So the content of the whole script must be like this:

#!/bin/sh SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") export QT_QPA_PLATFORM_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/platforms" export QT_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/" 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" "--no-sandbox" "$@" &


Now save the file and launch the game from steam, the game should work fine now

NOTE: using this method makes the steam overlay doesn't work (at lesat for me), so I prefer to use the method I post before bypassing the albion launcher.

I think that's everything, I you have any question I'll try to answer you
Última edição por Alfa-Omega; 20/mai./2018 às 9:15
Kongha 20/mai./2018 às 11:30 
can confirm, dosent work in ubuntu 18.04
Arioch 21/mai./2018 às 4:48 
I was in contact with support. They couldn't help making my Ubuntu 18.04 Albion purchased in Steam to work. The patched standalone version does work in ubuntu, but I purchased my account in steam so I cannot use it there.

Solution: just got my refund back from Steam
Alfa-Omega 21/mai./2018 às 6:02 
Escrito originalmente por Kongha:
can confirm, dosent work in ubuntu 18.04

Escrito originalmente por Arioch:
I was in contact with support. They couldn't help making my Ubuntu 18.04 Albion purchased in Steam to work. The patched standalone version does work in ubuntu, but I purchased my account in steam so I cannot use it there.

Solution: just got my refund back from Steam

have you try the fix I posted before?

What's the error? Have you try to run the game from the terminal? Any terminal output?
Ricardo 24/mai./2018 às 2:00 
Escrito originalmente por Krogan:
Can i play on Linux Mint ? I want to know before i buy it.

Buy it, try it. If you have a problems, get refund.
Ricardo 25/mai./2018 às 12:38 
What I found, after a path update, my game cannot connect to the server. So I had delate entire game and download it again - now I forgot what I did to start it before :/ haha
What part of package is this libsdnio?
< >
Exibindo comentários 1630 de 37
Por página: 1530 50

Publicado em: 16/mai./2018 às 9:32
Mensagens: 35