editor/g3dviewr startscripts which handle parameters / version number
This commit is contained in:
parent
c4a9f61842
commit
c5809e50b5
|
@ -14,8 +14,6 @@ else
|
||||||
GAMEDIR="`dirname $0`"
|
GAMEDIR="`dirname $0`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change to the game dir, and go!
|
|
||||||
cd $GAMEDIR
|
|
||||||
# export game library directory
|
# export game library directory
|
||||||
test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}"
|
test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}"
|
||||||
|
|
||||||
|
@ -29,10 +27,10 @@ else
|
||||||
|
|
||||||
hasopenal=`ldconfig -p | grep -m 1 "libopenal.so.1" | cut "-d>" -f2 | cut "-d " -f2`
|
hasopenal=`ldconfig -p | grep -m 1 "libopenal.so.1" | cut "-d>" -f2 | cut "-d " -f2`
|
||||||
if [ -n "$hasopenal" ]; then
|
if [ -n "$hasopenal" ]; then
|
||||||
ln -f -s $hasopenal lib/libopenal.so.0
|
ln -f -s $hasopenal $GAMEDIR/lib/libopenal.so.0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./bin/glest_editor
|
$GAMEDIR/bin/glest_editor "$1"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,9 @@ else
|
||||||
GAMEDIR="`dirname $0`"
|
GAMEDIR="`dirname $0`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change to the game dir, and go!
|
|
||||||
cd $GAMEDIR
|
|
||||||
# export game library directory
|
# export game library directory
|
||||||
test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}"
|
test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}"
|
||||||
|
|
||||||
./bin/glest_g3dviewer
|
echo $*>$GAMEDIR/test.log
|
||||||
|
$GAMEDIR/bin/glest_g3dviewer "$1"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ using namespace Shared::Util;
|
||||||
namespace Glest{ namespace Game{
|
namespace Glest{ namespace Game{
|
||||||
|
|
||||||
const string mailString= "contact_game@glest.org";
|
const string mailString= "contact_game@glest.org";
|
||||||
const string glestVersionString= "v3.3.1";
|
const string glestVersionString= "v3.3.2-dev";
|
||||||
|
|
||||||
string getCrashDumpFileName(){
|
string getCrashDumpFileName(){
|
||||||
return "glest"+glestVersionString+".dmp";
|
return "glest"+glestVersionString+".dmp";
|
||||||
|
|
Loading…
Reference in New Issue