summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Miess <Philip_Miess@yahoo.com>2017-10-15 13:06:14 -0400
committerPhilip Miess <Philip_Miess@yahoo.com>2017-10-15 13:06:14 -0400
commit1268b77e02c3b20e0fd4f3567fd0efd95ac1b431 (patch)
treef4a8a6dd5cd827baa899ada5f94792bb16c94f3a /games-strategy/revenge-of-the-titans/files
parentuse bundled jars (diff)
downloadsuperposition-1268b77e02c3b20e0fd4f3567fd0efd95ac1b431.tar.gz
superposition-1268b77e02c3b20e0fd4f3567fd0efd95ac1b431.tar.bz2
superposition-1268b77e02c3b20e0fd4f3567fd0efd95ac1b431.zip
patch distibuted script
Diffstat (limited to 'games-strategy/revenge-of-the-titans/files')
-rw-r--r--games-strategy/revenge-of-the-titans/files/2015122192-launcher.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/games-strategy/revenge-of-the-titans/files/2015122192-launcher.patch b/games-strategy/revenge-of-the-titans/files/2015122192-launcher.patch
new file mode 100644
index 0000000..82d0700
--- /dev/null
+++ b/games-strategy/revenge-of-the-titans/files/2015122192-launcher.patch
@@ -0,0 +1,52 @@
+--- revenge.sh 2017-10-15 12:45:29.557384954 -0400
++++ revenge.sh 2017-10-15 12:53:15.007346026 -0400
+@@ -7,46 +7,16 @@
+ SCRIPT="`basename \"$0\"`"
+ GAMEDIR="${HOME}/.revenge_of_the_titans"
+ LOGFILE="${GAMEDIR}/${SCRIPT}.log"
+-INSTDIR="`dirname \"$0\"`" ; cd "${INSTDIR}" ; INSTDIR="`pwd`"
+-
++INSTDIR="/opt/revenge-of-the-titans-201512192"
++cd "${INSTDIR}"
+ [[ ! -d "${GAMEDIR}" ]] && mkdir -m 0755 "${GAMEDIR}"
+
+-if [ 1 == 0 ]
+-then
+- # 32 bit only
+- JVM="./bin/java32"
+- BOOTCLASSPATH="./lib/rt32.jar"
+-
+-elif [ `uname -m` == "i686" ]
+-then
+- JVM="./bin/java32"
+- BOOTCLASSPATH="./lib/rt32.jar"
+-
+- # Decompress JVM on first run
+- if [ ! -d "bin" ]
+- then
+- ./7za_i386 x jvm.7z
+- chmod u+x bin/java32
+- rm -f 7za_* jvm.7z
+- fi
+-else
+- JVM="./bin/java64"
+- BOOTCLASSPATH="./lib/rt64.jar"
+-
+- # Decompress JVM on first run
+- if [ ! -d "bin" ]
+- then
+- ./7za_amd64 x jvm.7z
+- chmod u+x bin/java64
+- rm -f 7za_* jvm.7z
+- fi
+-fi
+
+ # XMODIFIERS is cleared here to prevent SCIM screwing up keyboard input
+ _JAVA_OPTIONS= XMODIFIERS= "java" \
+ -server \
+ -Djava.library.path="${INSTDIR}" \
+- -Dorg.lwjgl.librarypath="${INSTDIR}" \
++ -Dorg.lwjgl.librarypath="/usr/lib64/lwjgl-2.9" \
+ -Dorg.lwjgl.util.NoChecks=false \
+ -Djava.net.preferIPv4Stack=true \
+ -Dnet.puppygames.applet.Launcher.resources=resources-hib.dat \