- Log in using SteamCMD with your credentials (you need to own INFRA on your account)
- Start
steamcmd
via command line. - Type:
login YOUR_USERNAME_HERE
- Type in password and 2FA code.
- Start
- Set install directory using
force_install_dir
- Example on Linux:
force_install_dir /home/alex/my_gmod_server/infrafiles
- Example on Windows:
force_install_dir C:/my_gmod_server/infrafiles
- Example on Linux:
- Make sure to set the correct platform type for SteamCMD:
@sSteamCmdForcePlatformType windows
- This is only necessary for Linux, but doesn't affect anything on Windows.
- Download INFRA files:
app_update 251110 validate
validate
at the end is optional, but I recommend using it to validate your downloaded files.
- Open up your
mount.cfg
file (using a text editor like Notepad++ or similar) inside yourgarrysmod/cfg
directory- In my case (Linux), the full directory would be
/home/alex/my_gmod_server/garrysmod/cfg/mount.cfg
- Or on Windows:
C:/my_gmod_server/garrysmod/cfg/mount.cfg
- In my case (Linux), the full directory would be
- Add a line inside the "squiggly brackets" (they look like this:
{}
) and put:- Linux:
"infr" "/home/alex/my_gmod_server/infrafiles/infra"
- Windows:
"infr" "C:\my_gmod_server\infrafiles\infra"
- I added an example
mount.cfg
down below.
- Linux:
- Restart the server.
Last active
March 31, 2019 19:31
-
-
Save Decicus/d7b701830ded1f45f8b6ad101f27cafa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Use this file to mount additional paths to the filesystem | |
// DO NOT add a slash to the end of the filename | |
// | |
"mountcfg" | |
{ | |
// "cstrike" "C:\steamcmd\steamapps\common\Counter-Strike Source Dedicated Server\cstrike" | |
// "tf" "C:\mytf2server\tf" | |
"infr" "/home/alex/my_gmod_server/infrafiles/infra" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Example bash script for downloading INFRA content on a Linux server. | |
USERNAME="decicus" | |
INSTALL_DIRECTORY="/home/alex/my_gmod_server/infrafiles" | |
./steamcmd +login $USERNAME +force_install_dir $INSTALL_DIRECTORY +app_update 251110 validate +quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment