commit db9b681e9b547479aff23d331b183e4ca0533f15 Author: Sean Hickey Date: Sun Aug 16 18:37:01 2020 -0700 Init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/lib/libcrypto.so.1.0.0 b/lib/libcrypto.so.1.0.0 new file mode 100644 index 0000000..cfaf55a Binary files /dev/null and b/lib/libcrypto.so.1.0.0 differ diff --git a/lib/libssl.so.1.0.0 b/lib/libssl.so.1.0.0 new file mode 100644 index 0000000..5fe5c66 Binary files /dev/null and b/lib/libssl.so.1.0.0 differ diff --git a/lib/libssl_1.0.0_32-bit.tar.gz b/lib/libssl_1.0.0_32-bit.tar.gz new file mode 100644 index 0000000..4277040 Binary files /dev/null and b/lib/libssl_1.0.0_32-bit.tar.gz differ diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..d6f8178 --- /dev/null +++ b/readme.md @@ -0,0 +1,21 @@ +# Undertale Linux Fixups + +Undertale is built with an old version of Game Maker that requires +manually downloading older libraries and pointing the game to it. + +Copy the `lib` dir into the `game` dir within the installed Undertale +directory. + + +Add this line to `start.sh` so use the manually downloaded libraries: +``` +export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH +``` + +Because of amdgpu graphics driver, replace the default runner line +with this: +``` +R600_DEBUG=check_vm ./runner +``` + +(a fixed-up `start.sh` is included in this dir) diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..bcc88c3 --- /dev/null +++ b/start.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# GOG.com (www.gog.com) +# Undertale + +# Initialization +CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd "${CURRENT_DIR}" +source support/gog_com.shlib + +# Game info +GAME_NAME="$(get_gameinfo 1)" +VERSION="$(get_gameinfo 2)" +VERSION_DEV="$(get_gameinfo 3)" + +# Actions +run_game() { + echo "Running ${GAME_NAME}" + cd game + export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH + R600_DEBUG=check_vm ./runner + #./"runner" +} + +default() { + run_game +} + +# Options +define_option "-s" "--start" "start ${GAME_NAME}" "run_game" "$@" + +# Defaults +standard_options "$@"