Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've downloaded the .deb file of Revenge of the Titans, and installed it using Ubuntu Software Center.

Now, when I try to launch it using the software launcher nothing happens. Any ideas?

The .deb file was downloaded from the Humble Indie Bundle.

I am unable to launch it from the terminal ( the command revenge-of-the-titans says command not found ).

I also tried the .tar.gz. When I extract it and run ./revenge.sh , nothing happens. No output on the terminal or anything at all.

I have set chmod 777 revenge.sh as well.

The command /opt/revengeofthetitans/revenge.sh does not give any output.

If I run gedit /opt/revengeofthetitans/revenge.sh in the terminal:

> #!/bin/bash
> #
> # revenge.sh
> #
> ###############################################################################
> 
> SCRIPT="`basename $0`"
> GAMEDIR="${HOME}/.revenge_of_the_titans_1.80" LOGFILE="${GAMEDIR}/${SCRIPT}.log"
> INSTDIR="`dirname $0`" ; cd
> "${INSTDIR}" ; INSTDIR="`pwd`"
> 
> [[ ! -d "${GAMEDIR}" ]] && mkdir -m
> 0755 "${GAMEDIR}"
> 
> JARPATH="patch.jar:RevengeOfTheTitans.jar:data-hib.jar:gfx.jar:fonts.jar:images.jar:music.jar:fx-mono.jar:fx-stereo.jar:gamecommerce.jar:common.jar:spgl-lite.jar:lwjgl.jar:lwjgl_util.jar:jorbis.jar:jinput.jar"
> 
> # XMODIFIERS is cleared here to prevent SCIM screwing up keyboard
> input XMODIFIERS= java \
>     -noverify \
>     -Djava.library.path="${INSTDIR}" \
>     -Dorg.lwjgl.util.NoChecks=true \
>     -Dorg.lwjgl.librarypath="${INSTDIR}" \
>     -Dnet.puppygames.applet.Launcher.resources=/resources-hib.dat
> \
>     -Dnet.puppygames.applet.Game.gameResource=game.hib
> \
>     -XX:MaxGCPauseMillis=3 \
>     -Xms64m \
>     -Xmx375m \
>     -Xincgc \
>     -cp "${JARPATH}" \
>     net.puppygames.applet.Launcher \
>     "$@" \
>     >"${LOGFILE}" 2>&1
> 
> exit 0
> 
> #
> # EOF
> #
> ###############################################################################
share|improve this question
    
please edit your question with the link to this "deb". Also, what happens when you launch the software from a terminal session - any errors displayed? –  fossfreedom Apr 29 '11 at 20:15
    
Please add the output uf the command ''/opt/revengeofthetitans/revenge.sh'' –  sBlatt Apr 29 '11 at 20:22
    
what is the name of the deb file? I just downloaded and installed RevengeOfTheTitans-HIB-1811-i386.deb, I think they do update the links on the humble page, as the last file I downloaded did not have 1811 in the name... maybe try downloading again. Also check cat ~/.revenge_of_the_titans_1.80/revenge.sh.log –  sBlatt Apr 29 '11 at 20:34
    
@sBlatt Filename is RevengeOfTheTitans-HIB-1811-i386.deb –  Akash Apr 29 '11 at 20:35
    
@fossfreedom @sBlatt Have updated the original post accordingly –  Akash Apr 29 '11 at 20:35

1 Answer 1

up vote 2 down vote accepted

Problem solved:

Reinstalling openJDK from the Ubuntu software center fixed it

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.