[Tuto][Linux] Have a working game !

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • [Tuto][Linux] Have a working game !

      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 !

      This solution is working in 4 August 2017.

      What works :
      - ArchLinux : Like a charm
      - Debian 9.0 : Like a charm
      - Antergos : Launcher works, click on Play button crash
      - Fedora 26 : Like a charm
      - Manjaro : Like a charm
      - RHEL : Need test

      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 (NOT directories) except Albion-Online, launcher.log and version.txt in $HOME/albiononline/launcher. You should have this :


      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 :

      Quellcode

      1. # pacman -S steam

      Fedora :

      Quellcode

      1. # dnf install steam

      Debian : (you need non-free repository)

      Quellcode

      1. # apt-get install steam

      Gentoo :
      Follow this

      5/ You need some more dependencies :

      ArchLinux / Manjaro / Antergos :

      Quellcode

      1. # pacman -S qt5-webengine

      Fedora :

      Quellcode

      1. # dnf-install qt5-qtwebengine

      Debian :

      Quellcode

      1. # apt-get install libqt5webengine5 libqt5webenginewidgets5

      Others :
      Use your packages manager to install qt5-webengine if needed.

      6/ 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

      7/ 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. # Clean the directory
      14. for file in $(ls -l launcher/ | grep -v "Albion-Online" | grep -v "launcher.log" | grep -v "version.txt")
      15. do
      16. if [ -f launcher/${file} ]
      17. then
      18. echo "Removing launcher/${file}"
      19. rm launcher/${file}
      20. fi
      21. done
      22. 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"
      Alles anzeigen

      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. # Clean the directory
      14. for file in $(ls -l launcher/ | grep -v "Albion-Online" | grep -v "launcher.log" | grep -v "version.txt")
      15. do
      16. if [ -f launcher/${file} ]
      17. then
      18. echo "Removing launcher/${file}"
      19. rm launcher/${file}
      20. fi
      21. done
      22. LD_PRELOAD=~/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 "$SCRIPTPATH/launcher/Albion-Online"
      Alles anzeigen

      8/ Launch the script and enjoy :)

      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

      Dieser Beitrag wurde bereits 32 mal editiert, zuletzt von Nibel ()

    • Ok I update the script, I find lines wich do the black screen in prefs file

      Quellcode

      1. <pref name="Screenmanager Is Fullscreen mode" type="int">1</pref>
      2. <pref name="Screenmanager Resolution Height" type="int">1080</pref>
      3. <pref name="Screenmanager Resolution Width" type="int">1920</pref>

      With the sed commande, I just delete these 3 lines before launching the game. No black screen, no need to accept EULA and enter login/password everytime.

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von Nibel ()

    • This does not work for me. The error is that the launcher tries to draw Qt Widgets of invalid size, regardless if I use my system's Qt or the one shipped by SBI.

      Quellcode

      1. QWidget::setMinimumSize: (MainDialog/MainDialog) Negative sizes (-2040109440,-2040109440) are not possible
      2. QWidget::setMinimumSize: (/QMessageBox) Negative sizes (-2147483648,-492131631) are not possible
      3. QWidget::setMinimumSize: (/QMessageBox) Negative sizes (-2147483648,-492131631) are not possible
      4. QXcbConnection: XCB error: 2 (BadValue), sequence: 489, resource id: 0, major code: 1 (CreateWindow), minor code: 0
      5. QXcbConnection: XCB error: 3 (BadWindow), sequence: 490, resource id: 148897800, major code: 2 (ChangeWindowAttributes), minor code: 0
      6. QXcbConnection: XCB error: 3 (BadWindow), sequence: 491, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      7. QXcbConnection: XCB error: 3 (BadWindow), sequence: 492, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      8. QXcbConnection: XCB error: 3 (BadWindow), sequence: 493, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      9. QXcbConnection: XCB error: 3 (BadWindow), sequence: 495, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      10. QXcbConnection: XCB error: 3 (BadWindow), sequence: 496, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      11. QXcbConnection: XCB error: 3 (BadWindow), sequence: 497, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      12. QXcbConnection: XCB error: 3 (BadWindow), sequence: 501, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      13. QXcbConnection: XCB error: 3 (BadWindow), sequence: 505, resource id: 148897800, major code: 2 (ChangeWindowAttributes), minor code: 0
      14. QXcbConnection: XCB error: 3 (BadWindow), sequence: 506, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      15. QXcbConnection: XCB error: 3 (BadWindow), sequence: 509, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      16. QXcbConnection: XCB error: 3 (BadWindow), sequence: 510, resource id: 148897800, major code: 20 (GetProperty), minor code: 0
      17. QXcbConnection: XCB error: 3 (BadWindow), sequence: 514, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      18. QXcbConnection: XCB error: 3 (BadWindow), sequence: 515, resource id: 148897800, major code: 19 (DeleteProperty), minor code: 0
      19. QXcbConnection: XCB error: 3 (BadWindow), sequence: 518, resource id: 148897800, major code: 18 (ChangeProperty), minor code: 0
      20. QXcbConnection: XCB error: 3 (BadWindow), sequence: 521, resource id: 148897800, major code: 19 (DeleteProperty), minor code: 0
      21. QXcbConnection: XCB error: 2 (BadValue), sequence: 523, resource id: 0, major code: 1 (CreateWindow), minor code: 0
      22. QXcbConnection: XCB error: 3 (BadWindow), sequence: 524, resource id: 148897804, major code: 2 (ChangeWindowAttributes), minor code: 0
      23. QXcbConnection: XCB error: 3 (BadWindow), sequence: 525, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      24. QXcbConnection: XCB error: 3 (BadWindow), sequence: 526, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      25. QXcbConnection: XCB error: 3 (BadWindow), sequence: 527, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      26. QXcbConnection: XCB error: 3 (BadWindow), sequence: 529, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      27. QXcbConnection: XCB error: 3 (BadWindow), sequence: 530, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      28. QXcbConnection: XCB error: 3 (BadWindow), sequence: 531, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      29. QXcbConnection: XCB error: 3 (BadWindow), sequence: 532, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      30. QXcbConnection: XCB error: 3 (BadWindow), sequence: 536, resource id: 148897804, major code: 2 (ChangeWindowAttributes), minor code: 0
      31. QXcbConnection: XCB error: 3 (BadWindow), sequence: 537, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      32. QXcbConnection: XCB error: 3 (BadWindow), sequence: 540, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      33. QXcbConnection: XCB error: 3 (BadWindow), sequence: 541, resource id: 148897804, major code: 20 (GetProperty), minor code: 0
      34. QXcbConnection: XCB error: 3 (BadWindow), sequence: 545, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      35. QXcbConnection: XCB error: 3 (BadWindow), sequence: 546, resource id: 148897804, major code: 19 (DeleteProperty), minor code: 0
      36. QXcbConnection: XCB error: 3 (BadWindow), sequence: 549, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      37. QXcbConnection: XCB error: 3 (BadWindow), sequence: 552, resource id: 148897804, major code: 19 (DeleteProperty), minor code: 0
      38. QXcbConnection: XCB error: 3 (BadWindow), sequence: 554, resource id: 148897804, major code: 18 (ChangeProperty), minor code: 0
      39. QWidget::setMinimumSize: (/QMessageBox) Negative sizes (-2147483648,-492131631) are not possible
      40. QWidget::setMinimumSize: (/QMessageBox) Negative sizes (-2147483648,-492131631) are not possible
      Alles anzeigen


      This looks suspiciously like someone bad at Qt going all-in on static widget sizes in frustration after failing to understand size policies.
    • Quellcode

      1. local/kcoreaddons 5.34.0-1 (kf5)
      2. Addons to QtCore
      3. local/kitemmodels 5.34.0-1 (kf5)
      4. Models for Qt Model/View system
      5. local/octopi 0.8.8-1
      6. A powerful Pacman frontend using Qt5 libs
      7. local/polkit-qt5 0.112.0+git20160226-1
      8. A library that allows developers to access PolicyKit API with a nice Qt-style API
      9. local/poppler-qt5 0.55.0-3
      10. Poppler Qt5 bindings
      11. local/pyqt4-common 4.12-4
      12. Common PyQt files shared between python-pyqt4 and python2-pyqt4
      13. local/pyqt5-common 5.8.2-2
      14. Common PyQt files shared between python-pyqt5 and python2-pyqt5
      15. local/python-pyqt5 5.8.2-2
      16. A set of Python 3.x bindings for the Qt5 toolkit
      17. local/python2-pyqt4 4.12-4
      18. A set of Python 2.x bindings for the Qt toolkit
      19. local/qscintilla-qt5 2.10-1
      20. A port to Qt5 of Neil Hodgson's Scintilla C++ editor class
      21. local/qt4 4.8.7-20
      22. A cross-platform application and UI framework
      23. local/qt5-base 5.8.0-12 (qt qt5)
      24. A cross-platform application and UI framework
      25. local/qt5-declarative 5.8.0-2 (qt qt5)
      26. Classes for QML and JavaScript languages
      27. local/qt5-location 5.8.0-1 (qt qt5)
      28. Provides access to position, satellite and area monitoring classes
      29. local/qt5-styleplugins 5.0.0-3
      30. Additional style plugins for Qt5
      31. local/qt5-svg 5.8.0-1 (qt qt5)
      32. Classes for displaying the contents of SVG files
      33. local/qt5-tools 5.8.0-1 (qt qt5)
      34. A cross-platform application and UI framework (Development Tools, QtHelp)
      35. local/qt5-webchannel 5.8.0-1 (qt qt5)
      36. Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients
      37. local/qt5-webengine 5.8.0-9 (qt qt5)
      38. Provides support for web applications using the Chromium browser project
      39. local/qt5-x11extras 5.8.0-1 (qt qt5)
      40. Provides platform-specific APIs for X11
      41. local/qt5-xmlpatterns 5.8.0-1 (qt qt5)
      42. Support for XPath, XQuery, XSLT and XML schema validation
      43. local/qt5ct 0.33-1
      44. Qt5 Configuration Utility
      Alles anzeigen
      Otherwise, do you have multiple monitors ?

      No.

      Or do you play on laptop with Bumblebee solution ?
      No.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Lansdale ()

    • If you use ArchLinux (not ArchLinux based distro like Manjaro or Antergos), update your system, qt5 libraries are in 5.9.0 version at the moment and you use 5.8.0 (pacman -Syyu to be sure refresh the database).

      Otherwise, I got some more librairies than you, you can try pacman -S qt5-script qt5-webkit qt5-multimedia qt5-graphicaleffects and try again to launch your game and gimme the output. useless

      If not works, check if the path is correct, it'll be /usr/lib/qt, check if it's exist.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Nibel ()

    • The qt5 minor should not matter, the qt5 distributed by SBI is even older.

      Quellcode

      1. % strings ~/albiononline/launcher/libQt5Core.so.5|grep "This is the"
      2. This is the QtCore library version Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.9.1 20140922 (Red Hat 4.9.1-10))
      3. %

      The linker also resolves the libraries in /usr/lib/qt.

      Quellcode

      1. % ldd ~/albiononline/launcher/Albion-Online | grep libQt
      2. libQt5WebEngine.so.5 => /usr/lib/libQt5WebEngine.so.5 (0x00007f6b23646000)
      3. libQt5WebEngineWidgets.so.5 => /usr/lib/libQt5WebEngineWidgets.so.5 (0x00007f6b23407000)
      4. libQt5WebEngineCore.so.5 => /usr/lib/libQt5WebEngineCore.so.5 (0x00007f6b1d7c7000)
      5. libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f6b1cf78000)
      6. libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f6b1c819000)
      7. libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0x00007f6b1c49a000)
      8. libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f6b1bdb0000)
      9. libQt5Quick.so.5 => /usr/lib/libQt5Quick.so.5 (0x00007f6b1a3c7000)
      10. libQt5WebChannel.so.5 => /usr/lib/libQt5WebChannel.so.5 (0x00007f6b1a1a9000)
      11. libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0x00007f6b19ba5000)
      12. libQt5PrintSupport.so.5 => /usr/lib/libQt5PrintSupport.so.5 (0x00007f6b19936000)
      13. libQt5QuickWidgets.so.5 => /usr/lib/libQt5QuickWidgets.so.5 (0x00007f6b19724000)
      14. libQt5Positioning.so.5 => /usr/lib/libQt5Positioning.so.5 (0x00007f6b194e4000)
      15. %
      Alles anzeigen

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Lansdale ()

    • Ok ive been struggling with this issue for a few weeks now,

      And finally followed the steps by Nibel's and had the same issues as Lansdale then i pacman -Syyu and my qt upgraded from 5.8 -> 5.9 then ran the script and boom launcher appeared for the first time ever. I am now downloading the game files while looking at a working launcher.

      Thank you to everyone involved in fixing this @Nibel, @bloodrool, @C4mpO and @Lansdale for helping discover that i needed to update my qt libs to 5.9.
    • Nishayume schrieb:

      oh thanks for all that contribute to Arch Linux fixes!! Its works.! Now like two week i cant play albion.. :S but thanks to users can play.
      Devs dont leave the job u need to do to users thanks
      Hiya, ArchLinux is not supported so devs cannot fix issues related to this distributions. However, we've got a few workarounds which may solve some problems: Known technical issues and workarounds There's also a patched linux client which should help in case you have launcher issues. Cheers!