[bf1942] PunkBuster - Multiple Configs

"Einar S. Idsø" esi at itk.ntnu.no
Mon Jun 27 05:31:52 EDT 2005

I hate putting files for different servers into the same folder since it
tends to become a mess. In lack of a proper +overlayPath setting for
BF2, you can still set both mapfile, serversettings-file and pb-dir from
the command-line using three separate arguments. We start our servers
like this:

screen -m -d -A -S ${SERVERTAG}_gs ./start.sh \
    +config ${SERVER_PATH}/settings/serversettings.con\
    +mapList ${SERVER_PATH}/settings/maplist.con\
    +pbPath ${SERVER_PATH}/pb

${SERVER_PATH} is just a config-path completely separate from the
installation directory. Just copy the bf2/pb dir to ${SERVER_PATH}/ for
each config-dir, and put your pbsv.cfg-file specific to that server in


Andrew Armstrong wrote:
> Anyone else having trouble with multiple pb configurations per server
> for one install? Am I going about this the wrong way?
> I am trying to load a custom PB configuration file for my server, since
> there are multiple servers running off the same install.
> Here is what I am writing at the end of my serversettings.con config file:
> pb_sv_load "port16567.cfg"
> I am creating the following file:
> bf2/pb/port16567.cfg with pb settings in it.
> Here is what my server console says once its started up:
> PunkBuster Server: File Not Found: port16567.cfg"
> As written (notice there is no leading " in the error message, too).
> From the server console, I type:
> pb_sv_load port16567.cfg
> And what do you know, it loads the file.
> Why is this problem occuring, and how do I overcome it.
> Server OS: Windows 2003 Server
> Thanks for any help,
> - Plasma

More information about the Bf1942 mailing list