Startup Parameters – Arma 3
m (Remove duplicate -debug list item) |
Killzone Kid (talk | contribs) (→Developer Options: -language=) |
||
Line 175: | Line 175: | ||
|- | |- | ||
| -command=<name> || Creates [https://en.wikipedia.org/wiki/Named_pipe named pipe] "\\.\pipe\name" for receiving predefined set of commands. See [[Arma 3 Named Pipe]] | | -command=<name> || Creates [https://en.wikipedia.org/wiki/Named_pipe named pipe] "\\.\pipe\name" for receiving predefined set of commands. See [[Arma 3 Named Pipe]] | ||
| | |- | ||
| -language=<language> || Starts client with preferred language. Recognised languages: english, czech, french, german, hungarian, italian, japanese, korean, original, polish, portuguese, russian, spanish, turkish, chinese, chinesesimp | |||
=== Misc. === | === Misc. === |
Revision as of 10:56, 2 February 2021
These parameters can be configured by creating a new shortcut on your desktop and then adding the appropriate option in the target line.
Steam
- Choose the game in Steam\Library
- Right click on the game
- Select properties
- Hit "Set launch options"
- Example
- -nosplash -mod=test;x\test;c:\arma3\test2
Windows
When working with shortcuts,,cmd launch options: there is max characters limit for the executing line, use -par (see: Startup parameters config file;) to avoid it;
Available parameters
Display Options
-window | Displays Arma windowed instead of full screen. Screen resolution / window size are set in arma3.cfg. |
-posX=<Integer> | Sets the default X Position of the Window. |
-posY=<Integer> | Sets the default Y Position of the Window. |
-adapter=<Integer> | Sets the default Video Adapter. |
Game Loading Speedup
-noSplash | -noSplash is a startup option that allows you to bypass the splash screens on startup of Arma3. |
-world=<string> | Select a world loaded by default. Example: -world=Utes. For faster game loading (no default world loaded and world intro in the main menu, only at game start, disabled): -world=empty. |
-worldCfg=<String> | Init Landscape by the given world config |
-skipIntro | Disables world intros in the main menu permanently. |
Performance
-maxMem=<number> | Overrides memory allocation limit to a certain amount (in megabytes).
Without the -maxMem parameter the engine attempts to set this parameter internaly to a reasonable value often defaulting to max values as described above. Note that setting maxMem to 2000 does not mean that the game will never allocate more then 2000 MiB. It says that the game will do everything in its power to not cross this limit. | ||||||||||||||||||||||||
-maxVRAM=<number> | Defines Video Memory allocation limit to number (in megabytes). Use to resolve e.g. Windows problem: http://support.microsoft.com/kb/2026022/en-us?p=1. Minimum value is 128 MiB (anything lower falls back to 128). The value is ignored (under DX11) if engine properly detected VRAM size, minus 20% reserve with ceiling limit 300MB max.. | ||||||||||||||||||||||||
-noCB | Turns off multicore use. It slows down rendering but may resolve visual glitches. | ||||||||||||||||||||||||
-cpuCount=<number> | Change to a number less or equal than numbers of available cores. This will override auto detection (which equate to native cores).
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. | ||||||||||||||||||||||||
-exThreads=<number> | Change to a number 0,1,3,5,7. This will override auto detection (which use 3 for dualcore and 7 for quadcore).
All file operations go through a dedicated thread. This offloads some processing from the main thread, however it adds some overhead at the same time.
| ||||||||||||||||||||||||
-malloc=<string> | Sets the particular memory allocator to be used. Significantly affects both performance and stability of the game. More details. | ||||||||||||||||||||||||
-noLogs |
Be aware this means none errors saved to RPT file (report log). Yet in case of crash the fault address block info is saved. | ||||||||||||||||||||||||
-enableHT |
Enables the use of all logical CPU cores for parallel tasks processing. If your CPU does not support Hyper-Threading or similar technology, this parameter is ignored. When disabled, only physical cores are used. | ||||||||||||||||||||||||
-hugepages |
Enables hugepages with the default memory allocator (malloc) for both client/server (https://forums.bistudio.com/topic/160288-arma-3-stable-server-166-performance-binary-feedback/?page=74#comment-3130011) |
Profile Options
-name=<string> | Profile name. |
-profiles=<path> | Location of user-profile folder. If a custom path is set, default files and folders (logFiles, AnimDataCache, DataCache, SteamPreviewCache....) located by default in %localappdata%/Arma 3 will be created in that new location. However, old files will stay in the old location and will not be copied. |
-unit=<number> | parameter passes a unit's ID number to the binary, translates to https://units.arma3.com/my-units#?unit=<number> |
Developer Options
-noPause | Allow the game running even when its window does not have focus (i.e. running in the background) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-showScriptErrors | Introduced to show errors in scripts on-screen. In Eden Editor, script errors are always shown, even when this parameter is not used. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-debug | Enables more verbose error logging. (Template:Since) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-noLogs | Be aware this means none errors saved to RPT file (report log). Yet in case of crash the fault address block info is saved. More details here. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-filePatching | Allow the game to load unpacked data. For more info see CMA:DevelopmentSetup (since Arma 3 1.49+). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-init=<command> | Run scripting command once in the main menu. For example to start a certain SP mission of choice automatically. Example: -init=playMission["","M04Saboteur.Sara"]. See also playMission. The Mission has to reside in the "arma3\Missions" folder, NOT the user directory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
"<path>\mission.sqm" | Load a mission directly in the editor. Example: "c:\arma3\users\myUser\missions\myMission.intro\mission.sqm" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-autotest | Loads automatically a series of defined missions and on error writes to a log file.
The parameter can be used to automatically run a series of test missions. For example FPS measurement or scripting validation.
The autotest.cfg looks like: class TestMissions { class TestCase01 { campaign = ""; mission = "autotest\TestCase01.Desert_E";//relative path to the arma directory }; class TestCase02 { campaign = ""; mission = "c:\arma3\autotest\TestCase02.Desert_E";//absolute path }; }; Rpt entry: <AutoTest result="FAILED"> EndMode = LOSER Mission = autotest\TestCase01.Desert_E </AutoTest> If possible use simple worlds, like Desert, to keep the loading times short. The loading screen command might be useful as well to speed up task that need no rendering. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-beta=<string> | Loads the specified beta sub-folders. Separated by semi-colons. Absolute path and multiple stacked folders are possible. In Linux multiple folders arguments need the following separation syntax: -mod=betamod1\;betamod2\;betamod3 This allows use of beta build w/o disabling in-game mod/extension management (in UI menu). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-checkSignatures | Introduced to provide thorough test of all signatures of all loaded banks at the start game. Output is in .rpt file. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-d3dNoLock | Doesn't lock the VRAM | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-d3dNoMultiCB | D3D uses Single Constant Buffers instead of Multiple Constant Buffers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-crashDiag | extra crash-logging in performance binary, added on v18 (https://forums.bistudio.com/topic/160288-arma-3-stable-server-154-performance-binary-feedback/?p=2979101) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-noFilePatching | (deprecated) Ensures that only PBOs are loaded and NO unpacked data. It was replaced in favor of -filePatching parameter. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-debugCallExtension | Logs extension calls in the rpt log like this: https://i.gyazo.com/afb3f6f89ad6bf51aad01e1c3f9c7eac.png | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-command=<name> | Creates named pipe "\\.\pipe\name" for receiving predefined set of commands. See Arma 3 Named Pipe | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-language=<language> | Starts client with preferred language. Recognised languages: english, czech, french, german, hungarian, italian, japanese, korean, original, polish, portuguese, russian, spanish, turkish, chinese, chinesesimp
Misc.
Modifications
Client Network Options
Server Options
Use unknown
Closer Descriptionprofiles-profiles 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.
would store all your profiles/configs/downloaded content into your ROOT Arma folder under the folder name "Profiles" Path DefinitionThere are a few basics to keep in mind when defining path as part of a parameter. Spaces
Relative vs AbsoluteYou can define most, if not all path in both ways.
The relative path is normally based on the game main folder, where the exe resides in. Using beta patches does NOT change this! However when you use -profiles, some commands use this path defined there as base. |