blob: 2f5f65b6bc55e44d1fcbe29c2e7d6d743fb1bf3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
#
# launcher for nxengine by carstene1ns 2014
#
# create jail folder
mkdir -p "$HOME"/.nxengine
# link data, if needed
if [ ! -L "$HOME"/.nxengine/data ]; then
ln -s -t "$HOME"/.nxengine /usr/share/nxengine/{Doukutsu.exe,data,font.ttf,nx,smalfont.bmp,sprites.sif,tilekey.dat}
fi
# change to game dir and launch
cd "$HOME"/.nxengine && exec ./nx "$@"
# eof
|