List of command paramters in dedicated battlefront.exe

Started by Phobos, July 04, 2013, 05:22:27 AM

Previous topic - Next topic
There are 67 commands in the dedicated battlefront executable.

/spawn
/logfinalscore
/audiomaxchannels
/audiosamplerate
/audionoenhance
/audiomixbuffer
/ppass
/email
/name
/connect
/install
/fixedfunction
/win
/nocheckcd
/log
/resolution
/gameslice
/difficulty
/noteamdamage
/noaim
/password
/noframelock
/tps
/nomovies
/randomize
/heroes
/netregion
/bots
/sideselect
/netplayers
/throttle
/crashed
/noai
/soundwarning
/quakecam
/skill
/team
/fixedrate
/nostartupmusic
/nosound
/nowait
/lan
/gamename
/playerlimit
/playercount
/autonet
/nodrag
/loss
/latency
/bandwidth
/nonames
/firstperson
/nointro
/ShowAllServers
/ShowAllSessions
/notvalues
/playback
/record
/loadspam
/lang
/demomode
/unlimitedammo
/invincible
/framerate
/ainotext
/ai
/profile

We know what most of these do. What about some of the more obscure commands like gameslice, skill, and quakecam?

Quote from: Phobos on July 04, 2013, 05:22:27 AM
We know what most of these do. What about some of the more obscure commands like gameslice, skill, and quakecam?
We do? I only know what 5-6 of those do. Is there an explanation for all of those commands on another forum?

There's a description here of several
http://www.tweakguides.com/SWB_7.html

[spoiler]
QuoteServer.ini

If you are running a dedicated server, you can add several command switches to your Battlefront server.ini file which will alter server settings, including an important setting which overrides the default maximum tick rate of 30. Note that you do not need to have the game to run a dedicated server, you can download and use this Dedicated Server Executable.

The following are all the game's command switches, and where known the descriptions:

/win - Run the game in windowed mode

/norender - Disables rendering on your server machine

/nosound - Disables sounds on your server machine

/nomovies - Disables the background animation on the menu screens

/autonet dedicated - Dedicated server

/resolution [width height] - Sets the resolution for the server window

/gamename [Name] - Sets the server name

/playerlimit
  • - Sets the maximum number of players allowed on the server

    /playercount
  • - Sets the minimum number of players required for the round to begin

    /noteamdamage - Turns Friendly Fire off (on by default)

    /difficulty [1,2,3] - Sets the difficulty level of bots, where 1 = Easy, 2 = Medium and 3 = Hard

    /throttle [Bandwidth] - Sets the maximum bandwidth per client (in KB) for the server

    /tps
  • - Sets the tick rate for the server. This determines the maximum FPS for clients

    /lan - Creates a LAN server (default is Internet)

    /nonames - Disables displaying player names (default is names enabled)

    /heroes - Enables Heroes (default is no heroes)

    /password [Password] - Assigns the provided password to the server, clients need to use this password to join

    /randomize - randomize map rotation, leave out to turn off

    /bots
  • - Determine the number of bots to add to the server

    /noai - Disables all AI

    /ai -

    /nodrag -

    /latency -

    /connect -

    /ppass -

    /email -

    /name -

    /install -

    /nowait -

    /fixedfunction -

    /fixedrate -

    /gameslice -

    /sideselect -

    /netplayers -

    /quakecam -

    /skill -

    /team -

    /bandwidth -

    /netregion [EUR, JAP, NA] -

    /lang -

    /profile -

    /notvalues -

    /crashed -

    /soundwarning -

    /firstperson -

    /record -

    /playback -

    /ntgui -

    /loadspam -

    /ainotext -

    /profile -

    /loginfinalscore

    /audionoenhance -

    /audiomaxchannels
  • - Determines the maximum number of audio channels used by the game

    /audiosamplerate [Rate] - Sets the sample rate for all audio up to 44100 KHz

    /audiomixbuffer [Milliseconds] - Sets the buffer size for audio streaming

    The following commands have been added as of the 1.1 Patch onwards (See Patches Maps & Mods section):

    /spawn -

    /noaim -

    /nostartupmusic - Disables the background music which plays when the game starts up

    /loss -

    /nointro - Skips the introductory logos when the game loads up

    /ShowAllServers -

    /ShowAllSessions -

    Note that I will fill this list in with tested and known descriptions as readers provide feedback, so check back regularly and Email Me if you are certain you know what any of the blank commands do (no guesses please).

    Command Line Switches

    You can also use some of the commands shown above by inserting them into the command line for your Star Wars Battlefront icon. You can't use the default SWB icon though, as that points to the game's launcher. Instead, go to your \Program Files\LucasArts\Star Wars Battlefront\GameData\ directory, right-click on the Battlefront.exe file and select Send To>Desktop to create a new desktop icon. Then go to this new desktop icon for Battlefront.exe, right-click on it and select Properties. In the Target box you may see the following:

    "C:\Program Files\LucasArts\Star Wars Battlefront\GameData\Battlefront.exe"

    You can now put a space after the last quote mark and insert a command like /win to run the game in windowed mode. You can also 'stack' commands by placing several of them on one line, for example:

    "C:\Program Files\LucasArts\Star Wars Battlefront\GameData\Battlefront.exe" /win /nomovies

    The commands most useful to players at the moment would be:

    /win - run the game in windowed mode for a performance improvement on low-end machines

    /nointro - skips the introductory logos when the game loads up, speeding up loading time

    /nostartupmusic - Disables the background music which plays when the game starts up, speeding up loading time and reducing memory usage

    /nomovies - disables the blue wireframe background movies which play on the in-game menus. Saves memory and speeds up loading time and menu access.

    /resolution [width height] - sets the resolution for the game.

    /audiosamplerate [Rate] - sets the sample rate for all audio, and by selecting a lower value, e.g. 11000 you may improve performance at the cost of audio quality. Alternatively to ensure the highest quality set this to 44100.

    /audiomixbuffer [Milliseconds] - sets the buffer size for audio streaming, can resolve audio issues such as crackling
[/spoiler]

Quote from: Phobos on July 04, 2013, 07:20:50 AM
There's a description here of several
http://www.tweakguides.com/SWB_7.html

Quote from: Star Wars Battlefront Tweak Guide
/tps (#) - Sets the tick rate for the server. This determines the maximum FPS for clients

Actually, /tps determines the minimum FPS for clients. You can go higher with /noframelock, although you need a program such as bandicam to limit the FPS manually. Players who see framerates lower than the server tps need to upgrade their hardware, or play at a lower resolution with minimalist settings and map LVLs.