Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Garry's Mod"

From PCGamingWiki, the wiki about fixing PC games
(46 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 +
{{State|state=postdev}}
 
{{Infobox game
 
{{Infobox game
 
|cover        = Garry's_Mod_Logo.jpg
 
|cover        = Garry's_Mod_Logo.jpg
Line 8: Line 9:
 
{{Infobox game/row/engine|Source}}
 
{{Infobox game/row/engine|Source}}
 
|release dates=  
 
|release dates=  
{{Infobox game/row/date|Windows|November 29, 2006}}
+
{{Infobox game/row/date|Windows|December 24, 2004|ref={{note|note=Original [[Half-Life 2]] mod release.}}}}
 +
{{Infobox game/row/date|Windows|November 29, 2006|ref={{note|note=Standalone release.}}}}
 
{{Infobox game/row/date|OS X|September 23, 2010}}
 
{{Infobox game/row/date|OS X|September 23, 2010}}
 
{{Infobox game/row/date|Linux|June 5, 2013}}
 
{{Infobox game/row/date|Linux|June 5, 2013}}
 
|steam appid  = 4000
 
|steam appid  = 4000
|gogcom page  =  
+
|gogcom id    =  
 
|strategywiki =  
 
|strategywiki =  
 +
|mobygames    = garrys-mod
 
|wikipedia    = Garry's Mod
 
|wikipedia    = Garry's Mod
 
|winehq      = 5217
 
|winehq      = 5217
 +
|license      = commercial
 
}}
 
}}
  
 
'''Key points'''
 
'''Key points'''
 
{{++}} Extensive [[#Modifications|modding community]], including Steam Workshop integration.
 
{{++}} Extensive [[#Modifications|modding community]], including Steam Workshop integration.
{{++}} Receives frequent updates.
 
{{++}} Runs on low-end hardware<ref>Tested by [[User:Nicereddy|Nicereddy]].</ref>
 
 
{{ii}} Many online servers require [[#Black and purple textures and giant red models|resources]] from other Valve games.
 
{{ii}} Many online servers require [[#Black and purple textures and giant red models|resources]] from other Valve games.
  
Line 27: Line 29:
 
{{mm}} [https://github.com/Facepunch/garrysmod-issues/issues GitHub Issue Tracker for Garry's Mod]
 
{{mm}} [https://github.com/Facepunch/garrysmod-issues/issues GitHub Issue Tracker for Garry's Mod]
 
{{mm}} [http://wiki.garrysmod.com/page/Main_Page Official wiki]
 
{{mm}} [http://wiki.garrysmod.com/page/Main_Page Official wiki]
{{mm}} [http://steamcommunity.com/app/4000/discussions/ Steam Community Discussions]
+
{{mm}} [https://steamcommunity.com/app/4000/discussions/ Steam Community Discussions]
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| Publisher | http://www.garrysmod.com/ | Steam | || Windows, OS X, Linux }}
 
 
{{Availability/row| Steam | 4000 | Steam | | | Windows, OS X, Linux }}
 
{{Availability/row| Steam | 4000 | Steam | | | Windows, OS X, Linux }}
 
}}
 
}}
Line 38: Line 39:
 
==Essential improvements==
 
==Essential improvements==
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|1=
+
{{Fixbox|description=Use the <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
{{Fixbox/fix|Use <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
 
}}
 
  
 
===Garry's Mod V1-V9===
 
===Garry's Mod V1-V9===
All of the older mod versions of Garry's Mod are available at the [http://www.facepunch.com/threads/1027255-Garry-s-Mod-V1-V9.0.4c-Fixed-and-Playable!-New-Thread!-Every-GMod-Version-Included Facepunch forums], modified to work with Steam.
+
{{--}} Not available anymore due to Facepunch forums closure.
  
 
==Game data==
 
==Game data==
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|{{p|game}}\garrysmod\cfg}}
+
{{Game data/config|Windows|{{p|game}}\garrysmod\cfg}}
{{Game data/row|OS X|}}
+
{{Game data/config|OS X|}}
{{Game data/row|Linux|{{p|game}}/garrysmod/cfg}}
+
{{Game data/config|Linux|{{p|game}}/garrysmod/cfg}}
 
}}
 
}}
 +
{{XDG|unknown}}
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|{{p|game}}\garrysmod\saves}}
+
{{Game data/saves|Windows|{{p|game}}\garrysmod\saves}}
{{Game data/row|OS X|}}
+
{{Game data/saves|OS X|}}
{{Game data/row|Linux|}}
+
{{Game data/saves|Linux|}}
 
}}
 
}}
  
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
{{Save game cloud syncing
 
{{Save game cloud syncing
|origin               =  
+
|discord                =
|origin notes         =  
+
|discord notes          =
|steam cloud           = true
+
|epic games store      =
|steam cloud notes     =  
+
|epic games store notes =
|uplay                 =  
+
|gog galaxy            =
|uplay notes           =  
+
|gog galaxy notes      =
 +
|origin                 =  
 +
|origin notes           =  
 +
|steam cloud           = true
 +
|steam cloud notes     =  
 +
|uplay                 =  
 +
|uplay notes           =
 +
|xbox cloud            =
 +
|xbox cloud notes      =  
 
}}
 
}}
  
Line 74: Line 82:
 
{{Image|Garrysmod-advancedvideo.png|Advanced video settings}}
 
{{Image|Garrysmod-advancedvideo.png|Advanced video settings}}
 
{{Video settings
 
{{Video settings
|wsgf link                  = http://www.wsgf.org/dr/garrys-mod/en
+
|wsgf link                  = https://www.wsgf.org/dr/garrys-mod/en
 
|widescreen wsgf award      = gold
 
|widescreen wsgf award      = gold
 
|multimonitor wsgf award    = silver
 
|multimonitor wsgf award    = silver
Line 84: Line 92:
 
|multimonitor notes        =  
 
|multimonitor notes        =  
 
|ultrawidescreen            = true
 
|ultrawidescreen            = true
|ultrawidescreen notes      = <ref>[https://www.youtube.com/watch?v=DYm09kwfoIA Garry's Mod 21:9 Gameplay (2560x1080) (60fps) (Ultrawide) - YouTube]</ref>
+
|ultrawidescreen notes      =  
 
|4k ultra hd                = true
 
|4k ultra hd                = true
 
|4k ultra hd notes          =  
 
|4k ultra hd notes          =  
Line 91: Line 99:
 
|windowed                  = true
 
|windowed                  = true
 
|windowed notes            =  
 
|windowed notes            =  
|borderless windowed        = hackable
+
|borderless windowed        = true
|borderless windowed notes  = Launch the game with <code>-window -noborder</code> [[Glossary:Command line arguments|parameter]]
+
|borderless windowed notes  = Borderless windowed support has been added in the [https://gmod.facepunch.com/blog/february-2019-update February 2019 update].
 
|anisotropic                = true
 
|anisotropic                = true
 
|anisotropic notes          = Up to 16 samples.
 
|anisotropic notes          = Up to 16 samples.
Line 103: Line 111:
 
|120 fps                    = true
 
|120 fps                    = true
 
|120 fps notes              = 300 FPS, like all Source Engine based games.
 
|120 fps notes              = 300 FPS, like all Source Engine based games.
 +
|hdr                        = false
 +
|hdr notes                  = Rendered image uses {{term|SDR}} color space. In-game {{term|HDR}} option refers only to {{term|HDR Rendering}}.
 
|color blind                = unknown
 
|color blind                = unknown
 
|color blind notes          =  
 
|color blind notes          =  
Line 120: Line 130:
 
|invert mouse y-axis      = true
 
|invert mouse y-axis      = true
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 +
|touchscreen              = unknown
 +
|touchscreen notes        =
 
|controller support        = true
 
|controller support        = true
 
|controller support notes  =  
 
|controller support notes  =  
Line 130: Line 142:
 
|invert controller y-axis  = true
 
|invert controller y-axis  = true
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|touchscreen               = unknown
+
|xinput controllers        = unknown
|touchscreen notes        =  
+
|xinput controllers notes  =
 +
|xbox prompts              = unknown
 +
|xbox prompts notes        =
 +
|impulse triggers          = unknown
 +
|impulse triggers notes    =
 +
|dualshock 4               = unknown
 +
|dualshock 4 notes        =
 +
|dualshock prompts        = unknown
 +
|dualshock prompts notes  =
 +
|light bar support        = false
 +
|light bar support notes  =
 +
|dualshock 4 modes        = unknown
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= hackable
 +
|tracked motion controllers notes = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
 +
|tracked motion prompts    = unknown
 +
|tracked motion prompts notes =
 +
|other controllers        = unknown
 +
|other controllers notes  =
 +
|other button prompts      = unknown
 +
|other button prompts notes=  
 
|button prompts            = false
 
|button prompts            = false
 
|button prompts notes      =  
 
|button prompts notes      =  
Line 138: Line 170:
 
|haptic feedback          = unknown
 
|haptic feedback          = unknown
 
|haptic feedback notes    =  
 
|haptic feedback notes    =  
|light bar support        = false
+
|simultaneous input        = true
|light bar support notes   =  
+
|simultaneous input notes  =
 +
|steam input api          = unknown
 +
|steam input api notes    =
 +
|steam hook input          = unknown
 +
|steam hook input notes    =
 +
|steam input presets      = unknown
 +
|steam input presets notes =
 +
|steam controller prompts  = unknown
 +
|steam controller prompts notes =
 +
|steam cursor detection    = unknown
 +
|steam cursor detection notes =  
 
}}
 
}}
  
Line 167: Line 209:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
  |fan notes =  
+
}}
 +
{{L10n/switch
 +
|language  = Bulgarian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Simplified Chinese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Traditional Chinese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Czech
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Danish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Dutch
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Finnish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Greek
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Hungarian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Japanese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Korean
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Norwegian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Polish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Portuguese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
  |fan       =
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes     =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Swedish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Thai
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Turkish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Ukrainian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =  
 
}}
 
}}
 
}}
 
}}
Line 178: Line 411:
 
|local play notes    =  
 
|local play notes    =  
 
|lan play            = true
 
|lan play            = true
|lan play players    =  
+
|lan play players    = 128
 
|lan play modes      =  
 
|lan play modes      =  
 
|lan play notes      =  
 
|lan play notes      =  
 
|online play          = true
 
|online play          = true
|online play players  =  
+
|online play players  = 128
 
|online play modes    =  
 
|online play modes    =  
 
|online play notes    =  
 
|online play notes    =  
Line 205: Line 438:
 
|tcp  = 27014-27050
 
|tcp  = 27014-27050
 
|udp  = 3478, 4379-4380, 27000-27030
 
|udp  = 3478, 4379-4380, 27000-27030
|upnp =  
+
|upnp = unknown
 
}}
 
}}
  
Line 223: Line 456:
 
|iz3d                        =  
 
|iz3d                        =  
 
|iz3d notes                  =  
 
|iz3d notes                  =  
|htc vive                    =  
+
|vr only                    = false
|htc vive notes              =  
+
|htc vive                    = hackable
|oculus rift                =  
+
|htc vive notes              = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
|oculus rift notes          =  
+
|oculus rift                = hackable
|tracked motion controllers  =  
+
|oculus rift notes          = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
|tracked motion controllers notes=  
+
|osvr                        = unknown
|keyboard-mouse              =  
+
|osvr notes                  =  
 +
|windows mixed reality      = hackable
 +
|windows mixed reality notes = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
 +
|keyboard-mouse              = true
 
|keyboard-mouse notes        =  
 
|keyboard-mouse notes        =  
 
|3rd space gaming vest      =  
 
|3rd space gaming vest      =  
Line 236: Line 472:
 
|novint falcon notes        =  
 
|novint falcon notes        =  
 
|trackir                    = hackable
 
|trackir                    = hackable
|trackir notes              = Available [http://facepunch.com/showthread.php?t=1444180 here]
+
|trackir notes              = Available [https://github.com/ExtReMLapin/TrackIR_GMod here]
|play area seated            =  
+
|tobii eye tracking          =
 +
|tobii eye tracking notes    =
 +
|play area seated            = true
 
|play area seated notes      =  
 
|play area seated notes      =  
|play area standing          =  
+
|play area standing          = true
 
|play area standing notes    =  
 
|play area standing notes    =  
|play area room-scale        =  
+
|play area room-scale        = true
 
|play area room-scale notes  =  
 
|play area room-scale notes  =  
 
}}
 
}}
Line 248: Line 486:
 
===Black and purple textures and giant red models===
 
===Black and purple textures and giant red models===
 
{{ii}} See [[Engine:Source#Missing models or textures|Missing models or textures]].
 
{{ii}} See [[Engine:Source#Missing models or textures|Missing models or textures]].
{{ii}} Frequently featured contents come from just a bunch of other Source engine based games ([[Counter-Strike: Source]], [[Half-Life 2]], [[Half-Life 2: Episode One]], [[Half-Life 2: Episode Two]])
+
{{ii}} Frequently featured contents come from just a bunch of other Source engine based games ([[Counter-Strike: Source]], [[Half-Life 2]], [[Half-Life 2: Episode One]], [[Half-Life 2: Episode Two]]).
 +
 
 
===Game crashes at title screen===
 
===Game crashes at title screen===
{{Fixbox|1=
+
{{Fixbox|description=Use the <code>+connect 1:1</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|note=Is this still a bug?|date=October 2016}}|fix=
{{Fixbox/fix|Game crashes at the title screen, after the loading screen. }}
 
 
 
{{ii}} Not a proper fix; Simply a work-around.
 
 
 
# Find Garry's Mod in your Steam Library
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Enter <code>+connect 1:1</code>
 
# Press <code>OK</code>
 
  
 +
'''Notes'''
 
{{ii}} When the game opens, it will take you to a <code>Connecting to Server</code> screen. After a few seconds it should dissappear and take you to the title screen. It will then freeze for a few seconds, then function normally.
 
{{ii}} When the game opens, it will take you to a <code>Connecting to Server</code> screen. After a few seconds it should dissappear and take you to the title screen. It will then freeze for a few seconds, then function normally.
 
 
{{ii}} Sometimes you may need to press {{key|Alt|Tab}} then go back into the game for this to work.
 
{{ii}} Sometimes you may need to press {{key|Alt|Tab}} then go back into the game for this to work.
 
}}
 
}}
  
 
===Hosting a listen server===
 
===Hosting a listen server===
{{Fixbox|1=
+
{{Fixbox|description=Start listen server|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|Start listen server}}
 
 
{{ii}} To host a server while playing, one must be able to forward ports and enter a console command.
 
{{ii}} To host a server while playing, one must be able to forward ports and enter a console command.
  
Line 276: Line 505:
 
# Others should now be able to join
 
# Others should now be able to join
  
 +
'''Notes'''
 
{{ii}} In order for your server to show up on the server list, you must change <code>sv_region</code> to a value corresponding to your region.
 
{{ii}} In order for your server to show up on the server list, you must change <code>sv_region</code> to a value corresponding to your region.
 
}}
 
}}
  
 
===Could not load library client (Linux)===
 
===Could not load library client (Linux)===
{{Fixbox|1=
+
{{Fixbox|description=Additional Libraries|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Additional Libraries|ref={{cn|date=July 2016}}}}
 
 
* Install the appropiate lib32 gconf package (libgconf-2-4:i386 for debian-based systems, libgconf-2.i386 for rpm-based distros, and lib32-gconf on the AUR for arch users).
 
* Install the appropiate lib32 gconf package (libgconf-2-4:i386 for debian-based systems, libgconf-2.i386 for rpm-based distros, and lib32-gconf on the AUR for arch users).
 +
}}
 +
 +
===Game changes microphone gain at launch===
 +
{{Fixbox|description=Modify configuration file|ref=<ref>[https://www.reddit.com/r/GlobalOffensive/comments/2vftby/csgo_changing_your_windows_mic_boost_level_heres/ CSGO changing your windows mic boost level? here's a fix: GlobalOffensive]</ref>|fix=
 +
# Go to the [[#Game data|configuration file(s) location]].
 +
# Open <code>config.cfg</code>.
 +
# Find the line <code>voice_mixer_volume</code>, it should be near the bottom of the file. If the line doesn't exist you may create it.
 +
# Set the value to whatever you prefer your mic volume to be, I set mine to <code>.5</code> which translates to 50% gain.
 +
 +
'''Notes'''
 +
{{ii}} Removing the line does not work.
 +
{{--}} This will set a fixed value, and might not be a solution for people who are using dynamic gain which Windows (or other applications) automatically adjusts.
 +
}}
 +
 +
{{Fixbox|description=Disable exclusive control of microphone (Windows)|ref=<ref>[https://www.reddit.com/r/GlobalOffensive/comments/3t6gdm/why_does_csgo_automatically_change_my_mic_volume/cx3ix79 kyoukidotexe commented on Why does CS:GO automatically change my mic volume when I start the game?: GlobalOffensive]</ref>|fix=
 +
# Right click on the speaker icon located at the tray bar.
 +
# Select '''Recording devices'''.
 +
# Double click on your microphone in the newly opened window.
 +
# Go to '''Advanced''' and untick '''Allow applications to take exclusive control of this device'''.
 +
 +
'''Notes'''
 +
{{--}} Most applications ignores this, and many users are reporting that it isn't working.
 
}}
 
}}
  
Line 300: Line 551:
 
|mantle support        =  
 
|mantle support        =  
 
|mantle support notes  =  
 
|mantle support notes  =  
|vulkan support        =  
+
|vulkan versions        =  
|vulkan support notes   =  
+
|vulkan notes           =  
 
|dos modes              =  
 
|dos modes              =  
 
|dos modes notes        =  
 
|dos modes notes        =  
 
|shader model versions  = 2, 3
 
|shader model versions  = 2, 3
 
|shader model notes    =  
 
|shader model notes    =  
|64-bit executable     = true
+
|windows 32-bit exe    = true
|64-bit executable notes= OS X and Linux only.{{CN|date=August 2015}}
+
|windows 64-bit exe    = true
 +
|windows exe notes     =
 +
|mac os x powerpc app  =
 +
|macos intel 32-bit app = unknown
 +
|macos intel 64-bit app = true
 +
|macos app notes        = {{CN|date=August 2015}}
 +
|linux 32-bit executable= unknown
 +
|linux 64-bit executable= true
 +
|linux executable notes = {{CN|date=August 2015}}
 
}}
 
}}
  
Line 329: Line 588:
 
{{ii}} Games running on the Source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
 
{{ii}} Games running on the Source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
  
{{Fixbox|1=
+
{{Fixbox|description=Enabling the console in Source games|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Enabling the console in Source games|ref={{cn|date=July 2016}}}}
 
 
# Launch the game
 
# Launch the game
 
# From the main menu select <code>Options</code>
 
# From the main menu select <code>Options</code>
Line 345: Line 603:
 
}}
 
}}
  
{{ii}} You can also have the console open by default on launch by following this guide:
+
===[[Glossary:Command line arguments|Command line arguments]]===
{{Fixbox|1=
+
{{ii}} See [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 this Steam Support Article regarding launch options] as well as [https://developer.valvesoftware.com/wiki/Launch_options#Source_Games the relevant Valve Developer wiki page] for further information and a list of useful Source engine launch options.
{{Fixbox/fix|-console|ref={{cn|date=July 2016}}}}
 
# Find the game in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input <code>-console</code>
 
# Press <code>OK</code>
 
# Launch the game
 
}}
 
 
 
===Launch options===
 
{{ii}} View [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 this Steam Support Article regarding launch options] as well as [https://developer.valvesoftware.com/wiki/Launch_options#Source_Games the relevant Valve Developer wiki page] for further information and a list of useful Source engine launch options.
 
 
 
{{Fixbox|1=
 
{{Fixbox/fix|Enabling a launch parameter|ref={{cn|date=July 2016}}}}
 
# Find the game in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input your selected launch options and separate each command with a space
 
# Press <code>OK</code>
 
# Launch the game
 
}}
 
  
 
==System requirements==
 
==System requirements==
Line 375: Line 610:
 
|OSfamily = Windows
 
|OSfamily = Windows
  
|minOS    = 2000, XP, Vista
+
|minOS    = Vista, XP
|minCPU  = 1.8 GHz Processor
+
|minCPU  = 1.8 GHz
|minRAM  = 2GB
+
|minRAM  = 2 GB
|minHD    = 1GB
+
|minHD    = 5 GB
|minGPU  = DirectX 9 level Graphics Card (Requires support for SSE)  
+
|minGPU  = DirectX 9 level Graphics Card (Requires support for SSE)
|minDX    = 8.1  
+
|minDX    = 9.0c
 +
|minaudio = DirectX 9 compatible
 +
|minother = Mouse, Keyboard, Monitor
 +
 
 +
|recOS    = 7, 8, 8.1, 10
 +
|recCPU  = 2.5 GHz
 +
|recRAM  = 8 GB
 +
|recHD    = 10 GB
 +
|recVRAM  = 1 GB
 +
|recGPU  =
 +
|recDX    = 9.0c
 
}}
 
}}
  
Line 387: Line 632:
  
 
|minOS    = Snow Leopard 10.6.3
 
|minOS    = Snow Leopard 10.6.3
|minRAM  = 2GB
+
|minCPU  = 1.8 GHz
|minHD    = 1GB
+
|minRAM  = 2 GB
|minGPU  = ATI X1600 or higher
+
|minHD    = 5 GB
|minGPU2  = NVIDIA GeForce 8 or higher
+
|minGPU  = ATI Radeon X1600
|minGPU3  = Intel HD 3000 or higher
+
|minGPU2  = Nvidia GeForce 8
 +
|minGPU3  = Intel HD 3000
 +
|minother = Mouse, Keyboard, Monitor
 +
 
 +
|recCPU  = 2.5 GHz
 +
|recRAM  = 8 GB
 +
|recVRAM  = 1 GB
 +
|recHD    = 10 GB
 +
}}
 +
 
 +
{{System requirements
 +
|OSfamily = Linux
 +
 
 +
|minOS    = Ubuntu 12.04
 +
|minCPU  = 1.8 GHz
 +
|minRAM  = 2 GB
 +
|minHD    = 5 GB
 +
|minVRAM  = 512 MB
 +
|minother = Mouse, Keyboard, Monitor
 +
 
 +
|recCPU  = 2.5 GHz
 +
|recRAM  = 8 GB
 +
|recHD    = 10 GB
 +
|recVRAM  = 1 GB
 
}}
 
}}
  
 
{{References}}
 
{{References}}

Revision as of 06:09, 25 January 2020

Dev general icon.svg
Although this product has been released, it remains under active development - information may change frequently and could be outdated or irrelevant.
Garry's Mod
Garry's Mod cover
Developers
Facepunch Studios
Publishers
Valve Corporation
Engines
Source
Release dates
Windows December 24, 2004[Note 1]
Windows November 29, 2006[Note 2]
macOS (OS X) September 23, 2010
Linux June 5, 2013
Garry's Mod on MobyGames
Garry's Mod on Wikipedia

Warnings

The macOS (OS X) version of this game needs a fix to work on macOS Catalina (version 10.15) or later (see API for details).

Key points

Extensive modding community, including Steam Workshop integration.
Many online servers require resources from other Valve games.

General information

GitHub Issue Tracker for Garry's Mod
Official wiki
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux
All versions require Steam DRM.

Essential improvements

Skip intro videos

Use the -novid command line argument[citation needed]

Garry's Mod V1-V9

Not available anymore due to Facepunch forums closure.

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\garrysmod\cfg[Note 3]
macOS (OS X)
Linux <path-to-game>/garrysmod/cfg
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game data location

System Location
Windows <path-to-game>\garrysmod\saves[Note 3]
macOS (OS X)
Linux

Save game cloud syncing

System Native Notes
Steam Cloud

Video settings

Video settings
Video settings
Advanced video settings
Advanced video settings

Template:Video settings

Input settings

Input settings
Input settings

Template:Input settings

Audio settings

Audio settings
Audio settings

Template:Audio settings

Localizations

Language UI Audio Sub Notes
English
Bulgarian
Simplified Chinese
Traditional Chinese
Czech
Danish
Dutch
Finnish
French
German
Greek
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Brazilian Portuguese
Russian
Spanish
Swedish
Thai
Turkish
Ukrainian

Network

Multiplayer types

Type Native Players Notes
LAN play
128
Online play
128

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Dedicated Server software is available under Tools in the Steam client.
Direct IP
Open the console (~) and enter connect followed by the IP and port.

Ports

Protocol Port(s) and/or port range(s)
TCP 27014-27050
UDP 3478, 4379-4380, 27000-27030
Universal Plug and Play (UPnP) support status is unknown.

VR support

Issues fixed

Black and purple textures and giant red models

See Missing models or textures.
Frequently featured contents come from just a bunch of other Source engine based games (Counter-Strike: Source, Half-Life 2, Half-Life 2: Episode One, Half-Life 2: Episode Two).

Game crashes at title screen

Use the +connect 1:1 command line argument[citation needed]

Notes

When the game opens, it will take you to a Connecting to Server screen. After a few seconds it should dissappear and take you to the title screen. It will then freeze for a few seconds, then function normally.
Sometimes you may need to press Alt+Tab then go back into the game for this to work.

Hosting a listen server

Start listen server[citation needed]
To host a server while playing, one must be able to forward ports and enter a console command.
  1. Forward the ports 27015 and 27005
  2. Enter sv_lan 0 in the console
  3. Press "Play Multiplayer" and select a map
  4. Others should now be able to join

Notes

In order for your server to show up on the server list, you must change sv_region to a value corresponding to your region.

Could not load library client (Linux)

Additional Libraries[citation needed]
  • Install the appropiate lib32 gconf package (libgconf-2-4:i386 for debian-based systems, libgconf-2.i386 for rpm-based distros, and lib32-gconf on the AUR for arch users).

Game changes microphone gain at launch

Modify configuration file[1]
  1. Go to the configuration file(s) location.
  2. Open config.cfg.
  3. Find the line voice_mixer_volume, it should be near the bottom of the file. If the line doesn't exist you may create it.
  4. Set the value to whatever you prefer your mic volume to be, I set mine to .5 which translates to 50% gain.

Notes

Removing the line does not work.
This will set a fixed value, and might not be a solution for people who are using dynamic gain which Windows (or other applications) automatically adjusts.
Disable exclusive control of microphone (Windows)[2]
  1. Right click on the speaker icon located at the tray bar.
  2. Select Recording devices.
  3. Double click on your microphone in the newly opened window.
  4. Go to Advanced and untick Allow applications to take exclusive control of this device.

Notes

Most applications ignores this, and many users are reporting that it isn't working.

Other information

API

Technical specs Supported Notes
Direct3D 6, 7, 8, 8.1, 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
[citation needed]
Linux
[citation needed]

Middleware

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video
Multiplayer Steamworks

Console commands

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.
Enabling the console in Source games[citation needed]
  1. Launch the game
  2. From the main menu select Options
  3. Select the Keyboard tab
  4. Click the Advanced button
  5. Check the box next to Enable developer console (~)
  6. Click Apply

Notes

Press ~ to open the console.
Some commands may first require you enabling sv_cheats. You can do so with sv_cheats 1.
Many servers will not allow you to play with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard could experience some problems.

Command line arguments

See this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.

System requirements

Windows
Minimum Recommended
Operating system (OS) Vista, XP
Processor (CPU) 1.8 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) DirectX 9 level Graphics Card (Requires support for SSE)
DirectX 9.0c compatible
Sound (audio device) DirectX 9 compatible
Other Mouse, Keyboard, Monitor
macOS (OS X)
Minimum Recommended
Operating system (OS) Snow Leopard 10.6.3
Processor (CPU) 1.8 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) ATI Radeon X1600
Nvidia GeForce 8
Intel HD 3000
Other Mouse, Keyboard, Monitor
Linux
Minimum Recommended
Operating system (OS) Ubuntu 12.04
Processor (CPU) 1.8 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) 512 MB of VRAM
Other Mouse, Keyboard, Monitor

Notes

  1. Original Half-Life 2 mod release.
  2. Standalone release.
  3. 3.0 3.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References