View Single Post
Old 09-23-2004, 08:15 PM   #14
Kramerika's Avatar
Join Date: Apr 2002
Location: PA, US of A
Posts: 73
For anyone interested, it seems that you do not need to run the GUI to launch the server. You can launch it from a command line via a shortcut to battlefront.exe.

Create a shortcut to battlefront.exe and edit the properties. Here is my example command line.

D:\Games\SWBF\battlefront.exe /win /norender /autonet dedicated /resolution 320 240 /nosound /gamename [OSF]MayTheForceBeWithYou! /playerlimit 32 /playercount 0 /bots 4 /noteamdamage /difficulty 2 /throttle 3072 /spawn 5 hot1i 400 400 nab2c 400 400 tat1i 400 400 end1a 400 400 kam1c 400 400 bes2a 400 400 yav2i 300 300 geo1r 400 400 hot1i 400 400 kas1c 300 300 bes1a 400 400 rhn2c 300 300 tat2i 300 300 nab1c 300 300 kas2c 300 300 yav1i 300 300 rhn1r 300 300

Here is what the commands do. Carrots (<>) surround values to be changed.

/win - not sure but necessary
/norender - not sure but necessary (assuming it turns off rendering video)
/nosound - not sure but necessary (assuming it turns off sound)
/autonet dedicated - dedicated server
/resolution <horiz> <vert> - controls the resolution of the server window
/gamename <name> - sets server name
/playerlimit <limit> - sets server maximum number of clients
/playercount <count> - sets count of clients necessary for round to start
/noteamdamage - sets FF off, leave out to turn on
/difficulty <level> sets bot skill (1=easy, 2=medium, 3=hard)
/throttle <bandwidth> - sets hosting bandwidth (3072=3Mbps+, 2MBs=2048, 1MB=1024, 512k=512, 256k=256, 128k=128)
/tps <fps> - sets server framerate
/lan - LAN server, leave out for internet
/nonames - no player names, leave out to turn on
/heroes - heroes, leave out to turn off
/password <password> - puts password on the server
/randomize - randomize map rotation, leave out to turn off
/spawn <seconds> - the spawn protection time in seconds (0-10)

The only thing missing from the GUI with the command line options is the autorestart, but since I use Firedaemon to run it as a Windows service, I don't need that anyhow. I thought /crashed might be it, but it didn't seem to work for me. There is also a second tab for a second server with the 1.1 patch it appears, but I do not know how this translates to the command line.

The maplist comes last after all of the options. Leave two spaces between the last option and the first map. The limit is 24 though why there is a limit is beyond me. Here are the map names for the command line. Unfortunately, there is a limit (character length) on how many commands you can fit into the command line of a shortcut. With Firedaemon, I do not have this issue. The numbers following each map name in the command line are the tickets for the two factions.

bes1a - bespin: platforms (GCW)
bes2a - bespin: cloud city (GCW)
bes1r - bespin: platforms (CW)
bes2r - bespin: cloud city (CW)
end1a - endor: bunker (GCW)
hot1i - hoth: echo base (GCW)
kas1i - kashyyyk: islands (GCW)
kas2i - kashyyyk: docks (GCW)
geo1r - geonosis: spires (CW)
kam1c - kamino: tipoca city (CW)
kas1c - kashyyyk: islands (CW)
kas2c - kashyyyk: docks (CW)
nab1i - naboo: plains (GCW)
nab2a - naboo: theed (GCW)
nab1c - naboo: plains (CW)
nab2c - naboo: theed (CW)
rhn1i - rhen var: harbor (GCW)
rhn2a - rhen var: citadel (GCW)
rhn1r - rhen var: harbor (CW)
rhn2c - rhen var: citadel (CW)
tatli - tatooine: dune sea (GCW)
tat2i - tatooine: mos eisley (GCW)
tat1r - tatooine: dune sea (CW)
tat2r - tatooine: mos eisley (CW)
yav1i - yavin 4: temple (GCW)
yav2i - yavin 4: arena (GCW)
yav1c - yavin 4: temple (CW)
yav2r - yavin 4: arena (CW)
tat3a - tatooine: jabba's palace (GCW)
tat3c - tatooine: jabba's palace (CW)

The Outlaws of Sherwood Forest
A community, not a clan!

Last edited by Kramerika; 01-22-2005 at 08:58 AM.
Kramerika is offline   you may: