How do I install Revenge of the Titans?
Posted
by
Akash
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Akash
Published on 2011-04-29T20:01:19Z
Indexed on
2011/06/21
16:31 UTC
Read the original article
Hit count: 436
10.10
|ubuntu-netbook
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
> #
> ###############################################################################
© Ask Ubuntu or respective owner