A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
1#!/usr/bin/env bash
2#
3# High Level Alchemy client launcher — Linux / macOS (terminal).
4# macOS users double-clicking in Finder: use run.command instead.
5#
6# Just run it: ./run.sh
7# Custom args: ./run.sh <args...> (Game.main ignores args; everything comes
8# from ./config/server.properties)
9set -euo pipefail
10
11DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
12cd "$DIR" || exit 1 # so the client finds ./config/server.properties beside the jar
13JAR="$DIR/hla-client.jar"
14
15if ! command -v java >/dev/null 2>&1; then
16 echo "Java isn't installed. Install Java 21+ (https://adoptium.net) and try again."
17 exit 1
18fi
19if [ ! -f "$JAR" ]; then
20 echo "hla-client.jar not found next to this script."
21 exit 1
22fi
23
24exec java -jar "$JAR" "$@"