Jump to content
Sign in to follow this  
draeath

Linux dedicated server - patch for arma2server

Recommended Posts

Unified Diff Patch for the ArmA2 linux dedicated server's launch script to support mods and profiles. Tested with ARMA 2 1.05.62021 (December 22, 2009).

Patch MD5: check this file

This patch makes it easy to specify what profile and what mods are used when you run the server. If the environment vars "A2MODS" and "A2PROFILE" are not set, they default to "@nullmod" and "player" respectively. If @nullmod doesn't exist when run, the script creates it. This moddir should remain empty.

Enjoy :D

(and be sure to fix the ARMA_DIR= at the top. I forgot that I had hardcoded it on my server and it found it's way into the patch).

EDIT: tiny fix and new MD5 sum as a result

Edited by draeath

Share this post


Link to post
Share on other sites

The patch has been updated. Couple fixes, including some extra logic to prevent duplicate servers from running (which kept happening to me). Removed the useless -profiles argument, etc.

Let me know what you all think!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×