A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
1#!/bin/bash
2#
3# High Level Alchemy client launcher for macOS — double-click in Finder.
4#
5# First time, macOS may block it ("unidentified developer"): right-click the
6# file -> Open -> Open, just once. (Or in Terminal: xattr -d com.apple.quarantine run.command)
7#
8# Finder launches double-clicked scripts from your home folder, so we cd to the
9# script's own folder first to find the jar and ./config/server.properties next to it.
10cd "$(dirname "$0")" || exit 1
11
12JAR="hla-client.jar"
13
14if ! command -v java >/dev/null 2>&1; then
15 echo "Java isn't installed. Install Java 21+ (https://adoptium.net) and try again."
16 read -r -p "Press Return to close..."
17 exit 1
18fi
19if [ ! -f "$JAR" ]; then
20 echo "hla-client.jar not found next to this script."
21 read -r -p "Press Return to close..."
22 exit 1
23fi
24
25java -jar "$JAR" "$@"
26read -r -p "Client closed. Press Return to close this window..."