View Full Version : Starting Special Forces
conners
11-23-2005, 02:27 PM
I am sur som of you wil think this is a dumb question, but hey if you don't know you don't know.
I have a dedicated linux server and have never ran a expansion pack. The start.sh only starts the regular bf2 I think. LOL What I was wondering is hoe do you start a server using the start.sh and it be running the Special Forces mod?
TCA-ECF
11-23-2005, 04:05 PM
Edit the maplist.con file and put the SF maps in the list instead of the regular BF2 maps.
conners
11-23-2005, 04:59 PM
did that but now I get a no maps in maplist error I am using this in bf2/settings/maplist.con ans also in xpack/settings maplist.con
mapList.append Devils_Perch gpm_cq 32
should work right?
Defcon|Rich
11-23-2005, 05:06 PM
Might also try this cmd line:
bf2_ded.exe +modPath "mods/xpack"
conners
11-23-2005, 05:12 PM
Yes! that worked when I used ./start.sh bf2_ded.exe +modPath "mods/xpack"
Now how can I put that in a start.sh file so it will automatiacally start?
See cause i know nuthin abot shell scripts.
Thank you thank you thank you
Defcon|Rich
11-23-2005, 05:14 PM
Good to hear :)
You are going to have to create a start script or edit the one you have now and include the extra varibles.
Let me know how it works out :)
conners
11-23-2005, 05:24 PM
ok lol but where...lol
#! /bin/sh
./start.sh bf2_ded.exe +modPath "mods/xpack" <--here ok?
MACH=""
case `uname -m` in
i[3456]86) MACH="ia-32"
;;
x86_64) MACH="amd-64"
;;
esac
if ! [ -d pb ]
then
ln -s pb_$MACH pb
fi
BINARY_DIR="$(pwd)/bin"
if [ -d "$BINARY_DIR/$MACH" ]
then
BINARY_DIR="$BINARY_DIR/$MACH"
fi
# Make the OS give us .core-dumps if the server crashes
ulimit -c unlimited
export LD_LIBRARY_PATH=$BINARY_DIR
exec $BINARY_DIR/bf2 "$@"
conners
11-23-2005, 05:38 PM
Well I guess it does work there... :salute:
Thanks a million......
Btw I have a script that automatically detaches the screen if you want it or to see it.
TCA-ECF
11-23-2005, 05:51 PM
Ahhh, the old switcheroonie doesn't work as it did in BF1942 and BFV. Damn, sorry to misinform you.
The maplist change worked with 1942 and BFV. I guess it doesn't with SF :rolleyes:
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.