America's Army: Proving Grounds

America's Army: Proving Grounds

Not enough ratings
AAPG PC Linux Game Server HowTo
By Tear and 1 collaborators
This guide is a quick start for server admins interested in hosting an AAPG Linux dedicated server.
Rate  
Favorite
Favorited
Unfavorite
Linux Server Access
Obtain root access to a server running the Linux OS. Knowledge of basic Linux OS server administration best practices is recommended.

Important note: The AAPG Linux Dedicated Server is not compatible with hosting User Generated Content (UGC) from the Steam Workshop.
Install SteamCMD
Follow this guide from Valve to Install SteamCMD on your particular Linux distribution.
https://developer.valvesoftware.com/wiki/SteamCMD
Download the Game Server Files
Use SteamCMD to obtain game server files from Steam.

steamcmd.sh +login anonymous +force_install_dir ../AAPG_PC_DS +app_update 203300 validate +quit

This output of this command should show the server downloading the files in segments.

[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Logging in user 'aapa_it' to Steam Public...Logged in OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 49.41 (275273587 / 557113986)
Update state (0x61) downloading, progress: 78.87 (439390492 / 557113986)
Update state (0x61) downloading, progress: 92.37 (514601304 / 557113986)
Update state (0x61) downloading, progress: 97.25 (541766170 / 557113986)
Success! App '203300' fully installed.

Note:
At the time of this writing, the game server footprint is approximately 1.32GB.
Open the Game Server Ports
Open the required network ports for the game server.

UDP 7778 - aapg game traffic
UDP 8765 - teamspeak (voip)
UDP 27000 - 27030 - steam server query
Starting and Stopping the Game Server
Manually start the default configured game server instance:
cd AAPG_PC_DS/Binaries/Linux/

./AAPG&
(this will launch the server with a randomly selected map)

./AAPG BDX_Siege_EX&
(this will launch the server with the specified map)

Note: the “&” allows the console to close w/o stopping the game server instance.

Use the top command to monitor the AAPG server process and determine the PID.

Stop the game server by using pkill -f [PID].

The first launch of the game server instance will generate a set of configuration files.
Configure the Game Server
Navigate to the game server configuration file and use your favorite editor to make changes.

cd AAPG_PC_DS/AAGame/Config
nano PCServerLinux-AAGame.ini

Many users configure a unique server name and choose an admin password. There is a more comprehensive server configuration guide here:
https://steamcommunity.com/sharedfiles/filedetails/?id=527515940
Once configuration changes have been made, save the changes and stop/start the server instance.