View previous topic :: View next topic |
Author |
Message |
Clad in Sky l33t
Joined: 04 May 2007 Posts: 887 Location: Germany
|
Posted: Sat Sep 08, 2012 6:52 am Post subject: Revenge of the Titans stopped working |
|
|
Some time ago I bought the Humble Indie Bundle that contained Revenge of the Titans. It ran on my laptop until recently, but I don't know what's the issue. Running the start script from a shell doesn't yield any output. It won't run as user nor as admin.
On my desktop, which is running the same versions of icedtea (probably relevant since RotT is a java programme), it still runs.
The only thing I did on the laptop around the time the game stopped running was adding another user and making a new kernel. However, it's not working when I start the old kernel, so that probably isn't the problem. Couldn't imagine what the kernel has to do with it, anyway.
Does anyone have the same issues or know how I could find out, where the problem lies? _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
roravun Tux's lil' helper
Joined: 05 Sep 2012 Posts: 82
|
Posted: Sat Sep 08, 2012 8:01 pm Post subject: |
|
|
You may want to post the content of the start script, unless you have already examined it.
I believe we have a shortage of linux wizards who can telepathically debug scripts |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 887 Location: Germany
|
Posted: Sun Sep 09, 2012 10:23 am Post subject: |
|
|
While true, I thought anyone who offers their help has the game themselves and thus the start script .
Here it is:
Code: |
#!/bin/bash
#
# revenge.sh
#
###############################################################################
SCRIPT="`basename $0`"
GAMEDIR="${HOME}/.Revenge of the Titans 1.72"
LOGFILE="${GAMEDIR}/${SCRIPT}.log"
INSTDIR="`dirname $0`" ; cd "${INSTDIR}" ; INSTDIR="`pwd`"
if [ $# -ne 0 ]; then
echo "Usage: ${SCRIPT}"
exit 1
fi
[[ ! -d "${GAMEDIR}" ]] && mkdir -m 0755 "${GAMEDIR}"
JARPATH="RevengeOfTheTitans.jar:gfx.jar:sound.jar:gamecommerce.jar:common.jar:spgl-lite.jar:lwjgl.jar:lwjgl_util.jar:jorbis.jar:jinput.jar"
java \
-noverify \
-Djava.library.path="${INSTDIR}" \
-Dorg.lwjgl.util.NoChecks=true \
-XX:MaxGCPauseMillis=3 \
-Xms256m \
-Xmx375m \
-Xincgc \
-XX:+UseAdaptiveSizePolicy \
-cp "${JARPATH}" \
net.puppygames.applet.Launcher \
>"${LOGFILE}" 2>&1
exit 0
#
# EOF
#
###############################################################################
|
The issue is probably related to the new kernel, even though I dismissed that thought.
When I start up the new kernel, the game runs. Probably a graphics issue (old kernel uses Intel integrated graphics, new one nvidia graphics - I guess when compiling the new one something related to the intel drivers might have been messed up). _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
roravun Tux's lil' helper
Joined: 05 Sep 2012 Posts: 82
|
Posted: Sun Sep 09, 2012 9:32 pm Post subject: |
|
|
I see that java command has its output redirected to the logfile, both stdout and stderr, have you checked that? That would explain lack of output
Assuming you indeed have checked it:
The script is just a wrapper so I don't see where it could go wrong.
Have you looked at dmesg, if there are any segfaults? But you would see SIGSEGV, unless you disabled printing it...
So that leaves us with the kernel, as you didnt changed anything except it. You could compile your new kernel with intel GPU support, to possibly rule out hardware lead.
Also try to run 'java' with some debugging options. |
|
Back to top |
|
|
|