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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Garry's Mod"

From PCGamingWiki, the wiki about fixing PC games
(General Improvements)
Line 5: Line 5:
 
|publisher      = [[Wikipedia:Valve Corporation|Valve Corporation]]
 
|publisher      = [[Wikipedia:Valve Corporation|Valve Corporation]]
 
|engine        = Source
 
|engine        = Source
|release dates  = <sup>Original Mod</sup>December 24, 2004 <br/><sup>Steam, Windows</sup>November 29, 2006 <br/><sup>Mac</sup>September 23, 2010<ref>http://garrysmod.com/history</ref>
+
|release dates  = <sup>Original Mod</sup> December 24, 2004 <br/><sup>Steam, Windows</sup> November 29, 2006 <br/><sup>Mac</sup> September 23, 2010<ref>http://garrysmod.com/history</ref>
 
}}
 
}}
  
 
'''General information'''
 
'''General information'''
 +
{{mm}} [http://www.garrysmod.com/ Official Garry's Mod Blog]
 +
{{mm}} [http://wiki.garrysmod.com/page/Main_Page Official Garry's Mod Wiki]
 
{{mm}} [http://forums.steampowered.com/forums/forumdisplay.php?f=132 Steam Users' Forums]
 
{{mm}} [http://forums.steampowered.com/forums/forumdisplay.php?f=132 Steam Users' Forums]
 
{{mm}} [http://steamcommunity.com/app/4000/discussions/ Steam Community Discussions]
 
{{mm}} [http://steamcommunity.com/app/4000/discussions/ Steam Community Discussions]
 +
{{mm}} [http://www.garrysmod.org/ Official Garry's Mod Add-on Website] - This has since been replaced by the implementation of the Steam Workshop into Garry's Mod.
  
 
==Availability==
 
==Availability==
Line 32: Line 35:
 
==Video settings==
 
==Video settings==
 
{{Video Settings
 
{{Video Settings
|widescreen_resolution      =unknown
+
|widescreen_resolution      =true
 
|widescreen_resolution_notes=
 
|widescreen_resolution_notes=
 
|multimonitor              =unknown
 
|multimonitor              =unknown
Line 60: Line 63:
 
}}
 
}}
  
== Bugs ==
+
== Issues, Fixes, and Tweaks ==
 
===Textures Not Loading===
 
===Textures Not Loading===
Textures that are checkered purple and black are textures that were unable to be loaded. Garry's Mod doesn't have the texture files itself, you need other games on your computer for the game to work properly. If you don't have Team Fortress 2 downloaded, for example, textures from Team Fortress 2 (characters, items, etc.) will not load. Garry's Mod takes textures from various Source games including, but not limited to, Half Life 2 and its episodes, Portal, Counter-Strike: Source, and Team Fortress 2. If you do not have any of these games, among various others, there may be errors in the game.
+
Textures that are checkered purple and black are textures that were unable to be loaded. Garry's Mod doesn't have the texture files itself, you need other games on your computer for the game to work properly. If you don't have Team Fortress 2 downloaded, for example, textures from Team Fortress 2 (characters, items, etc.) will not load. Garry's Mod takes textures from various Source games including, but not limited to, [[Half-Life 2]] (and its episodes), [[Portal]], [[Counter-Strike: Source]], and [[Team Fortress 2]]. If you do not have any of these games, among various others, there may be errors in the game.
  
The only fix for this is purchasing and downloading the games.
+
The only fix for this is purchasing and downloading the various Source games you believe are causing the issues.
  
 
=== Crashing during "Sending Client info..." ===
 
=== Crashing during "Sending Client info..." ===
Line 75: Line 78:
 
If it does, open those folders where the files are located and delete hl2.exe and the client.dll. Then open Steam, right-click on Garry's Mod and then click Properties. Then click on the Local Files tab and click "Verify Integrity Of Game Cache...", wait for it to finish, then try reconnecting to the server you had trouble with. You should not crash this time. This does not work the first try every time. If you still crash, then follow the procedure again and keep trying.
 
If it does, open those folders where the files are located and delete hl2.exe and the client.dll. Then open Steam, right-click on Garry's Mod and then click Properties. Then click on the Local Files tab and click "Verify Integrity Of Game Cache...", wait for it to finish, then try reconnecting to the server you had trouble with. You should not crash this time. This does not work the first try every time. If you still crash, then follow the procedure again and keep trying.
  
 +
As of September 7 2012 this bug is probably because of an engine update (This has apparently been patched on September 19, 2012)
 +
For more information go to this thread on the official Garry's Mod forums: [http://www.facepunch.com/showthread.php?t=1210448 link]
  
As of September 7 2012 this bug is probably because of an engine update (This has apparently been patched on 19/09/12)
+
An apparent fix for this is going into the Garry's Mod console and typing:
For more information go to this thread on the official Gmod forums: [http://www.facepunch.com/showthread.php?t=1210448 link]
 
 
 
An apparent fix for this is to go into the Garry's Mod console and type:
 
  
 
<code>vgui_allowhtml 0</code>
 
<code>vgui_allowhtml 0</code>
  
(This has apparently been patched on 19/09/12)
+
(This has apparently been patched on September 19, 2012)
 
Found here: [http://www.bybservers.co.uk/gmod/index.php?topic=11025 link]
 
Found here: [http://www.bybservers.co.uk/gmod/index.php?topic=11025 link]
  
Line 89: Line 91:
 
Players with non-US keyboards often encounter problems opening the Developer Console because the set opening key (~) is positioned in a different location. Binding the key via the config.cfg file will not work because the game resets to the default key automatically. Most of the time the console can be opened by pressing the button to the left of the '1' key/under the 'Esc' key. In UK and similar keyboards, this button is the '`' key.
 
Players with non-US keyboards often encounter problems opening the Developer Console because the set opening key (~) is positioned in a different location. Binding the key via the config.cfg file will not work because the game resets to the default key automatically. Most of the time the console can be opened by pressing the button to the left of the '1' key/under the 'Esc' key. In UK and similar keyboards, this button is the '`' key.
  
== Tweaks ==
 
 
=== Borderless windowed mode ===
 
=== Borderless windowed mode ===
It is possible to play the game in borderless windowed mode to simulate a fullscreen environment by right-clicking on 'properties' in your Steam Library, clicking on 'Set Launch Options...' and adding the following:
+
It is possible to play the game in borderless windowed mode to simulate a fullscreen environment by right-clicking on 'Properties' in your Steam Library, clicking on 'Set Launch Options...' and adding the following:
  
 
<code>-window -noborder</code>
 
<code>-window -noborder</code>
Line 98: Line 99:
  
 
=== Console Commands ===
 
=== Console Commands ===
Games running on the source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
+
Games running on the Source Engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
  
 
=== Hosting a listen server ===
 
=== Hosting a listen server ===
To host a server while playing, one must be able to forward ports and enter a console command. The ports 27015 and 27005, both TCP and UDP, need to be forwarded. Then type in console 'sv_lan 0' without the quotes. Now click "Play Multiplayer", select the map of your choice, and others should be able to join.
+
To host a server while playing, one must be able to forward ports and enter a console command. The ports 27015 and 27005, both TCP and UDP, need to be forwarded. Then type in console <code>sv_lan 0</code> without the quotes. Now click "Play Multiplayer", select the map of your choice, and others should be able to join.
  
In order for your server to show up on the server list, you must change 'sv_region' to a value corresponding to your region.
+
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.
  
== Installing Mods ==
+
=== Installing Mods ===
 
To install most mods, simply extract the file downloaded to:
 
To install most mods, simply extract the file downloaded to:
  
Line 111: Line 112:
  
 
Some mods, e.g. Wiremod may require some more complex installation. ALWAYS check the readme for the mod before installing.
 
Some mods, e.g. Wiremod may require some more complex installation. ALWAYS check the readme for the mod before installing.
 +
 +
=== Low FPS Fix ===
 +
==== Command Line Parameters ====
 +
On a low end PC (Tested on 2GB RAM, 2.4GHz Dual Core Celeron Processor, GeForce 7100) you can modify the command line parameters for Garry's Mod.
 +
 +
# Go into your Steam Library.
 +
# Right click Garry's Mod.
 +
# Click Properties.
 +
# Click "Set Launch Options".
 +
# Add the following:<br/> <code>-dev -console -novid -dxlevel 70 +cl_showfps -w -nomemrestrict -norestrictions  -percentvidmem 100 +mat_antialias 0 -refresh 60 -heapsize 1048576</code><br/> The <code>-heapsize</code> 104876 parameter assumes you have 2GB RAM.
 +
# Each time you boot Garry's Mod, you will need to go into your options and turn all settings to low, with anti-aliasing and filtering off.
 +
 +
'''Note''': This works for all Source games pre-Left 4 Dead 2.
  
 
==System requirements==
 
==System requirements==
Line 132: Line 146:
 
|minGPU = NVIDIA GeForce 8 or higher, or ATI X1600 or higher
 
|minGPU = NVIDIA GeForce 8 or higher, or ATI X1600 or higher
 
}}
 
}}
 
== Low FPS Fix ==
 
 
==== Command Line Parameters ====
 
 
On a low end PC (Tested on 2GB RAM, 2.4GHz Dual Core Celeron Processor, GeForce 7100) you can modify the command line parameters for Garry's Mod.
 
 
1. Go into your Steam Library.
 
 
2. Right click Garry's Mod.
 
 
3. Click Properties.
 
 
4. Click "Set Launch Options".
 
 
5. Add the following:
 
<pre>-dev -console -novid -dxlevel 70 +cl_showfps -w -nomemrestrict -norestrictions  -percentvidmem 100 +mat_antialias 0 -refresh 60 -heapsize 1048576</pre>
 
The -heapsize 104876 parameter assumes you have 2GB RAM.
 
 
6. Each time you boot Garry's Mod, you will need to go into your options and turn all settings to low, with anti-aliasing and filtering off.
 
 
Note: This works for all Source games pre-Left 4 Dead 2.
 
 
== External Links ==
 
* [http://wiki.garrysmod.com/page/Main_Page Official GMod Wiki]<br />
 
* [http://www.garrysmod.com/ Official Garry's Mod Blog]<br />
 
* [http://www.garrysmod.org/ Official Garry's Mod Addon Website]<br />
 
* [http://store.steampowered.com/app/4000/?snr=1_7_suggest__13 Purchase Garry's Mod on the Steam Store]
 
* [http://garry.tv/ Garry's Blog]
 
  
 
== See Also ==
 
== See Also ==
Line 168: Line 153:
 
<references/>
 
<references/>
  
 +
[[Category:Windows]]
 
[[Category:Mac]]
 
[[Category:Mac]]
[[Category:Windows]]
 

Revision as of 06:30, 2 March 2013

Template:Infobox

General information

Official Garry's Mod Blog
Official Garry's Mod Wiki
Steam Users' Forums
Steam Community Discussions
Official Garry's Mod Add-on Website - This has since been replaced by the implementation of the Steam Workshop into Garry's Mod.

Availability

Template:Availability Table

All versions require Steam, including retail.

Game data

Template:Game Location Table

Save game cloud syncing

Template:Save Game Cloud Syncing

Video settings

Template:Video Settings

Input settings

Template:Input Settings

Issues, Fixes, and Tweaks

Textures Not Loading

Textures that are checkered purple and black are textures that were unable to be loaded. Garry's Mod doesn't have the texture files itself, you need other games on your computer for the game to work properly. If you don't have Team Fortress 2 downloaded, for example, textures from Team Fortress 2 (characters, items, etc.) will not load. Garry's Mod takes textures from various Source games including, but not limited to, Half-Life 2 (and its episodes), Portal, Counter-Strike: Source, and Team Fortress 2. If you do not have any of these games, among various others, there may be errors in the game.

The only fix for this is purchasing and downloading the various Source games you believe are causing the issues.

Crashing during "Sending Client info..."

When trying to connect to a server, you may crash somewhere during "Sending Client info..." If this occurs, open the Event Viewer, click "Windows Logs", then "Application" under it. Look through the folder and find the log that is an error and the source is "Application Error." Then click details and check to see if it says something like this under "EventData":

C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\hl2.exe
C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\bin\client.dll
Note: folder for client.dll can also be C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\garrysmod\bin\client.dll

If it does, open those folders where the files are located and delete hl2.exe and the client.dll. Then open Steam, right-click on Garry's Mod and then click Properties. Then click on the Local Files tab and click "Verify Integrity Of Game Cache...", wait for it to finish, then try reconnecting to the server you had trouble with. You should not crash this time. This does not work the first try every time. If you still crash, then follow the procedure again and keep trying.

As of September 7 2012 this bug is probably because of an engine update (This has apparently been patched on September 19, 2012) For more information go to this thread on the official Garry's Mod forums: link

An apparent fix for this is going into the Garry's Mod console and typing:

vgui_allowhtml 0

(This has apparently been patched on September 19, 2012) Found here: link

Unable to open Developer Console

Players with non-US keyboards often encounter problems opening the Developer Console because the set opening key (~) is positioned in a different location. Binding the key via the config.cfg file will not work because the game resets to the default key automatically. Most of the time the console can be opened by pressing the button to the left of the '1' key/under the 'Esc' key. In UK and similar keyboards, this button is the '`' key.

Borderless windowed mode

It is possible to play the game in borderless windowed mode to simulate a fullscreen environment by right-clicking on 'Properties' in your Steam Library, clicking on 'Set Launch Options...' and adding the following:

-window -noborder

This allows for easier alt-tabbing, but will likely cause a decrease in performance.

Console Commands

Games running on the Source Engine can utilize Source Engine Console Commands for various tasks.

Hosting a listen server

To host a server while playing, one must be able to forward ports and enter a console command. The ports 27015 and 27005, both TCP and UDP, need to be forwarded. Then type in console sv_lan 0 without the quotes. Now click "Play Multiplayer", select the map of your choice, and others should be able to join.

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

Installing Mods

To install most mods, simply extract the file downloaded to:

C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\addons.

Some mods, e.g. Wiremod may require some more complex installation. ALWAYS check the readme for the mod before installing.

Low FPS Fix

Command Line Parameters

On a low end PC (Tested on 2GB RAM, 2.4GHz Dual Core Celeron Processor, GeForce 7100) you can modify the command line parameters for Garry's Mod.

  1. Go into your Steam Library.
  2. Right click Garry's Mod.
  3. Click Properties.
  4. Click "Set Launch Options".
  5. Add the following:
    -dev -console -novid -dxlevel 70 +cl_showfps -w -nomemrestrict -norestrictions -percentvidmem 100 +mat_antialias 0 -refresh 60 -heapsize 1048576
    The -heapsize 104876 parameter assumes you have 2GB RAM.
  6. Each time you boot Garry's Mod, you will need to go into your options and turn all settings to low, with anti-aliasing and filtering off.

Note: This works for all Source games pre-Left 4 Dead 2.

System requirements

Template:System Requirements

Template:System Requirements

See Also

References