/arma3-unix-launcher

Launcher for Linux and Mac ArmA 3

Primary LanguageC++MIT LicenseMIT

ArmA 3 Unix Launcher

Codacy Badge Build Status Actions Status

ArmA 3 Launcher for Linux and Mac. Since Bohemia didn't port their launcher to Linux and Mac and existing launcher didn't satisfy my needs I decided to create my own.

Table of contents

Installing

From package

For Debian based distributions (Debian, Ubuntu), Arch based distributions (Arch, Manjaro) and Mac OS X there are packages available in releases tab!

For Arch based distributions there's an AUR package available - it's called arma3-unix-launcher-bin

yay -S arma3-unix-launcher-bin

Building from source

Requirements:

  • GCC 8 or newer (Clang with C++17 support should work too)
  • CMake 3.11
  • Qt5 with SVG support, version 5.9 or later
  • fmt (optional)

Debian based (Debian, Ubuntu)

apt install cmake qt5-default libqt5widgets5 libqt5svg5 libqt5svg5-dev libfmt-dev

Arch based (Arch Linux, Manjaro)

pacman -S cmake fmt nlohmann-json pugixml qt5-base qt5-svg

Fedora

dnf install gcc gcc-c++ cmake qt5-qtbase qt5-qtsvg qt5-qtbase-devel qt5-qtsvg-devel

Mac OS X

brew install gcc cmake qt

Build process

git clone https://github.com/muttleyxd/arma3-unix-launcher.git
cd arma3-unix-launcher
mkdir build
cd build
cmake ..
make

After that you can launch with

./src/arma3-unix-launcher/arma3-unix-launcher

Launch parameters

Usage: arma3-unix-launcher [options] 

Optional arguments:
-h --help          	show this help message and exit
-l --list-presets  	list available mod presets
-p --preset-to-run 	preset to run, launcher will start Arma with given mods and exit
--server-ip        	server ip to connect to, usable only with --preset-to-run
--server-port      	server port to connect to, usable only with --preset-to-run
--server-password  	server pasword to connect to, usable only with --preset-to-run
-v --verbose       	verbose mode which enables more logging

Example:

arma3-unix-launcher --preset-to-run testmod --server-ip 127.0.0.1 --server-port 1234 --server-password asdasd

Screenshots