Init
commit
db9b681e9b
|
@ -0,0 +1 @@
|
||||||
|
*~
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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)
|
|
@ -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 "$@"
|
Loading…
Reference in New Issue