Old revision of GMod 9 Server Setup from 2022-01-02 07:16 UTC, created by nafrayu. All revisions · current version

GMod 9 Server Setup

What does this do?

This guide will create a fully working install of source dedicated server running gmod9:

Things you need

File locations

This guide assumes the following locations:

How to install

steamcmd.exe +login anonymous +force_install_dir ../server_final +app_update 205 validate +quit

steamcmd.exe +login anonymous +force_install_dir ../sdk_base_2006 +app_update 215 validate +quit

steamcmd.exe +login anonymous +force_install_dir ../hl2mp_server +app_update 232370 validate +quit

Additional infos

Here's some info on what various numbers/names actually mean:

vpk content
depot206dir.vpk materials
depot207dir.vpk models
depot208dir.vpk sound
depot212dir.vpk cfg,media,expressions,resource,scripts,shaders
depot215dir.vpk sourcetest
appid content
205 srcds
215 source sdk base 2006
232370 half life 2 deathmatch dedicated server

Attachments

  1. HL2MP Content fix - gameinfo.txt
"GameInfo"
{
    game    "Garry's Mod 9"
    title   "Garry's Mod"
    title2  "Nine"

    "developer"         "TEAM GARRY"
    "developer_url"     "http://gmod.garry.tv/"
    "icon"          "v" 
    "manual"               "http://gmwiki.garry.tv"

    hidden_maps
    {
        "test_speakers"     1
        "test_hardware"     1
    }

    FileSystem
    {
        SteamAppId              220     // This will mount all the GCFs we need (240=CS:S, 220=HL2).
        ToolsAppId              211     // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.

        SearchPaths
        {
            Game                |gameinfo_path|.
            Game                hl2
            Game                hl2mp
        }
    }
}
  1. Server list fix - autoexec.cfg
// Fixes
sv_master_legacy_mode 0
heartbeat
setmaster add hl2master.steampowered.com:27011
setmaster add hl2master.steampowered.com:27015
sv_master_legacy_mode 1
heartbeat

Credit: l337Espeon from FaceWAN.com This github issue Nafrayu