Battlefield Vietnam

Here you'll get instructions of how to install a linux dedicated Battlefield Vietnam Linux server.

Getting the files

Download the dedicated server
bfv_linded-v1.2-20041006.1506.run

Installation of the server

Unpacking bfv_linded-v1.2-20041006.1506.run

$ chmod +x ./bfv_linded-v1.2-20041006.1506.run
$ ./bfv_linded-v1.2-20041006.1506.run
Licence Agreements
You have to accept the EA end user licence by typing the word "accept".
Next will be the EULA for PunkBuster. Type "yes" to accept the agreement.
Finally you have to provide an existing directory where you want to put the files (e.g. /usr/local/games).
Pay attention, because it will create a directory bfv!

Configuration

Modify your mods/bfvietnam/settings/serversettings.con
$ vi mods/bfvietnam/settings/serversettings.con
Modify your mods/bfvietnam/settings/maplist.con
$ vi mods/bfvietnam/settings/maplist.con

Special attention

In your mods/bfvietnam/settings/serversettings.con you might want to change the following items:

  • game.serverName: Your server's name
  • game.serverMaxPlayers: Your player limit
  • game.serverPassword: limiting access to your server
  • game.serverIP: your external IP address
  • game.serverPort: your server port
  • game.serverPunkBuster: enable PunkBuster

Starting the server

$ ./start.sh +statusMonitor 1

Known issues with Battlefield Vietnam dedicated server

There are some bugs with the pthreads of the server concerning the stack size. You can change it by limiting the stacksize with the BFV_STACKSIZE enviroment variable:

$ export BFV_STACSIZE=`expr 4 \* 1024 \* 1024`
$ ./start.sh +statusMonitor 1

Startup script

#!/bin/sh
GAME="Battlefield Vietnam"

echo "Starting $GAME Server"
sleep 1
screen -A -h 1500 -m -d -S bfv ./start.sh +statusMonitor 1

Ports config

  • UDP 15567: Battlefield Vietnam server port
  • UDP 15690: ASE Port
  • UDP 22000: Gamespy Lan Port (for LAN games only)
  • UDP 23000: Gamespy Port (for Internet games)
  • UDP 27900: Master Server UDP Heartbeat
  • TCP 28900: Master Server List Request
  • UDP 13139: for custom UDP pings