Games in Progress: 3 | Players logged in: 3 | Players Registered: 37413 | Games Played Total: 68649
Print Page - [Linux] Game doesn't launch after "INFO: Launching game"

Planet M.U.L.E.

Planet Mule 1 => Bugs 1.3.x => Topic started by: Soldier Ant on August 30, 2019, 15:49



Title: [Linux] Game doesn't launch after "INFO: Launching game"
Post by: Soldier Ant on August 30, 2019, 15:49
I downloaded the game today and got the ELFCLASS32 error as described in http://vsingleton.blogspot.com/2012/03/wrong-elf-class-elfclass32-possible.html (http://vsingleton.blogspot.com/2012/03/wrong-elf-class-elfclass32-possible.html). I followed the instruction and got the error

./mule.sh: 11: ./mule.sh: /bin/java: not found

I ran "whereis java" and got

java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz

So I simply added the line "JP=/usr/bin/java" to mule.sh. Now running ./mule.sh works up to when I see the message "INFO: Launching game" after which of course the game doesn't launch. What should I do next?

------------------------------------------------

Output of "./mule.sh" below:

Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: Arguments: nohup /usr/bin/java -Xms64m -Xmx256m -Djava.library.path=lib -jar ./data.jar
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: Classpath: ./launcher.jar
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: Java VM: 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: Java Runtime: 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: OS: Linux 4.15.0-58-generic amd64
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: Sun Arch: 64
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.DynamicUpdater isNewBuildNumber
INFO: this build number: 1.3.6
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Updater isNewerBuildNumberOnServer
INFO: About to download http://www.planetmule.com/updater/build.txt
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Updater isNewerBuildNumberOnServer
INFO: Could not download build number due to java.lang.NoSuchFieldError: preferIPv6Address
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.DynamicUpdater isNewBuildNumber
INFO: Build number not newer on server
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.NativeFileSelector run
INFO: Renaming native 64 bit files
Aug 30, 2019 5:56:34 PM com.turborilla.mule.launcher.Launcher run
INFO: Launching game

My modified mule.sh file below:

#!/bin/sh
cd data
export LD_LIBRARY_PATH=.:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
if [ -f /usr/lib/jvm/java-6-sun/bin/java ]; then
   JP=/usr/lib/jvm/java-6-sun/bin/java
elif [ -n $JAVA_HOME ]; then
   JP=$JAVA_HOME/bin/java
else
   JP=java
fi
JP=/usr/bin/java
$JP -jar ./launcher.jar nohup $JP -Xms64m -Xmx256m -Djava.library.path=lib -jar ./data.jar


Title: Re: [Linux] Game doesn't launch after "INFO: Launching game"
Post by: Soldier Ant on August 31, 2019, 01:03
For now I worked around this by running the Vista version with Wine. Seems to be working fine for now.