garretreichenbach / New-StarMade-Launcher

7 stars 5 forks source link

Linux cant start #17

Open AraAurora opened 2 weeks ago

AraAurora commented 2 weeks ago

Clone the Repo (duh) run https://github.com/garretreichenbach/New-StarMade-Launcher.git, or Clone https://github.com/garretreichenbach/New-StarMade-Launcher in GitHub Desktop

I understand DL linux launcher and source code tar gz - done Alternatively you can beta-download in steam??

Package the project run gradlew package in the root directory of the project. This will create an executable in ./release-builds//StarMade Launcher/ Note: The package task will only package for your specific platform. Additionally, some platforms may require additional setup to package for.

BUILD SUCCESSFUL in 647ms 1 actionable task: 1 executed

$ /home/fairydream/.steam/steam/steamapps/common/StarMade/release-builds/linux/StarMade-Launcher/StarMade-Launcher $ /home/fairydream/.steam/steam/steamapps/common/StarMade/release-builds/linux/StarMade-Launcher/StarMade-dedicated-server-linux.sh Please run the StarMade launcher at least once before starting a server. The launcher will create the necessary folders and files for the server to run. $

No output for Launcher No Window not even for server

AraAurora commented 2 weeks ago

~/.steam/debian-installation/steamapps/common/StarMade/New-StarMade-Launcher-3.1.4/src/main/java/smlauncher$ java StarMadeLauncher Fehler: Hauptklasse StarMadeLauncher konnte nicht gefunden oder geladen werden Ursache: java.lang.ClassNotFoundException: StarMadeLauncher

garretreichenbach commented 2 weeks ago

I see you are attempting to build the launcher from source, and it seems it isn't building the executable correctly on your computer. Have you tried downloading the Linux executable provided here? Alternatively, you can download the new launcher through steam and selecting the V3 Launcher option in Launch Settings.

For the server bit - the server launch script will not run as it seems the Launcher is not being built correctly on your computer (see above).

Another Note: If you're trying to run a Universe Update server, I would caution against this. The current Universe Update build is unstable and unsuitable for survival severs. The survival functionality is not yet complete, and the server list doesn't even work correctly, so you can't see servers. I would instead recommend running a server using the old method and the latest Release Branch build.

AraAurora commented 2 weeks ago

https://github.com/garretreichenbach/New-StarMade-Launcher/releases These on top.

fairydream@fairydream-HP-Laptop-15s-eq2xxx:~$ /home/fairydream/.steam/steam/steamapps/common/StarMade/starmade-launcher /home/fairydream/.steam/steam/steamapps/common/StarMade/starmade-launcher: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

DL over steam and tried almost everything I could imagine.

garretreichenbach commented 2 weeks ago

What Linux distro are you using? I tested on Zorin OS, Arch, and just plain Ubuntu, but it seems I somehow missed something...

AraAurora commented 2 weeks ago

I also tried it with the windows option and proton experimental and got no description on the starter window. The starter launcher window in linux is too small to copy the error message

The steam problem is that no launcher is found even if in the right directory.

EDIT: with QT4-Wine it doesnt work either.

And I am using Kubuntu (similar to ubuntu) just another desktop environment and distro repro.

BTW ty for the quick response.

AraAurora commented 2 weeks ago

Die Datei /home/fairydream/.steam/steam/steamapps/common/StarMade/release-builds/linux/StarMade-Launcher/StarMade-Launcher lässt sich nicht zum Lesen öffnen Its now a folder so Ark did complain because it expects the launcher inside the bin directory within that one and the launcher has no .sh such has the same name as the folder I was creating.

AraAurora commented 1 week ago

I can now launch the launcher and it DL (every time) Java 8 and Java 18 and then displays the News.

Below I can choose update which works fine, except that it requires it every time and launch displays no window.