Startup Parameters – Arma 2
PhilippRauch (talk | contribs) (This will be the Arma2 Startup Parameters Bikipage) |
PhilippRauch (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
'''Example''' | '''Example''' | ||
"C:\somePath\ | "C:\somePath\Arma 2\Arma2.exe" -nosplash -mod=@winter | ||
== Available parameters == | == Available parameters == | ||
Line 14: | Line 14: | ||
-x= Numeric, used to set resolution width | -x= Numeric, used to set resolution width | ||
-y= Numeric, used to set resolution height | -y= Numeric, used to set resolution height | ||
-window Displays | -window Displays Arma windowed instead of full screen | ||
(can be used in conjunction with -x/-y: <tt>-window -x=800 -y=600</tt>) | (can be used in conjunction with -x/-y: <tt>-window -x=800 -y=600</tt>) | ||
[[-nosplash]] Disables intro and splash screens | [[-nosplash]] Disables intro and splash screens | ||
Line 32: | Line 32: | ||
/secuexp Starts Securom Support (for Troubleshooting) | /secuexp Starts Securom Support (for Troubleshooting) | ||
-world can also be used to load a mission directly in the editor: | -world can also be used to load a mission directly in the editor. The following is already using a user defined Userfolder path: | ||
-world=intro "d:\games\arma\users\myUser\missions\myMission.intro\mission.sqm" | -world=intro "d:\games\arma 2\users\myUser\missions\myMission.intro\mission.sqm" | ||
-noland Starts | |||
-buldozer Start | -noland Starts Arma2 with no world. (Used for [[Bulldozer]]) | ||
-buldozer Start Arma2 in [[Buldozer]] mode. | |||
-generateshaders Use unknown. (Possibly for use with [[Buldozer]]) | -generateshaders Use unknown. (Possibly for use with [[Buldozer]]) | ||
-download Use unknown. (Possibly set auto download of missing Mod pbo's from | -download Use unknown. (Possibly set auto download of missing Mod pbo's from | ||
Line 46: | Line 47: | ||
-openal Use OpenAl sound. | -openal Use OpenAl sound. | ||
-nosound No sound output. | -nosound No sound output. | ||
-noPause Allow the game running even when its window does not have a focus. | |||
-noPause | |||
-noFilePatching (a2 1.00) Ensures that only PBOs are loaded - and NO unpacked data. | -noFilePatching (a2 1.00) Ensures that only PBOs are loaded - and NO unpacked data. | ||
For more info see [[CMA:DevelopmentSetup]]. | For more info see [[CMA:DevelopmentSetup]]. | ||
Line 65: | Line 64: | ||
Config file for server specific settings like admin password and mission selection. | Config file for server specific settings like admin password and mission selection. | ||
[[-profile]]= Location of user-profile folder. | [[-profile]]= Location of user-profile folder. | ||
-BEpath= Set BattlEye path (see [http://www.battleye.com/support.html]) Default is C:\Documents and Settings\[User Name]\Local Settings\Application Data\ | -BEpath= Set BattlEye path (see [http://www.battleye.com/support.html]) Default is C:\Documents and Settings\[User Name]\Local Settings\Application Data\Arma 2\BattlEye | ||
=== Network Options === | === Network Options === | ||
Line 73: | Line 72: | ||
[[-ranking]]= Used to generate a ranking file. '''-ranking=<filename>''' | [[-ranking]]= Used to generate a ranking file. '''-ranking=<filename>''' | ||
-host Start a non-dedicated host. | -host Start a non-dedicated host. | ||
-server Start a [[ | -server Start a [[Arma 2:Dedicated Server|dedicated server]] (not needed for a special dedicated server exe). | ||
-pid= File to write the server's PID (process ID) to. The file is removed automatically when the exe is | -pid= File to write the server's PID (process ID) to. The file is removed automatically when the exe is | ||
stopped. Only works when started as a dedicated server. | stopped. Only works when started as a dedicated server. | ||
-connect= Client-side, server to connect to. | -connect= Client-side, server to connect to. | ||
-name= Client-side, User name. | -name= Client-side, User name. | ||
-netlog Enables | -netlog Enables Arma2 multiplayer network traffic logging | ||
== Closer Description == | == Closer Description == | ||
Line 93: | Line 92: | ||
An '''example''' might be like this: | An '''example''' might be like this: | ||
"C:\Program Files\Bohemia Interactive\ | "C:\Program Files\Bohemia Interactive\Arma 2\Arma2.exe" -profiles=C:\Arma 2\Profiles | ||
or | or | ||
"C:\Program Files\Bohemia Interactive\ | "C:\Program Files\Bohemia Interactive\Arma 2\Arma2.exe" -profiles=Profiles | ||
would store all your profiles/configs/downloaded content into your ROOT ArmA folder under the folder name "Profiles" | would store all your profiles/configs/downloaded content into your ROOT ArmA folder under the folder name "Profiles" | ||
Line 105: | Line 104: | ||
An '''example''' might be like this: | An '''example''' might be like this: | ||
"C:\Program Files\Bohemia Interactive\ | "C:\Program Files\Bohemia Interactive\Arma 2\Arma2.exe" -ranking=C:\Arma 2\ranking.log | ||
=== nosplash === | === nosplash === | ||
'''-nosplash''' is a startup option that allows you to bypass the splash screens on startup of | '''-nosplash''' is a startup option that allows you to bypass the splash screens on startup of Arma2. | ||
Note: Real speed-up gained with this is likely to be negligible with | Note: Real speed-up gained with this is likely to be negligible with Arma2, as the loading screens are handled in parallel with the game data being loaded, and the loading itself takes quite long thanks to the amount of data needed. | ||
=== cpuCount === | === cpuCount === | ||
Line 118: | Line 117: | ||
'''-cpuCount=''' is the way to limit number of CPUs/cores available. The best way to simulate dual core on quad core is to use -cpuCount=2 when you run the game and then change the affinity to 2 cores to make sure additional cores can never be used when some over-scheduling happens. It might be also possible to set the affinity in the OS before you launch the process, that would work as well. | '''-cpuCount=''' is the way to limit number of CPUs/cores available. The best way to simulate dual core on quad core is to use -cpuCount=2 when you run the game and then change the affinity to 2 cores to make sure additional cores can never be used when some over-scheduling happens. It might be also possible to set the affinity in the OS before you launch the process, that would work as well. | ||
[[Category: | [[Category:Arma2: The Game|Startup Parameters]] |
Revision as of 09:26, 11 July 2009
comment: Its 'Work in Progess' since i havent checked all parameters for Arma2 yet. But i confirm that -profiles MUST BE -profile to work! ToDo: Please add/remove new/obsolete startup parameters for Arma2
These parameters can be configured by creating a new shortcut on your desktop and then adding the appropriate option.
Example
"C:\somePath\Arma 2\Arma2.exe" -nosplash -mod=@winter
Available parameters
Display Options
-x= Numeric, used to set resolution width -y= Numeric, used to set resolution height -window Displays Arma windowed instead of full screen (can be used in conjunction with -x/-y: -window -x=800 -y=600) -nosplash Disables intro and splash screens -benchmark Intended for automated benchmarking, but was never finished and is not working.
Misc.
-maxmem= Limit memory allocation (in MB). 2047 is hardcoded maximum at the moment (Arma2 1.01 final, anything higher falls back to 2047). -init= Run scripting command once in the main menu (useful to start a certain (test) mission of choice automatically. Add to command line: -init=playMission["","M04Saboteur.Sara"] (see also playMission) (Mission has to reside in the gamedir\Missions folder, NOT the user directory.) -world= Select a world loaded by default, e.g. -world=Sara -world=empty (for faster game loading.. no island and no menu animation loaded (1.05)) /secuexp Starts Securom Support (for Troubleshooting)
-world can also be used to load a mission directly in the editor. The following is already using a user defined Userfolder path: -world=intro "d:\games\arma 2\users\myUser\missions\myMission.intro\mission.sqm"
-noland Starts Arma2 with no world. (Used for Bulldozer) -buldozer Start Arma2 in Buldozer mode. -generateshaders Use unknown. (Possibly for use with Buldozer) -download Use unknown. (Possibly set auto download of missing Mod pbo's from server.) -disableProgramDrawing Use unknown. (Possibly for use with Buldozer) -useProgramDrawing Use unknown. (Possibly for use with Buldozer) -gamertag= Use unknown. -dsound Use DirectX sound. -openal Use OpenAl sound. -nosound No sound output.
-noPause Allow the game running even when its window does not have a focus. -noFilePatching (a2 1.00) Ensures that only PBOs are loaded - and NO unpacked data. For more info see CMA:DevelopmentSetup. -winxp use it in Vista/Windows 7 to enable multi-GPU support (Arma2) -noCB turns off multicore drawing, slow down rendering but may resolve visual glitches (Arma2) -cpuCount=X change X to a number less or equal than numbers of available cores. This will override auto detection (Arma2).
Modifications
-mod= Allows the use of sub-folders for different mods, separated by semi-colons. Under Linux multiple folders arguments need the following separation syntax: -mod=mod1\;mod2\;mod3 -cfg= Selects a config file like the Server Basic Config file. Prcessed at startup. -config= Selects a config file like the Server Config File. Processed after startup. Config file for server specific settings like admin password and mission selection. -profile= Location of user-profile folder. -BEpath= Set BattlEye path (see [1]) Default is C:\Documents and Settings\[User Name]\Local Settings\Application Data\Arma 2\BattlEye
Network Options
-port= Port to host dedicated server on. -password= Password to join dedicated server. -ranking= Used to generate a ranking file. -ranking=<filename> -host Start a non-dedicated host. -server Start a dedicated server (not needed for a special dedicated server exe). -pid= File to write the server's PID (process ID) to. The file is removed automatically when the exe is stopped. Only works when started as a dedicated server. -connect= Client-side, server to connect to. -name= Client-side, User name. -netlog Enables Arma2 multiplayer network traffic logging
Closer Description
config
The option -config allows you to specify a specific server.cfg file.
profile
-profile is a startup option allowing you to choose an alternate location for the user profile files, such as downloaded missions and .cfg files.
The windows user account would need permissions to write to the folder of choice.
An example might be like this:
"C:\Program Files\Bohemia Interactive\Arma 2\Arma2.exe" -profiles=C:\Arma 2\Profiles
or
"C:\Program Files\Bohemia Interactive\Arma 2\Arma2.exe" -profiles=Profiles
would store all your profiles/configs/downloaded content into your ROOT ArmA folder under the folder name "Profiles"
ranking
-ranking is a startup option allowing you to output ranking info or othewise know as player stats.
The windows user account would need permissions to write to the folder of choice.
An example might be like this:
"C:\Program Files\Bohemia Interactive\Arma 2\Arma2.exe" -ranking=C:\Arma 2\ranking.log
nosplash
-nosplash is a startup option that allows you to bypass the splash screens on startup of Arma2.
Note: Real speed-up gained with this is likely to be negligible with Arma2, as the loading screens are handled in parallel with the game data being loaded, and the loading itself takes quite long thanks to the amount of data needed.
cpuCount
-cpuCount= is the way to limit number of CPUs/cores available. The best way to simulate dual core on quad core is to use -cpuCount=2 when you run the game and then change the affinity to 2 cores to make sure additional cores can never be used when some over-scheduling happens. It might be also possible to set the affinity in the OS before you launch the process, that would work as well.