Import OA 0.8.8 tree
This commit is contained in:
27
linux_scripts/supermake
Executable file
27
linux_scripts/supermake
Executable file
@@ -0,0 +1,27 @@
|
||||
|
||||
#Tip: You can create a supermake.local file and this script will get the variable from there!
|
||||
BINNAME=openarena
|
||||
MODNAME=oax
|
||||
#ARCH should be either i386 (32 bit) or x86_64 (64 bit)
|
||||
ARCH=i386
|
||||
|
||||
if [ -r ./supermake.local ] ; then
|
||||
source ./supermake.local
|
||||
fi
|
||||
|
||||
if [ -r $BINNAME ] ; then
|
||||
echo $BINNAME found
|
||||
else
|
||||
echo $BINNAME not found! Check the variables in the script
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#Create the mod dir
|
||||
mkdir -p ~/.openarena/$MODNAME
|
||||
|
||||
|
||||
pushd ..
|
||||
#Build, pak it and start
|
||||
make && cd build/release-linux-$ARCH/baseq3 && zip -r ~/.openarena/$MODNAME/$MODNAME.pk3 vm && $BINNAME +set fs_game $MODNAME +set debug 1 +set sv_pure 0 +vm_ui 2 +vm_game 2 +vm_cgame 2
|
||||
popd
|
||||
|
||||
26
linux_scripts/supermake_native
Executable file
26
linux_scripts/supermake_native
Executable file
@@ -0,0 +1,26 @@
|
||||
|
||||
#Tip: You can create a supermake.local file and this script will get the variable from there!
|
||||
BINNAME=openarena
|
||||
MODNAME=oax
|
||||
#ARCH should be either i386 (32 bit) or x86_64 (64 bit)
|
||||
ARCH=i386
|
||||
|
||||
if [ -r ./supermake.local ] ; then
|
||||
source ./supermake.local
|
||||
fi
|
||||
|
||||
if [ -r $BINNAME ] ; then
|
||||
echo $BINNAME found
|
||||
else
|
||||
echo $BINNAME not found! Check the variables in the script
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#Create the mod dir
|
||||
mkdir -p ~/.openarena/$MODNAME
|
||||
|
||||
pushd ..
|
||||
#Build, pak it and start
|
||||
make && cd build/release-linux-$ARCH/baseq3 && cp *.so ~/.openarena/$MODNAME/ && $BINNAME +set fs_game $MODNAME +set debug 1 +set sv_pure 0 +vm_ui 0 +vm_game 0 +vm_cgame 0
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user