summarylogtreecommitdiffstats
path: root/ultratron.sh
blob: 1e01a214f4b6d31ed9e20e3a68d2596f636ea666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
#
# ultratron.sh
#
###############################################################################
cd "$(dirname $(realpath $0))"

JVM="/usr/bin/java"

# XMODIFIERS is cleared here to prevent SCIM screwing up keyboard input
_JAVA_OPTIONS= XMODIFIERS= "${JVM}" \
    -server \
    -Dorg.lwjgl.librarypath="/usr/share/lwjgl2/native/linux" \
    -Dorg.lwjgl.util.NoChecks=false \
    -Djava.net.preferIPv4Stack=true \
    -Dnet.puppygames.applet.Launcher.resources=resources-hib.dat \
    -Dnet.puppygames.applet.Game.gameResource=game.hib \
    -XX:MaxGCPauseMillis=3 \
    -XX:+TieredCompilation \
    -XX:Tier2CompileThreshold=70000 \
    -XX:+DoEscapeAnalysis \
    -Xms64m \
    -Xmx256m \
    -Xincgc \
    -cp Ultratron.jar:music.jar:fx-mono.jar:fx-stereo.jar:images.jar:gfx.jar:fonts.jar:data-hib.jar:common-cp-java6.jar:common.jar:spgl-lite.jar:lwjgl.jar:lwjgl_util.jar:gson.jar:jinput.jar:ogg.jar:gamecommerce.jar:steampuppy-public.jar:remote.jar \
    net.puppygames.applet.Launcher \
    "$@"

exit 0

#
# EOF
#
###############################################################################