#!/bin/sh

# this should be the directory where q3ded is located
cd "/root/quake3/"

# this should be the directory where all q3 data is located (baseq3, mods, etc)
export SDC_QUAKEDIR="/root/quake3/"

# this should be the directory where Q3SDC data is located (viewcams, q3sdc.cfg, etc)
export SDC_DIR="/root/quake3/q3sdc/"

# this should be the full path to q3sdc.so
export LD_PRELOAD="/root/quake3/q3sdc/q3sdc.so"

# Q3SDC works ONLY with q3ded! Don't change it!
exec ./q3ded $*
