summarylogtreecommitdiffstats
path: root/pokemonrevolution
blob: 4105fd137028138e017d46219545393a362c64c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
## helper script to run PRO.
GAMEDIR="GAMEDIRNAMESETBYPKGBUILD"
GAMEBINARY="GAMEBINARYNAMESETBYPKGBUILD"

## enforce opengl to workaround a bug that makes the game start in direct3d mode on linux -> "-force-opengl"
OPTIONS="-force-opengl"

echo -e "--> \"${GAMEDIR}/${GAMEBINARY}\" ${OPTIONS} ${@}"
echo -e "..."

## to workaround an error that the game can't find some importtant files on some systems, we cd to the game root first
cd "${GAMEDIR}"

## start the game!
"${GAMEDIR}/${GAMEBINARY}" ${OPTIONS} ${@}

exit