• GMod Dedicated Server: Can't Mount CS:S (Linux)
    24 replies, posted
I'm having trouble mounting CS:S on Linux, My mount.cfg looks like: [code] "mountcfg" { "cstrike" "/home/cssds/cstrike" } [/code] The folder structure is as follows, GMod: /home/gmodds/garrysmod CS:S /home/cssds/cstrike There are no errors, but the CS:S content just doesn't seem to be showing.
Are all the files and folders under cstrike lowercase? Look especially in the models folder among the different subfolders.
Yeah, I think so. [img]http://puu.sh/39TaL/cae7099267.png[/img] [editline]6th June 2013[/editline] Just noticed, I can't see anything to do with models there though.
Are you sure your "server" user has access to the cssds home folder? I believe you setup one user for your Garry's Mod server and one user for your cssds installation. The GMod user doesn't have access to the cssds's home folder. Simply move over the cssds folder to the home folder of your GMod user.
the user owns both the cssds and gmodds directories
Run these two commands please and send me the result.: [code] ls -l /home/gmodds ls -l /home/cssds [/code]
-snip-
[code] [root@test1 ~]# ls -l /home/gmodds total 52 drwx------ 4 gmodds root 4096 Jun 6 05:20 bin drwx------ 4 gmodds root 4096 Jun 5 19:23 e7e62b75c8b67cdb592657b06c4b91a183408c29 drwx------ 24 gmodds root 4096 Jun 6 13:22 garrysmod -rwx------ 1 gmodds root 226 Jun 5 19:13 install.sh drwx------ 9 gmodds root 4096 Jun 5 19:23 platform drwx------ 6 gmodds root 4096 Jun 5 19:23 sourceengine -rwx------ 1 gmodds root 7796 Jun 5 19:23 srcds_linux -rwx------ 1 gmodds root 10712 Jun 5 19:23 srcds_run -rwx------ 1 gmodds root 156 Jun 6 09:21 start.sh -rwx------ 1 gmodds root 6 Jun 6 13:22 steam_appid.txt [root@test1 ~]# ls -l /home/cssds total 92 drwx------ 4 gmodds root 4096 Jun 5 19:18 87642a5936a1dd0ae3f905e40551e67e3dbfe3d8 drwx------ 2 gmodds root 4096 Jun 5 19:18 bin drwx------ 10 gmodds root 4096 Jun 6 17:35 cstrike drwx------ 5 gmodds root 4096 Jun 5 19:18 hl2 drwx------ 6 gmodds root 4096 Jun 5 19:18 platform -rwx------ 1 gmodds root 6731 Jun 5 19:18 srcds_linux -rwx------ 1 gmodds root 9729 Jun 5 19:18 srcds_run -rwx------ 1 gmodds root 5 Jun 5 19:20 steam_appid.txt -rwx------ 1 gmodds root 47205 Jun 5 19:18 thirdpartylegalnotices.txt [/code]
Alright, folder permissions looks good. Have you tried removing /home from the path?
Just tried, still not working. :(
What exactly do you want to mount? Since there's no materials, models or sound folder in the cstrike folder, the only thing that gets mounted are the maps.
I am having the same issue, I am looking for the models & textures as they do not work from the spawn menu in Garry's Mod. I am using Centos 6, done everything properly and permissions are fine but nothing from TF2 or Counter Strike Source will spawn. I don't care about the maps.. I run sandbox build.
I am hosting a DarkRP server and its telling me counterstrike is incorrectly installed, how do I get the counterstrike models materials and sounds with steamcmd?
Run the following commands: [code] cd /home/gmodds ln -s /home/cssds/cstrike [/code] Now, change your mount.cfg to this: [code]"mountcfg" { "cstrike" "cstrike" }[/code] And that should do it. [B]EDIT: (START HERE IF YOU WERE LINKED HERE)[/B] Since I'm linking to this post in other topics for other people's server setups, let me explain. What we're doing is creating a symbolic link (like a shortcut on Windows) to the cs:s directory, which lets us simplify the file path in a way that works. The steps are to first navigate in a shell prompt to the directory that your "srcds_run" file is located for your Garry's Mod install. Then run "ln -s /<PATH_TO_CSS_INSTALL>/cstrike". This creates the symbolic link, which should show up in the gmod directory as "cstrike". After that, just like above, replace your mounting directory in mount.cfg as simply "cstrike". The same applies for all other games. I assume garry will fix the path issues eventually, but this should get things working until then.
Hmmm.... [code] [root@test1 gmodds]# ln -l /home/cssds/cstrike ln: invalid option -- 'l' Try `ln --help' for more information. [/code] [editline]7th June 2013[/editline] -L Maybe?
Sorry, meant -s. Updated.
Also, I don't think the CS:S DS contains the models either. [QUOTE=jaooe;40928180] [img]http://puu.sh/39TaL/cae7099267.png[/img] [/QUOTE] [editline]7th June 2013[/editline] Yeah, just tried, still not working.
Run "ls -l /home/gmodds" again and post the output? P.S. I don't know if this will fix DarkRP, but I know it will mount CS:S content. We fixed our TTT and ZS servers this way, and it let us spawn CS:S props and models in a sandbox test.
[code] [root@test1 ~]# ls -l /home/gmodds total 52 drwx------ 4 gmodds root 4096 Jun 6 05:20 bin lrwxrwxrwx 1 root root 19 Jun 7 03:25 cstrike -> /home/cssds/cstrike drwx------ 4 gmodds root 4096 Jun 5 19:23 e7e62b75c8b67cdb592657b06c4b91a183408c29 drwx------ 24 gmodds root 4096 Jun 7 03:31 garrysmod -rwx------ 1 gmodds root 226 Jun 5 19:13 install.sh drwx------ 9 gmodds root 4096 Jun 5 19:23 platform drwx------ 6 gmodds root 4096 Jun 5 19:23 sourceengine -rwx------ 1 gmodds root 7796 Jun 5 19:23 srcds_linux -rwx------ 1 gmodds root 10712 Jun 5 19:23 srcds_run -rwx------ 1 gmodds root 156 Jun 6 09:21 start.sh -rwx------ 1 gmodds root 6 Jun 7 03:26 steam_appid.txt [/code] Does your CS:S DS installation have a materials and models folder? [editline]7th June 2013[/editline] I'm thinking this might not be due to the CS:S content failing to mount and more due to the lack of models and materials to find.
Looks like the symbolic link is there and valid... And you changed you mount.cfg as well? No, my cstrike does not contain materials or models.
yeah, mount.cfg [code] // // Use this file to mount additional paths to the filesystem // DO NOT add a slash to the end of the filename // "mountcfg" { "cstrike" "cstrike" } [/code] [editline]7th June 2013[/editline] Waiiiiiit a second, something's not right here... [thumb]http://puu.sh/3abSq/06464e555b.jpg[/thumb] Think I installed CS:GO not CS:S... That would be my bad. :smile: That's odd though, because I definately used the ID for Counter Strike: Source, as there is a vast difference between the two.
I'm curious if it has something to do with DarkRP specifically... If you load up sandbox, can you spawn any props from it CS:S? Also, probably silly to ask, but just to be sure, are you sure you have CS:S mounted clientside? In sandbox, even without the cstrike folder containing the materials and models, I was able to spawn all models/props from CS:S. If I did not have them mounted like I showed above, they would not load or spawn at all (except the fallback models). EDIT: Haha, right after I post this, I saw you posted that it was a clientside issue =P It happens lol. Lemme know if it worked after all then?
Ah, that may be the problem, I don't think I have CS:S mounted clientside, how do I mount it? Same way?
[QUOTE=jaooe;40933655]Ah, that may be the problem, I don't think I have CS:S mounted clientside, how do I mount it? Same way?[/QUOTE] Load up GMOD, and in the bottom right on the front page, click the game controller icon. There should be checkboxes next to each game name, which when checked will mount the game. Then just restart and try to join the server. If the checkbox is greyed out, you may need to run CS:S locally first to let it convert to steampipe, then try mounting it.
Yeah, converting it to steampipe right now, I'll post to confirm whether this is the problem, but I'm assuming so. [editline]7th June 2013[/editline] It worked, note: DarkRP still says counterstrike is incorrectly installed, but props work.
Sorry, you need to Log In to post a reply to this thread.