Apply for Membership
Don't forget to vote!
Donate

Donate

Recent Donations
Dave Wilco
£10.00 GBP
4 days ago
[TWC] Fro
€5.00 EUR
6th Apr
[TWC] Rik
€2.50 EUR
2nd Apr
[TWC] Bosenator
€5.00 EUR
2nd Apr
[TWC] Raft
€2.50 EUR
25th Mar
Next »
Online Members
[TWC] Crow
Online now

nickthegreek
23 minutes ago
Online Guests: 19
Events
Time Zones

UK BST

06:40:40

US EST Time

01:40:40

UTC

07:40:40

Launching ArmA 3 from a desktop shortcut
Forum » Information and Rules » Technical Difficulties and Solutions
Joined: 25th Apr 2014
Rank: Public Player
Likes 88
18th Feb 2015

This method can be used with manually installed mods or ones updated with Play withSIX.

The main advantage is you have a separate icon for each set of launch options.

Create A Shortcut

Go to your ArmA 3 folder (the one with arma3.exe in it).  It should be something like:

   C:\Program Files (x86)\Valve\Steam\SteamApps\common\Arma 3

Right click on the arma.exe file and select Create shortcut (near the bottom of the list).

Now drag the shortcut onto your desktop.

Rename the short cut something appropriate, like: TWC Modset

We now have a working shortcut on the desktop that will launch ArmA 3 but currently it has no bells and whistles.

Adding Command Line Options

Options are added by selecting the shortcut (left click on it) and press Alt+Enter to open the Properties dialogue.

In the Target field add options to the end like:

   ...Arma 3\arma.exe" -option1 -option2

Where there is a hyphen before the option and a space between each subsequent option.

As the Target field in the shortcuts Properties dialogue is quite small, I open notepad and create the command line in that then copy and paste it onto the Target field.

The Mod Option

The most important option is the -mod option. This allows the selection of the required mods to be used with the shortcut.  This has a general format is:

   -mod=@mod1   (for one mod)
   -mod=@mod1;@mod2;@mod3   (many mods separated by '; ' character)

For the TWC Public server the mod list would be:

   -mod=@CBA_A3;@agm;@STKR_BI;@cup;@ASDG_JR;@rhs_afrf3;@rhs_usf3;@task_force_radio

Options to speed the launching of ArmA 3

   -nosplash -world=empty -skipIntro

These disable the 'splash screens', stops a world being loaded and disables world intros in the main menu.

Options for launching a server

You can set options to set the user profile, server and port to connect to:

   -name=UserName -connect=ServerIP -port=Port

e.g

   -name=Strider -connect=259.270.249.267 -port=9314
   yes I know the server IP is invalid

Development options

This is an option that does not have a hyphen or a tag.

   “<mission-path>\mission.sqm”

Where <mission-path> is something like:

   C:\Users\gavin\Documents\Arma 3\Missions\template_mp.Stratis\
   C:\Users\gavin\Documents\Arma 3 - Other Profiles\Strider\Missions\template_mp.Stratis\


This will specify the mission to load straight into the editor. The double quotes are required.

Note: This can cause problems with the command line being too big to fit in the Target field.  The limit being 259 characters.  If this is the case then see Appendix B: Command Line > 259 below.

   -window


Run the game windowed mode.  I find it easier to tab in and out of the game as well as look at the game and other information.

  -showScriptErrors

Will display script errors.  Though not usually long enough for you to be able to take in the information but at least you know there is an error.

Appendix A: Useful links

ArmA 3 Startup Parameters: https://community.bistudio.com ... 3_Startup_Parameters

Appendix B: Command Line > 259

For some reason you can't put a command line longer than 259 in the Target field of and shortcut's Properties dialogue.  The actual Windows command line limit (since WinXP) is 8,191 (ref: http://support.microsoft.com/kb/830473).  The solution is to create a command file.  A file with the extension .cmd:

Go to your ArmA 3 profile directory.  Which should be something like one of the following (It can be an suitable directory but this is where I put them).  One of:

   C:\Users\gavin\Documents\Arma 3 (for default profile)
   C:\Users\gavin\Documents\Arma 3 - Other Profiles\ <your-profile-name>

And create a folder called Shortcut.

In the Shortcut folder create a file called <someName>.cmd (Where some name is descriptive of the shortcut we want to create.  e.g.

twc_server.cmd

Now edit the file you have just created.  All you need to do is put the command line in.  But it would be good to add a comment to says what the command is doing.

:: Launch ArmA 3 and connect to the TWC Public server.
:: v1.0 by Strider
"C:\Program Files (x86)\Valve\Steam\SteamApps\common\Arma 3\arma3.exe" -big -command "C:\Users\ … \hope.Altis\mission.sqm"


Where anything after ':: ' is considered a comment and ignored by the execution system and the command must be one line with no returns in it.

One final nerdy option is to split the lines by putting the '^ ' character at a suitable break.

:: Launch ArmA 3 and connect to the TWC Public server.
:: v1.0 by Strider
"C:\Program Files (x86)\Valve\Steam\SteamApps\common\Arma 3\arma3.exe" ^
  -nosplash -skipIntro -showScriptErrors ^
  -mod=@cba_a3;@agm;@alive;@task_force_radio -window -strider ^
  "C:\Users\gavin\Documents\Arma 3 - Other Profiles\Strider\Missions\tao_template_nA.Altis\mission.sqm"


You can't break a line between double quotes.

Now create a shortcut to the .cmd file.  In Windows Explorer, right click the file and select Create shortcut (near the bottom of the list).

Drag the file onto your desktop.  Rename it to something appropriate.

Change the shortcut icon

Select the shortcut (left click on it) and press Alt + Enter to display the Properties dialogue.
Click the Change Icon... button.
Click the OK button to choose an icon form a different file.
Finally we have the Change Icon dialogue.
Click the Browse button and navigate to the arma.exe file and click OK, OK.

Phew!  If you created the cmd file and shortcut successfully award yourself a 'Geek Squad' medal.  S

Edit: 23 Feb 2015 @1110
Edit: 25 Feb 2015 @1109 - Updated mod list.
The following in a command file will launch straight into the public server:

"C:\Program Files (x86)\Valve\Steam\SteamApps\common\Arma 3\arma3.exe" ^
  -nosplash -skipIntro -name=[i]your-profile-name[/i] -connect=85.25.74.71 -port=2302 ^
-mod=@CBA_A3;@agm;@STKR_BI;@cup;@ASDG_JR;@rhs_afrf3;@rhs_usf3;@task_force_radio;@3cb_config;@3cb_baf_units;@3cb_baf_vehicles;@rksl_attachments;@beretpack2


Obviously edit the your-profile-name.

Edit 30 Mar @1806 - Rpaced the steam launch system with direct call to the arma3.exe to avoid news splash that get in the way of the command line options.


A day may come when the courage of Alpha fails, when we forsake our friends and break all bonds of fellowship,
but it is not this day. An hour of wolves and wrecked weapons when the West comes crashing down, but it is not this day!
This day we fight! By all that you hold dear on this good earth, I bid you stand, Men of the West!

Last Edit: 30th Mar 2015 by Strider
Forum » Information and Rules » Technical Difficulties and Solutions
Please login or register to reply.
Chat Box
[TWC] Tread 19:08
i will try
[TWC] Hobbs 19:04
I'll hop on too after dinner
[TWC] Lukey 19:02
If I don't melt away I will Aley
[TWC] Aleyboy 18:56
Anyone for some more public tonight?
[TWC] Björn 19th Apr
I know, next week i will be there
[TWC] JEFRO 19th Apr
lol
[TWC] jayman 19th Apr
but your not signed up...
[TWC] Björn 19th Apr
SIGN UP BOYS create some spare time so you can join the op, love you all who sign up
[TWC] Mr T 18th Apr
The Para Drop from tonight https://youtu.be/_C5L6z3E ... LlI and how not to clear IEDs
[TWC] Mr T 18th Apr
yep!
[TWC] Aleyboy 18th Apr
aye
[TWC] Hobbs 18th Apr
some again tonight chaps?
[TWC] Tread 17th Apr
im down but not ill around 8
[TWC] freez 17th Apr
anyetime aleyboy
[TWC] Aleyboy 17th Apr
Public tonight same time?
[TWC] Hobbs 16th Apr
lets say 1900, we'll try the kunduz fixes too
[TWC] Aleyboy 16th Apr
What time we starting?
[TWC] Hobbs 16th Apr
public tonight, first run of the new interpreter
[TWC] Lukey 16th Apr
That's good Winter, nice to hear from you.
[TWC] Bosenator 16th Apr
hey winter
Countdown
Operation ALDERSHOT
1 Day, 11 Hours, 39 Minutes and 20 Seconds
Roster
Newest Players
Jason
1 day ago

mailhobo
1 day ago

Complaicant
2 days ago

Marinov
3 days ago

calmanix
4 days ago