Startup Parameters – Operation Flashpoint

From Bohemia Interactive Community
Jump to navigation Jump to search
m (profiles)
Line 46: Line 46:
|-
|-
| -cfg= || Selects a config file like your [[Flashpoint.cfg]].
| -cfg= || Selects a config file like your [[Flashpoint.cfg]].
|-
| -profiles || Defines the location of the profile folders.
{| class="wikitable"
|-
! Path Definition !! Explanation
|-
| <tt>-profiles=c:\games\myProfiles</tt> || -
|-
| <tt>"-profiles=c:\My Profiles\profiles"</tt> || If the profile path contains spaces, the whole parameter should be enclosed by quotation marks.
|-
| <tt>-profiles=profiles</tt> || The path defined in the argument can also be interpreted ''relative'' to the game's path. Resulting path would be <tt>c:\<gamefolder>\profiles\Users\<playername></tt>.
|-
| <tt>-profiles=.</tt> || Would put the user profiles ''directly'' into the game folder: <tt>c:\<gamefolder>\Users\<playername></tt>.
|}
|}
|}



Revision as of 16:55, 24 May 2021

Note that the following items are startup parameters for use only with the original Operation Flashpoint game series for the PC. These parameters can be configured by creating a new shortcut on your desktop and then adding the appropriate option.

Example

"C:\...\OperationFlashpoint\FLASHPOINTRESISTANCE.EXE" -nomap -nosplash -mod=@winter

Available parameters

Display Options

-window Displays Arma windowed instead of full screen. Screen resolution / window size are set in arma3.cfg.
-x= Numeric, used to set resolution width.
-y= Numeric, used to set resolution height
-window Displays Operation Flashpoint windowed instead of fullscreen
-benchmark Intended for automated benchmarking, but was never finished and is not working.

It can be manually launched but its only working feature is loading of a specific hard coded mission file in the editor.

To launch -benchmark it is required to:

  1. Launch Operation Flashpoint / Arma: Cold War Assault
  2. Create a new profile named test
  3. Open Mission Editor on Malden island
  4. Save a mission file named benchmark
  5. You can switch to your original profile and exit the game
  6. Launch Operation Flashpoint / Arma: Cold War Assault with -benchmark parameter. You should be directly in Mission Editor on Malden with opened benchmark.abel mission file.


As a side note:

  • Any saved missions in Mission Editor will be stored in OFP\Users\test\missions
  • Operation Flashpoint / Arma: Cold War Assault launched with -benchmark parameter uses settings from the original profile
  • Once you close Mission Editor the game will switch to your original profile.


Details: https://forums.bohemia.net/forums/topic/177209-ofpcwa-facts-myths-findings-experiments-prototypes-tutorials/?do=findComment&comment=3360569

-nosplash -noSplash is a startup option that allows one to bypass the splash screens on startup of Operation Flashpoint.

Modifications

-mod Allows you to subdivide your addons into different folders, folder names seperated by semi-colons. See Arma: Mod Folders for more information.
-nomap Forces {ofp}} to avoid memory mapping for file access. While memory mapping is very efficient from a performance point of view, it can quickly fill all available virtual space, causing various memory allocation errors or even driver crashes or freezes. This switch is especially important for users with display adapters with large amounts of VRAM (128MB or more), which reserves a lot of virtual addresses in the application address space for themselves.
-cfg= Selects a config file like your Flashpoint.cfg.
-profiles Defines the location of the profile folders.
Path Definition Explanation
-profiles=c:\games\myProfiles -
"-profiles=c:\My Profiles\profiles" If the profile path contains spaces, the whole parameter should be enclosed by quotation marks.
-profiles=profiles The path defined in the argument can also be interpreted relative to the game's path. Resulting path would be c:\<gamefolder>\profiles\Users\<playername>.
-profiles=. Would put the user profiles directly into the game folder: c:\<gamefolder>\Users\<playername>.

Network Options

-port= Port to host dedicated server on.
-password= Password to join dedicated server.
-sockets This can be used in a shortcut to specifiy which networking mode to use. The -sockets networking mode uses the BIS implementation of networking code. This mode lacks the in game voice over IP that is supported with the option -dplay. The networking code has been optimized in the -sockets and therefore is the preferred networking method when playing online. TeamSpeak is an alternative VOIP application that is used to replace the in game VOIP lost when using -sockets.
-dplay The option -dplay can be used in a shortcut to specify which networking mode to use. You can also change this option in the networking mode menu. The -dplay networking mode uses Microsofts Direct Play implementation of networking code included with DirectX. This mode contains the in game voice over IP that is not supported with the option -sockets.
-config= Config file for server specific stuff like admin password and mission selection. See server.cfg for more information.
-netlog Location for network game log files.
-host Start a non-dedicated host.
-server Start a dedicated server (not needed for a special dedicated server exe).
-connect Client-side, server to connect to.
-name= Client-side, User name.
-pid= Sets the process ID, linux-only?
-logfiles Name of files to log to, probably only MP server relevant.