User Tools

Site Tools


server_setup

This is an old revision of the document!


GMod 9 Server Setup

What does this do?

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

  • The blue container (models/props_junk/TrashDumpster02.mdl) will not be weightless anymore
  • Tripmines and Stunsticks will work properly
  • Jeeps and Airboats can be spawned
  • Airboat steering isn't broken anymore
  • NPCs no longer die instantly
  • NPC Animations (sort of) work again

Things you need

File locations

This guide assumes the following locations:

  • steamcmd.exe location: D:\games\steamcmd\steamcmd.exe

  • srcds 2006 location: D:\games\server_final\

  • source sdk base 2006 location: D:\games\sdk_base_2006\

  • half life 2 deathmatch dedicated server location: D:\games\hl2mp_server\

  • Final GMod9 gameinfo.txt location: D:\games\server_final\gmod9\gameinfo.txt

How to install

  • Download steamcmd to D:\games\steamcmd\steamcmd.exe (hldsupdatetool was replaced by this when the steampipe update arrived)

  • Download the required content like this (3 folders will be created):

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
  • Delete the contents of D:\games\server_final\hl2\ We delete this because this hl2 content folder is incomplete

  • Extract all *_dir.vpk files from D:\games\sdk_base_2006\vpks\ to D:\games\server_final\hl2\ This will make sure gmod9 has access to all required hl2 content

  • Extract all *_dir.vpk files from D:\games\hl2mp_server\hl2mp\ to D:\games\server_final\hl2mp\ This will make sure gmod9 has access to all required hl2mp content

  • Copy all files (excluding .vpk files) from D:\games\hl2mp_server\hl2mp\ to D:\games\server_final\hl2mp\ This will also make sure gmod9 has access to all required hl2mp content*

  • Extract the GMod9 server files so that the final path looks like this: D:\games\server_final\gmod9\

  • Delete vstdlib_s.dll, tier0_s.dll, and steamclient.dll from D:\games\server_final\

  • Replace the contents of D:\gamdes\server_final\gameinfo.txt with the contents from Attachment 1 (See Attachments)

  • Create the file D:\games\server_final\gmod9\autoexec.cfg and add the contents from from Attachment 2 (See Attachments)

  • Run srcds.exe like this: srcds.exe -insecure -nohltv -flushlog -port 27015 -console -game gmod9 -maxplayers 16 +map gm_construct

Additional infos

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

vpkcontent
depot_206_dir.vpkmaterials
depot_207_dir.vpkmodels
depot_208_dir.vpksound
depot_212_dir.vpkcfg,media,expressions,resource,scripts,shaders
depot_215_dir.vpksourcetest
appidcontent
205srcds
215source sdk base 2006
232370half life 2 deathmatch dedicated server

Attachments

Credit:

n>

server_setup.1641108182.txt.gz · Last modified: 2022/01/02 07:23 by nafrayu

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki