How To Install Gmod Addons

Posted on
How To Install Gmod Addons Average ratng: 4,5/5 3684 votes

Mod Installation. Download the file or files you want for your gmod. Open them up with 7-Zip or what ever program you use to open compressed files. Extract the file or files to your C: Program Files Steam steamapps.Your Steam Username. garrysmod garrysmod folder. That's for basic adding for more in depth adding look below. Go the the GMOD Textures Page; Download the CSS Textures; Download the CSS Maps (optional) Extract the folder contained within the Zip File; Go to Steam; Right Click Garry's Mod, click PropertiesLocal FilesBrowse Local Files; Open the 'garrysmod' Folder, then open the 'addons' folder; Drag and drop the CSS Game Content folder In the Addons folder. Garry's Mod is a sandbox providing tons of content to play with for Valve games. This game allows you to manipulate creatures and objects in popular games such as Half-Life 2 and Counter-Strike. AddOns in Garry's Mod will allow you to import your own models, vehicles, cities, and other game models.

I am going to be installing Garry's Mod on a new laptop. Given that I only have a limited amount of space, I don't want to install all of the current Garry's Mod add ons that are already installed on my Desktop computer.

Without creating a new account, how can I both stay subscribed to the add ons I have installed on my Desktop and stop those same add ons from being downloaded to my laptop, essentially, preventing these two computers from syncing add ons.

How do I prevent Garry's Mod from automatically downloading add ons I have subscribed to on another computer?

Ghost KoiGhost Koi

2 Answers

  1. You can try, within steam, going to Library->Games, then Right click on Garry's Mod, go to Properties in the drop-down, navigate to the Updates tab then un-check 'Enable Steam Cloud sync for Garry's Mod'.

This didn't end up working for me, it stays unchecked but initiates installing the addons on game startup anyway. You might need to restart your whole computer, or you might need to reinstall Gmod for it to work, I'm not sure, I'm testing it right now.

  1. Another option is to try to backup your addons from your desktop, then unsubscribe from all of them through Steam Community. I'm sure many people have many pages of addons, making this possibly a huge pain to do, but is the only other thing I can think of right now. You could try backing them up from your 'garrysmod' directory and a file called 'appworkshop_4000.acf' located in: steamapps->workshop.

Working with 'appworkshop_4000.acf', you could also try to set all of the 'NeedsDownload' instances to '0'. I'm not sure this will work though because steam pulls your subscribed addon info before listening to this file, but you could always try. I tried deleting all the info from this file too but because of it takes lower priority, it gets 'refilled' instantly.

*If you do end up backing up then unsubscribing from your addons, you can set to display 30 items per page, and also try this js in your browser, open Developer Tools(f12) then enter this in the Console: (function(){jQuery('.btn_grey_black').map(function(){this.click()})})() This unsubscribes you from all the addons on the page at once - so make sure you are filtering by Gmod and have backups of the addons (.gma's)

I haven't tried all of these things so just be careful to not delete anything you don't want to, but I hope any of this helps! - Seems like yet another thing for Steam to add to their list.

Edit:You can also have a look at this: http://forums.steampowered.com/forums/showthread.php?t=2470784

I will try it myself and try to summarize it to when I get the time

WilliquahWilliquah

Here is a strange little trick I learnt and taught my friends: note that, however, I have only tried it on Mac. It may still work on other platforms, but you will need to be quick (Elaboration below). It still allows you to play online, of course, and I guess that is what you are looking for (Other wise you can always play offline)

Here it is:With your Gmod page in the library open on Steam, click on the 'Play' button. Now, VERY quickly, go to your network connection tab (AKA for Macs, the Wi-Fi bars at the top) and turn your internet off. When the game has fully loaded to the game title screen, you can turn your internet back on.

Not quite sure why it works, maybe the game checks the Steam servers during loading to look for data such as subscriptions?

Please note that to play online on a new computer, you do have to start the game online first. Hopefully it should still work with the above method, but if for some reason it does not, just open the game normally, then quit it when it opens and procede as above.

PlanetAlexanderProjectsPlanetAlexanderProjects
6721 gold badge6 silver badges21 bronze badges

Not the answer you're looking for? Browse other questions tagged garrys-mod or ask your own question.

  • 3Preparing your addon
    • 3.1Folder with addon files
  • 4Creating a .gma for upload
    • 4.1Common Errors
  • 5Uploading your addon
    • 5.1Common Errors

This article will teach you how to prepare and upload an addon to the Steam Workshop.

There are a few rules before you start uploading addons.

Please see this page for complete set of rules:Steam Workshop Rules

To upload an addon to workshop you will need the following things:

  • A folder anywhere on your computer containing addon files
  • A 512x512 .jpg icon for your addon.

If you're going to make your addon public, please make sure it's unique and will add something new to Garry's Mod. Don't upload addons you didn't make, even fixed versions, without the author's consent.

Folder with addon files

The structure of addon for Steam Workshop is the same as the classic addon system of Garry's Mod 12, except for those differences:

  • info.txt or addon.txt are not needed
  • You can only upload files that would normally be mounted by the game, except for:
    • .dll, .exe, .htm, .html, .css and .js files are restricted
    • .txt files are restricted too, except for vehicle scripts

You addon folder structure must look somewhat like this: (below is just an example)

Here's all the folder names that your addon may contain, next to the addon.json file:

NOTE

myAddon is the folder you will need to input to gmad.exe or any other Workshop uploader and it's name could be anything, addon's name is defined on the Workshop Page for that addon and NOT by the folder name.

Full file path whitelist can be found here:https://github.com/garrynewman/gmad/blob/master/include/AddonWhiteList.h

Example


Sample Addon is the folder you will need to provide to the gmad.exe.

The icon

This must be a 512x512 Baseline JPEG image ( Progressive JPEG or a PNG image will NOT work! ).If gmpublish.exe does not accept your icon, try reexporting it with Paint or Paint.NET, that should convert it to Baseline. The chroma must be 4:2:0, for instance Photoshop and GIMP can use 4:2:2 or 4:4:4, which are not accepted.

Do not use an image unrelated to your addon - this is stupid and will get your addon removed. Express your addon in image form.
Make it relevant to your addon.Please don't just stitch together something horrible in MS Paint. It should look good, otherwise you'll be making the workshop look dirty. Besides, who wants to download something that looks like a three-year-old made it?

addon.json

When creating an addon the folder should have an addon.json - which looks like this.

title is the name of your addon.

type is the type of addon, one of:

tags is up to two of these:

Ignore is a simple wildcard list of files to ignore. You can have as many of these as you want - and they don't have to be wildcarded, they can be specific files.

For Windows, you can simply navigate to your GMad.exe in <STEAM LOCATION>/steamapps/common/garrysmod/bin and drag'n'drop your addon folder ( myAddon in this example ) onto GMad.exe.

GMad.exe will now create your .gma. It will place it to the same location where your folder is, with the same name.

Do not move GMad.exe anywhere!

Alternatively You can open the command prompt (cmd.exe), cd to the gmod bin folder
(cd '<STEAM FOLDER>/steamapps/common/garrysmod/bin', include quotes), then enter the following command (including quotes):

Windows users can also create a .bat file to automate this process:

Just make sure to insert correct path to your GMad.exe.

Common Errors

[Files does not pass whitelist]

You have either dragged a wrong folder onto GMad.exe, your addon contains forbidden files or your addon has incorrect folder structure. See example above for correct addon folder structure and file whitelist.

Couldn't parse json

Your JSON file is missing or it is invalid. Use any JSON validators to find and fix errors.

There are multiple ways of doing that, we are going to cover only the most convenient way of doing this, if you are on Windows.

At this point you should have a .gma file and a .jpg file. For the sake of making this easy, rename both files to have the same name, for example myaddon:

  • myaddon.jpg
  • myaddon.gma

Next you want to navigate to your gmpublish folder and create a .bat file there:

How To Install Gmod Add-ons Without Steam

Save it as something like gmpublish_create.bat.

Once you got the .bat file ready, simply drag'n'drop your .gma or your .jpg onto that .bat file. It is essential that both files must have the same name.

Now gmpublish.exe will go through the process of compressing and uploading the addon to Steam Workshop.

Once that process is completed, open your Garry's Mod Steam Workshop, go to 'My Shared Files' ( You can also get there from your profile ) and change visibility of your addon to Public.

You are done. Your addon is now live. You can now change the title, description, images and videos for your addon.

Note that rules also apply to your title, description, images, icon and videos:

  • No questionable content
  • No racism or offensive language/material

Common Errors

Compression Failed

This is simple - your addon is too big. This is usually solved by downscaling your .vtf textures. Note that some video cards may not even support 4096x4096 textures! 1024x1024 or 512x512 are usually more than enough.

Make sure that if you are uploading a particularly texture-heavy addon that you use DXT5 texture compression. DXT5 is exponentially smaller than RGBA or BGRA, saving not only time downloading and uploading but cloud space.

Ran out of quota

Call of duty care package box design. If this happened to you, contact robotboy655@facepunchstudios.com for help.

Addon has invalid type!

Your addon.json has the 'type' tag set to an invalid value. You can see a list of allowed values above.

PublishWorkshopFile failed! (8)

How To Install Gmod Add-ons Manually

This error happens when the addon.json contains invalid UTF-8 sequences. This happens if you use an upload script (.cmd, .bat, etc) that cannot create the addon.json with the UTF-8 character set. Please fix your addon.json by editing it as UTF-8 or use a title using only US-ASCII characters (latin characters with no accents).

Good Gmod Addons

This error only happens after the upload because the addon.json is packed inside of the sent GMA file.

PublishWorkshopFile failed! (9)

An icon must be provided.

PublishWorkshopFile failed! (X)

If you encountered an error with a number that is not listed on this page, you can find a list of all Steam related error codes on this handy website: https://steamerrors.com/

Please note - that website is not associated with Steam, Valve or Facepunch in any way, and may be incomplete.

How to install gmod addons without steam

You can use alternative tools made by community members to create, extract and upload addons to Steam Workshop.

Links to such known tools: ( feel free to expand )

Please make sure your addon isn't creating errors for people. If your addon is creating too many errors it will be removed.

How to get gmod mods

You can learn how to update existing workshop addons in this article:Workshop Addon Updating

Retrieved from 'https://wiki.garrysmod.com/index.php?title=Workshop_Addon_Creation&oldid=32261'