Skip to content

Instantly share code, notes, and snippets.

@MildlyInterested
Last active November 17, 2024 11:26
Show Gist options
  • Save MildlyInterested/5ecefd1ad75522eae1fa5e8f4b839fd3 to your computer and use it in GitHub Desktop.
Save MildlyInterested/5ecefd1ad75522eae1fa5e8f4b839fd3 to your computer and use it in GitHub Desktop.
Arma useful things

Arma Preset Creator by ColinM

create HTML presets from steam collections (with a second, optional, mods collection)

https://armapresetcreator.co.uk/

PAA Converter in your Browser by Gruppe Adler

converts jpg, png to PAA and vise versa

https://paa.gruppe-adler.de/

Steam URL Opener by veteran29

Gives you an icon in your browser to click to open steam (workshop) pages directly in steam.

https://github.com/veteran29/steam-url-open-extension#download

Sever Log Analyzer by jannes-io

Gives you nice charts based on the readout of #monitords and other goodies.

https://logs.16aa.net/

Map name ending

Execute worldName in debug console while being on said map in the editor.

Arma3Map by jetelain

Renders of arma maps viewable in your browser.

https://jetelain.github.io/Arma3Map/

Arma3TacMap by jetelain

Similar name, same developer but on this map you can place down markers, AAP-6 Symbols and share the map by link for further edits.

With the Metis Marker mod you can even import the markers directly into Arma!

https://maps-beta.plan-ops.fr/

cTab on Phone by jetelain

https://ctab.plan-ops.fr/

Mod Catalog by #Sided Ace#1749

A nice overview of assorted mods, including maps.

https://docs.google.com/spreadsheets/d/11381hg9zFb-ctaA0h5_9X449xje0xqN8-npHZfh4bjM/edit#gid=151522227

Mods that break CBA by LAMBS Team

https://docs.google.com/spreadsheets/d/1ArNYYJgr0AMjZIf5YqIN3HqUVAY4uXwZ144zSNWVC6o/edit#gid=0

SteamCLI by Bytex

A steam command line interface thats lets you download big mods without timing out.

https://github.com/BytexDigital/SteamCLI

FASTER by Keelah

The only Arma 3 Server Manager you'll ever need on windows.

https://github.com/Foxlider/FASTER

7'erra's Editing Extensions by 7'erra

Includes an attachTo coordinate finder and many other goodies.

https://steamcommunity.com/sharedfiles/filedetails/?id=1387934106

Arma 3 Maps on globe by u/ItsWhiplash

Gives you an overview of where arma maps should be located. Picture

https://www.reddit.com/r/arma/comments/ml7163/arma_terrains_world_map/#

Advanced Developer Tools by Leopard20

Debug console with Syntax highlighting and linter and many other goodies.

https://steamcommunity.com/sharedfiles/filedetails/?id=2369477168

Easy way to check mod keys

Tick the box Check Signatures located under "Parameters" in your Arma 3 Launcher and you'll know if any of your loaded mods isn't signed!

image

SQF Syntax checking hosted by Dedmen running SQF-VM made by X39

Quickly check your changes online.

https://sqfvm.arma3.io/vm/

Mod whitelisting with ACE guide by Mildly_Interested

No more reliance on mods being signed correctly!

https://docs.google.com/document/d/1iauvUHmtk_hmGghdUmCK2pQKh6jDvHQ-56oWS-XcxRo/edit?usp=sharing https://share.streamlit.io/mildlyinterested/compare_lists/main/compare.py

You can press TAB to cycle through these in zeus

image

Export Arma 3 map as image(svg)

https://community.bistudio.com/wiki/diag_exportTerrainSVG
diag_exportTerrainSVG ["S:\Mapname.svg", true, true, true, false, true, true];
That false is important to not have black dots all over your exported map.

Arma 3 Maps in your browser by Anrop

An even bigger collection of Arma maps viewable in your browser.

https://aar.anrop.se/worlds

Arma 3 mission recording suite

Record your mission and play it back from a top down perspective in your browser. Example

https://github.com/OCAP2/OCAP

Post Process Effect Editor by Sams

A mission for editing, viewing and exporting post process effects, and exporting them your mission or mod.

https://steamcommunity.com/sharedfiles/filedetails/?id=350606620

SQF Editor

With syntax highlighting, some error checking and other goodies.

https://code.visualstudio.com/

with the following extenions:

https://marketplace.visualstudio.com/items?itemName=vlad333000.sqf

https://marketplace.visualstudio.com/items?itemName=skacekachna.sqflint

https://marketplace.visualstudio.com/items?itemName=bux578.vscode-openlastrpt

https://marketplace.visualstudio.com/items?itemName=HkonRRydland.a3cfgfunctions

To preview PAA files in vscode (and do HEMTT stuff):

https://marketplace.visualstudio.com/items?itemName=BrettMayson.hemtt

Server quick connect link

Clicking this link will bring up the join server dialog for players to connect. It's built like this:

steam://connect/<IP or FQDN>:<Serverport + 1>/<Password>
Example
steam://connect/gameservers.com:2303/Sand

Server availability checker

Wondering if your UDP port forward worked? This website will scan your IP for any running steam servers.

https://southnode.net/steamquery.php

Server performance tweaks by Team Effort

Memory Allocator by GoldJohnKing

The one used in start up parameters below, tested up to v206, v209 is said to have stability issues.

https://github.com/GoldJohnKing/mimalloc/releases

Startup Parameters

Strongly suggest running the arma3server_x64 from profiling branch which contains possible fps improvements which haven't made it to stable/main branch yet. It's still fully compatible with main/stable branch so your server running profiling will work with players on stable branch. You DO NOT need to use the arma3serverprofiling_x64 from profiling branch, that .exe contains additional profiling tools on top of the fps improvements.

startup parameters
-hugepages -maxMem=16000 -malloc=mimalloc_v203_LockPages -enableHT -bandwidthAlg=2 -limitFPS=500 -loadMissionToMemory

Process core affinity and priority

It's unclear if manually configuring core affinity for server and HC processes improve FPS. Setting the priority to "high" could improve FPS by as much as 10% according to some admins.

Network Settings

Thanks to Karmakut and his arma group for patiently waiting out server crashes.

//basic.cfg
MaxBandwidth = 2147483647; // 2.1 gbit //or comment out, setting doesn't do anything
MinBandwidth = 25600000; // 25.6 mbit/5 zeros //not really relevant, do not set higher than your actual available bandwidth, also tested with 256000000 (256mbit/6 zeros)
MaxMsgSend = 64; //IMPORTANT setting, also tested with 48 but that comes with increased lag whenever a player connects, setting this to 128 or more has resulted in the server yellow chaining and not recovering on 16AA and Karmakut servers.
MaxSizeGuaranteed = 512;
MaxSizeNonguaranteed = 1024;
MinErrorToSend = 0.001;
MinErrorToSendNear = 0.01;

Tested By

If there are multiple values in a column the right most is the latest one.

Group Players MaxMsgSend Internet Speed Host/Hardware Gamemode
16AA 10-80 48,64 1Gbit Hetzner/AX41/EX44 PvE/Zeus
Karmakut 100 48,64 1Gbit awn.gg/i9-12900K PvE/Liberation
Frenki#3671, armasrbija.rs ~50 48 unknown unknown unknown
Digby's War Room 92 48 1Gbit Hetzner/AX41 R5-3600/64 GB DDR4 PvE/Zeus
UNITAF 20-75 64 1Gbit Hetzner/AX41 R5-3600 PvE/Zeus
B.R.O 10-25 64 1Gbit 2x8 Core @ 2.27Ghz, 20GB RAM unknown
IBC 60 64 1Gbit i7-7700, 64GB RAM PvE

Let me know if it worked for you and I'll add you to this table.

Bisign2Bikey by Wrdg

Lets you easily create a bikey for unsigned mods so you can allow them on your server which has verified signatures enabled. No need for the client to download the bikey, just place it into your servers key folder and it'll work!

https://github.com/wrdg/Bisign2Bikey

AI not reacting to rounds hitting close if HC module is to far away by TCVM

It seems like AI on HCs are not aware of rounds hitting close by if the HC module they are on is more than ~8.5 km away from the battle.
HC module far away
HC module a lot closer

Easy server uptime checking

Visiting https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=YOUR_SERVER_IP:SERVER_PORT+1 will return any servers running on that port including game id and name.

Combine that with HTTP(s)-Keyword monitoring looking for the word Arma in your uptime monitor of choice and you'll be notified whenever your server is down.

PAA Viewer by Jonpas and Brett

Adding this extension will allow you to view .paa files directly on sites like GitHub.
Firefox Extension
Chrome Extension

Steam Enhanced Chrome Extension for Arma 3 by Flyingtarta

Gives you more functions while browsing the steam workshop like displaying the correct mod size, downloading mission PBOs and create presets.
Opening presets in your browser will allow you add or remove mods, view the total modpack size and merge multiple presets.

https://github.com/Flyingtarta/FTT-chrome-extension

Arma Mod Differential Unsubscriber by Crowdedlight

Unsubscribe from all the mods you no longer need without having to go through your 100s of mods manually! Provide it with presets of mods you want to keep and it'll remove the rest.

https://github.com/Crowdedlight/AMDU

@0xlord
Copy link

0xlord commented Oct 18, 2022

@Misfit-Ha
Copy link

is this correct or does it need another 0 for 250mbit?
MinBandwidth = 25600000; // 250 mbit //not really relevant, do not set higher than your actual avaible bandwidth

@MildlyInterested
Copy link
Author

@Misfit-Ha 25600000 (5 zeros) is correct, it should say 25Mbit. If memory serves right it also ran fine with 25600000 (6 zeros)/250Mbit while testing but what the gist says is whats being used right now.

@Misfit-Ha
Copy link

Misfit-Ha commented Nov 17, 2022

hey @MildlyInterested could you please send your Server Config File as well? We've been having these desync issues for months and I cant figure out what's wrong

@0xlord
Copy link

0xlord commented Nov 17, 2022

@Misfit-Ha All performance tweaks happen on the basic.cfg essentially. Only server.cfg value really worth checking would be steamProtocolMaxDataSize. Set it from 1024 to 8192 and you can transfer as many mods as you like when someone querries your server (e.g. using Steam Quick Connect Link).

@Crowdedlight
Copy link

Just to update my entry in the table for network settings:

Internet speed: 1 gbit
host/hardware: Hetzner/AX41 R5-3600//64 GB DDR4
gamemode: Zeus

And this is "Digby's War Room" Community.

@OverlordZorn
Copy link

ah dope, we have the same server :D -> copy paste :]

@MildlyInterested
Copy link
Author

Just to update my entry in the table for network settings:

Internet speed: 1 gbit host/hardware: Hetzner/AX41 R5-3600//64 GB DDR4 gamemode: Zeus

And this is "Digby's War Room" Community.

Definitely didn't take me a month to update...

@Crowdedlight
Copy link

Just to update my entry in the table for network settings:
Internet speed: 1 gbit host/hardware: Hetzner/AX41 R5-3600//64 GB DDR4 gamemode: Zeus
And this is "Digby's War Room" Community.

Definitely didn't take me a month to update...

haha :D

Btw, I can see I forgot, but our missions is only: PvE, So Zeus hosted PVE missions. (Makes a difference as AI is a big strain compared to only players) ;-)

@OverlordZorn
Copy link

Note regarding Network settings

Rule of thumb is 0.5 Mbit/s Upload per player on your server

@Crowdedlight
Copy link

Some blatant self-promotion with a tool I know multiple people have found useful ;-)

Arma Mod Differential Unsubscriber (AMDU) - https://github.com/Crowdedlight/AMDU
Easy way to check what mods you can unsubscribe while keeping all the mods in the presets you give it. It will also unsubscribe the selected mods for you. Require Steam is installed, logged in and running on the computer.

(I also have https://arma.crow.ovh/ as a browser based option, but can not unsubscribe for you, and require to also give it a list of all subscribed mods, so not as useful as AMDU)

@MildlyInterested
Copy link
Author

Sounds like a useful tool to me! Will add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment