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. Now gmpublish.exe will go through the process of compressing and uploading the addon to Steam Workshop. It is essential that both files must have the same name. Save it as something like gmpublish_create.bat. "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\gmpublish.exe" create -addon "%~dpn1.gma" -icon "%~dpn1.jpg" When creating an addon the folder should have an addon.json - which looks like this.
Besides, who wants to download something that looks like a three-year-old made it? addon.json It should look good, otherwise you'll be making the workshop look dirty. Please don't just stitch together something horrible in MS Paint. 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.ĭo not use an image unrelated to your addon - this is stupid and will get your addon removed. If gmpublish.exe does not accept your icon, try reexporting it with Paint or Paint.NET, that should convert it to Baseline. This must be a 512x512 Baseline JPEG image ( Progressive JPEG or a PNG image will NOT work! ). It is generally a good idea to do a final test of your addon before uploading it to workshop to make sure everything works properly.ĭoing so is easy, simply put your addon folder (in this example it would be called my_addon) into the game's steamapps/GarrysMod/garrysmod/addons/ folder and load up the game. Sample Addon is the folder you will need to provide to the gmad.exe to convert it to. My_addon 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. You addon folder structure must look somewhat like this: (below is just an example)
To upload an addon to workshop you will need the following things:
If the "Update existing addon" button is stuck in an infinite load, it's possible the libraries required for gmad_linux and gmpublish_linux are not correctly linked. You must have Garry's Mod installed to use this tool, since it utilizes gmad.exe and gmpublish.exe which can be found in /GarrysMod/bin/ Not being logged into Steam will obviously cause uploads to fail Having an unallowed file (or an incorrect folder structure) in your addon's directory will cause your upload to fail, here's a list of allowed files which should also give you an idea of where to place things Your addon icon not being a baseline JPG will cause your upload to fail, which can usually be fixed by exporting your icon in Paint (Windows), Gimp, or Photoshop. Make sure you follow the wiki's directions to the letter.
A light-weight Electron GUI for gmad and gmpublish that allows you to create/update/extract Garry's Mod addons very easily.Īs of v2.0, you can upload and update your addons, as well as extract GMA files.ĭownload a release and run gmod-addon-tool.exe.