Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Revenge of the Titans stopped working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 771
Location: Germany

PostPosted: Sat Sep 08, 2012 6:52 am    Post subject: Revenge of the Titans stopped working Reply with quote

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
View user's profile Send private message
roravun
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2012
Posts: 82

PostPosted: Sat Sep 08, 2012 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 771
Location: Germany

PostPosted: Sun Sep 09, 2012 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
roravun
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2012
Posts: 82

PostPosted: Sun Sep 09, 2012 9:32 pm    Post subject: Reply with quote

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 :P

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum