#!/bin/sh

# Second stage loader for q3ded. Needs work badly.

# Path to the q3ded executable
Q3DED=/quake3/q3ded

# How many megs of memory should q3ded use?
# For those who care, this is com_hunkMegs
MEMORY=32


# Configuration file
CONFIGFILE=dm.cfg

# Game type
GAME=baseq3

LOGFILE=/dev/null		# You can set a logfile in the config file, 
				# or just redirect here. Or both, but that's   
 				# silly.

# Mode. 1 is LAN server (no announce), 2 is internet server (announces self)
MODE=2

# Launch the darn thing already
$Q3DED +set dedicated $MODE +set com_hunkMegs $MEMORY \
+exec $CONFIGFILE 

