mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 22:25:59 +03:00
[GH-ISSUE #136] [gmodserver] Add functions to allow CS:S content mounting #111
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Scarsz on GitHub (Aug 19, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/136
I would like to add another option line after asking if the server directory is correct to check if the server wants Counter Strike: Source content to be installed as well as the server. I believe the default value should be true as you will rarely if ever see a garrysmod server that does not have CS:S mounted as it's required for popular gamemodes and addons.
Schooling will be overrunning my life again shortly so if anybody else want's to snag this before I get around to it go ahead.
@dgibbs64 commented on GitHub (Aug 25, 2014):
This would be useful. If this can be done with all extra game content that would be great. Maybe a a new option to download and mount certain content.
@Scarsz commented on GitHub (Sep 10, 2014):
I will work on this later today when I am home. I am thinking of having it take user input as a string then having it grep to see if a number assigned to each of the possible servers are there.
In English:
[1] Counter Strike: Source [Installed]
[2] Team Fortress 2 [Not installed]
[3] Portal [Not Installed]
[0] None
Select which server content you would like to be installed: [0]
You get the point.
I'm thinking of having this as a built-in function of the script that would only execute this feature and not the whole installation, though will still be included there.
@dgibbs64 commented on GitHub (Sep 10, 2014):
Sounds good. Something like ./gmodserver content maybe. Ideally the ability to add and remove content as required would be ideal.
@dgibbs64 commented on GitHub (Jan 9, 2015):
Any Garry's mod admins want to have ago at writing this feature?
@h3o66 commented on GitHub (Apr 16, 2015):
I would write it, i'll have a look at it in the next few weeks.
@dgibbs64 commented on GitHub (Apr 16, 2015):
Awesome. I look forward to the outcome :D
@dgibbs64 commented on GitHub (Jan 8, 2016):
@UltimateByte What do you think to this feature? As im not a gmod expert. I did start some cod ebut haven't finished it.
@UltimateByte commented on GitHub (Jan 8, 2016):
I like it, 90℅ of gmod servers need it, either darkrp or prophunt, many main mods need it.
If you can make it so it's easier to add other game content it's even better !
@JimTR commented on GitHub (Jan 8, 2016):
why not install counter strike source & edit mount.cfg ? within the install ... as 90% need the content
@UltimateByte commented on GitHub (Jan 9, 2016):
I personally made an srcds user that has all the needed content, which comes mainly from LGSM script installations. Then i edited mount.cfg to use that content. Sometimes i make an update of those, like every 6 months, just in case, and that does the trick.
@JimTR commented on GitHub (Jan 9, 2016):
I would guess CSS would need an update in a shorter period than 6 months ... however I may be wrong ..so the script installs gmod ... then has the ability to CSS ... from that the validate function should perhaps check the contents of mount.cfg & update it ..... but to be fair I'm near 60 & have no idea what players expect
@UltimateByte commented on GitHub (Jan 9, 2016):
I never had an issue working like that (with very few update of the content), as gmod mainly uses texture and sound files, that are not updated frequently. I could setup a cronjob to update that, i just didn't do it as it doesn't seem very useful. Would be cool to have a command like gmodserver update-content btw.
For the validate function, good idea, but i think the validate function doesn't touch mount.cfg, otherwise i should have rebuilt it several times ! As some gmod update worked only with a validate command, and never had to rebuild it.
( You're near 60 ? Rly ? You're kind of our dad/grandpa then ! Amazing :D )
@JimTR commented on GitHub (Jan 9, 2016):
yes I am old ... is that an issue ? .. so update/validate Gmod should also update the paths that are defined in mount.cfg ?
@UltimateByte commented on GitHub (Jan 9, 2016):
It's all but an issue, i love knowing that i'm talking with a more experienced person !
Sorry if i didn't explain well :
I mean update/validate functions won't touch the mount.cfg as it is.
So maybe this will require another function such as ./gmodserver mount-content that will download and add required variables to mount.cfg
Need to define how the user choose what content to add, or if it's a css content only function.
I should have a look at what dgibbs64 did to tell more about it.
@JimTR commented on GitHub (Jan 9, 2016):
but perhaps the script should just validate the mounts when it validates it's self ... else the some content could be out of date ?
@UltimateByte commented on GitHub (Jan 9, 2016):
If that's what you meant i totally agree. It should validate the content when validating gmod, and update it when updating gmod !
@JimTR commented on GitHub (Jan 9, 2016):
Ok we are talking buggy Gmod ... who knows how it works ... but to be fair if you have a valid path in mount.cfg the script should update the mount ... but again why not use the workshop to add content .. simpluz (sorry UK TV add)
@UltimateByte commented on GitHub (Jan 9, 2016):
You can't add css content with the workshop !
That's why this function would be useful.
Update the game according to the mount, that's clever. But in my case it wouldn't work as the mounted content is owned by another user, this to only download it once and share it across multiple servers. It would have to check if the owner of the file is the same as the one running the script.
Maybe an external lgsm settings file would be preferable for this. The discussion is still open.
@JimTR commented on GitHub (Jan 9, 2016):
you miss the point I am saying just update the CSS base content via steam any mods you have I guess you need to maintain ?
@UltimateByte commented on GitHub (Jan 9, 2016):
How else would you update the content than via steamcmd ? I don't see your point.
But if you mounted content from another user (eg : my case) you won't be able to update it anyways.
Didn't get the end of your sentence about mods btw, sorry.
@dgibbs64 commented on GitHub (Jan 9, 2016):
Should be easy to update the content. Just needs to loop though the various appid and update with gmod. The hard part is allowing the user to customise which content to mount
@MyDimeIsUp commented on GitHub (Feb 5, 2019):
bump? Want to mount CSS
@dgibbs64 commented on GitHub (Dec 4, 2023):
Because of the massive number of possible appids to mount and the complexity of managing it all. Sadly I am not going to implement this feature. I think a whole new script would probably be the best way to manage it. There is a basic guide on how to mount CS:S in the docs https://docs.linuxgsm.com/game-servers/garrys-mod/mounting-game-content
@github-actions[bot] commented on GitHub (Dec 16, 2024):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.