Skip to content

feat: add Garry's Mod support to the Source egg - #9

Merged
ShookEagle merged 1 commit into
mainfrom
codex/add-gmod
Nov 20, 2026
Merged

ShookEagle merged 1 commit into
mainfrom
codex/add-gmod

Conversation

@ShookEagle

Copy link
Copy Markdown
Contributor

Summary

Add Garry's Mod as the sixth game in the shared Pelican/Pterodactyl egg and node installer, with branch-specific launchers and native Lua addon handling.

SOURCE_GAME=GMod
  public -> srcds_run / srcds_linux (32-bit)
  x86-64 -> srcds_run_x64 / bin/linux64/srcds (64-bit)
  both -> gm_construct, Lua addons, existing game/node lifecycle

Use Steam download app 4020 and client/GSLT app 4000. Skip automatic Metamod/SourceMod downloads and probes for GMod. Apply custom gamemode arguments before the startup map, preserve quoted native arguments and library paths, and include GMod in node predownload choices and all. Document setup and the existing ownership rules for custom files.

Evidence

  • Before: New profile, boot, node preparation and predownload regressions failed because GMod was unsupported. The x86-64 environment regression failed because linux64/ was missing from the library search path.
    After: Both GMod architectures pass launcher/native-argv and framework-skipping tests. Managed delivery preserves server-added Lua, gamemode, addon and data files outside Steam's inventory across updates.
  • bash scripts/verify.sh passed: full Go race suite, vet, formatting, Linux builds, shell syntax and SteamCMD seed fixtures.
  • bash scripts/test-install-node.sh passed. Egg JSON validation and the built sourceegg profiles command include all six games.
  • Fresh code review has no remaining substantive findings.

Merge Danger

Door: Two-way

No data migration. Reverting removes GMod support; GMod servers require a compatible runtime.

Blast Radius: Runtime

Shared launch and framework-selection paths are covered by existing-game regressions. Retail GMod startup/client joins, addons, native Workshop downloads and container/Wings acceptance still need live testing. Ship a matched egg, runtime image and node release before deployment.

@ShookEagle
ShookEagle merged commit 678a0dd into main Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant