Skip to content

Commit 9e784cf

Browse files
dgibbs64gitbook-bot
authored andcommitted
GITBOOK-348: change request with no subject merged in GitBook
1 parent 0cdf91a commit 9e784cf

1 file changed

Lines changed: 19 additions & 17 deletions

File tree

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,39 @@
11
# Mounting Game Content
22

3-
Some Garry's Mod addons like TTT use content from other games. This guide is for installing another game with LinuxGSM, copying that game's files, and mounting the game to Garry's Mod. This guide is for CS:S but should work for any other game.
3+
Some Garry's Mod addons like TTT use content from other games. To do this the content will need to be "mounted".
44

5-
First install a Counter-Strike: Source server, if you already have a server installed this step can be skipped. If the server will be deleted after copying files, the GSLT step is skippable. 
5+
{% hint style="success" %}
6+
All source engine games should be mountable.
7+
{% endhint %}
68

7-
[Install CS:S Server with LinuxGSM](https://linuxgsm.com/servers/gmodserver/)
9+
##  Basic Guide
810

9-
## Mounting one server
11+
This guide is for installing another game server with LinuxGSM and use that content, copying that game's files, and mounting the game to Garry's Mod. This guide is for CS:S but should work for any other game.
1012

11-
**Change the usernames to match yours.** 
13+
{% hint style="info" %}
14+
There are multiple ways to potentially mount content. The below example is just one example
15+
{% endhint %}
1216

13-
Copy the cstrike folder to the Gmod folder.
17+
First install a Counter-Strike: Source server, if you already have a server installed this step can be skipped. If the server will be deleted after copying files.
18+
19+
[Install CS:S Server with LinuxGSM](https://linuxgsm.com/servers/cssserver/)
20+
21+
Copy the `cstrike` the directory from the Counter-Strike: Source to the Gmod folder.
1422

1523
```
16-
cp -R /home/cssuser/serverfiles/cstrike/ /home/gmoduser/serverfiles/cstrike/
24+
cp -R /home/cssserver/serverfiles/cstrike /home/gmodserver/serverfiles/cstrike
1725
```
1826

19-
Recursively claim ownership of files for the gmod user.
27+
Ensure that the copied files are owned by the `gmodserver` user.
2028

2129
```
22-
chown -R gmoduser /home/gmoduser/
30+
chown -R gmodserver /home/gmodserver
2331
```
2432

2533
Open mount.cfg file.
2634

2735
```
28-
nano /home/gmoduser/serverfiles/garrysmod/cfg/mount.cfg
36+
nano /home/gmodserver/serverfiles/garrysmod/cfg/mount.cfg
2937
```
3038

3139
Add game to mount.cfg
@@ -37,16 +45,10 @@ Add game to mount.cfg
3745
}
3846
```
3947

40-
Restart the server. Check if the mount was successful by changing level to a mounted map with console or rcon.
48+
Restart the server. Check if the mount was successful by changing the level to a mounted map with console or rcon.
4149

4250
```
4351
changelevel cs_italy
4452
```
4553

46-
If the CS:S user and install is no longer needed, it can be removed with userdel. **This command will remove the user and it's /home/ directory.**
47-
48-
```
49-
userdel -r cssuser
50-
```
51-
5254
##

0 commit comments

Comments
 (0)