main
Sean Hickey 2020-08-16 18:37:01 -07:00
commit db9b681e9b
6 changed files with 54 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

BIN
lib/libcrypto.so.1.0.0 Normal file

Binary file not shown.

BIN
lib/libssl.so.1.0.0 Normal file

Binary file not shown.

Binary file not shown.

21
readme.md Normal file
View File

@ -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)

32
start.sh Executable file
View File

@ -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 "$@"