User Tools

Site Tools


arma:startup_parameters

ArmA 1 Startup Parameters

ArmA 1 Forum, ArmA 1 Home, ArmA 1 Config, ArmA 1 Tools, ArmA 1 File Formats, ArmA 1 Missions, ArmA 1 3D Modeling, ArmA 1 Terrain, ArmA 1 Texturing, ArmA 1 Scripting

ArmA 1 aka Armed Assault (ArmA)

These parameters can be configured by creating a new shortcut on your desktop or creating a startup batch file and then adding the appropriate option.

Example:

“C:\…\some_path\ArmedAssault.exe” -nosplash -mod=vietnam

Display Options

Parameter Function
-x= Numeric, used to set resolution width
-y= Numeric, used to set resolution height
-window Displays ArmA windowed instead of full screen
-nosplash Disables intro and splash screens
-benchmark Intended for automated benchmarking, but was never finished and is not working.
/secuexp Starts Securom Support (for Troubleshooting)

Misc

Parameter Function
-maxmem= Limit memory allocation (in MB)
-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)
-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))
-noland Starts ArmA with no world. (Used for Bulldozer)
-buldozer Start ArmA 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.
-vm108 Mimic the 1.08 version virtual address space handling (Uses more virtual space, but can be handy if you know 1.08 was stable for you, and 1.09 for some reason is not)
-noPause Allow the game running even when its window does not have a focus.

Modifications

Parameter Function
-mod= Allows you to subdivide your addons into different folders, folder names separated by semi-colons. See moddirs for more information. Under Linux you need to separate multiple folders like this: -mod=mod1\;mod2\;mod3
-cfg= Selects a config file like your Server Basic Config file. Processed at startup.
-config= Selects a config file like your Server Config File. Processed after startup. Config file for server specific stuff like admin password and mission selection.
-profiles= Alternative placement for per-user content. User/ dir!
-BEpath= Set Battleeye path Default is C:\Documents and Settings\[User Name]\Local Settings\Application Data\ArmA\BattlEye

One of the most powerful feature is the -mod= parameter, where you place all your addon directories. Another very important feature for us old schoolers is to setup where ArmA places the user made content directory, ie User/ dir. Use -profiles= parameter to set this dir up, for example:

-profiles=d:\arma

Would create the user dir into ArmA root, which would be D:\arma\Users\ directory. Now all your config files and missions are placed under this dir.

Network Options

Parameter Function
-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 ArmA multiplayer network traffic logging.

Closer Descriptions

config

The option -config allows you to specify a specific server.cfg file.

profiles

-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.

An example might be like this:

"C:\ArmA\ArmA.exe" -profiles=C:\ArmA

Or

"C:\ArmA\ArmA.exe" -profiles=profiles

Would store all your profiles 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:\ArmA\ArmA.exe" -ranking=C:\ArmA\ranking.log

nosplash

-nosplash is a startup option that allows you to bypass the splash screens on startup of Operation Flashpoint and Armed Assault.

Note: Real speed-up gained with this is likely to be negligible with Armed Assault, 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.

ArmA 2 Startup Parameters Config File

These settings only apply for ArmA 2 (does not work in Armed Assault).

The config file can be used to put startup parameters in, instead of specifying them at a shortcut / command line.

NOTE: low level parameters are NOT supported. .par file does not (and will not) support some low level parameters, like: -cpuCount, -malloc, -exthreads and -maxMem. The reason is those need to be initialized before any file operations are done.

Pre ArmA 2 build v1.59.86060

Location: Inside game directory.

Naming depending on game: ArmA2.par or ArmA2OA.par.

Format:

class Arg
{
        startupParameter="-startupParameter"
        startupParameter2="-startupParameter2=value1;value2"
};

Example:

class Arg
{
        nosplash="-nosplash";
        skipIntro="-skipIntro";
        world="-world=none";
        mod="-mod=Expansion;Expansion\beta;Expansion\beta\Expansion;x\vte";
};

Post ArmA 2 build v1.59.86060

Location can be defined with -par=parameterFileName startup parameter. If file extension is .par the formatting described previously is required. With any other extension (like .txt) a plain text is assumed, with one command line option per line. In both cases the file is preprocessed before parsing, allowing C++ style comments and #define-s to be used.

Format:

-startupParameter
-startupParameter2=value1;value2
MissionFileToOpenInTheEditor

Example:

-nosplash
-skipIntro
-world=none
-mod=Expansion;Expansion\beta;Expansion\beta\Expansion;x\vte
"c:\arma2\Users\USERNAME\missions\MissionName.Desert_E\mission.sqm"
arma/startup_parameters.txt · Last modified: 2024/08/01 16:10 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.