Garry's Mod

Garry's Mod

Ultimate Workshop Downloader
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Xalalau  [udvikler] 22. mar. 2021 kl. 10:18
Extended F.A.Q.
Oprindeligt skrevet af Auditormadness9:
Do those workshop files get deleted from their computers after they disconnect/exit the game?

GMod manages the workshop files, and it doesn't delete any of them after players leave the servers.

Oprindeligt skrevet af SeediSilver:
so does this make it faster to join servers who have alot of addons?

Actually it'll take you the correct time to enter the server because you'll download what you have to. If it was fast before, things were missing, if it was slow, there were too many downloads.

Oprindeligt skrevet af "Xalalau":
What gamemodes does it support?

All gamemodes. DarkRP, Sandbox, Murder, TTT... It doesn't matter.

Oprindeligt skrevet af "THEEXPLIMITER":
What is the difference between this and Addon Share?

UWD can run on dedicated servers, is fully automatic, includes some optimizations, checks for PointShop1 missing files, supports FastDL and ServerDL and has a different control panel.

Feel free to use whatever you prefer, Addon Share also works on its own way. But choose one or another, having both addons is redundant.

Oprindeligt skrevet af "RainbowTrollFace ":
Only a few of my addons were installed (for others) but many of them still showed up as errors.

Usually it's caused by a bad configuration and sometimes GMod doesn't load the downloaded files correctly. To fix this, before joining a server first check if "workshop downloads" are enabled (Options -> Multiplayer) then, if it's still not working, just restart the game.

Oprindeligt skrevet af "Crack Mouse":
Where are the mods downloaded to?
Oprindeligt skrevet af "bum3n":
how to remove addons that this addon downloaded [...]?

Many people ask "how to delete files"...

To send the addons we use two very common Lua functions:
  • resource.AddSingleFile
  • resource.AddWorkshop

So all downloading and storage is done by the game itself, not us. Our job is just to select the correct addons automatically, which is what every server owner needs to do manually without us. See, every server you've ever logged into is piling up garbage on your computer, that's how GMod works.

We can't clearly tell you how to clean up the game because there is no default or stable way to do that. The only official thing about this is the GarrysMod/FactoryReset-GMod.bat file, but running it will return your game to its original state.

Anyway, there are some Important locations in the current GMod version that store addon files and configurations. I really don't recommend to remove their content, but if you want to do so, there they are:

"steamapps\Workshop\content\4000" -- Newer GMod Workshop addons folder (since January 2020 update)

Iside "steamapps\common\GarrysMod\garrysmod":
  • addons -- Legacy addons and older Workshop addons folder
  • download, downloads and downloadlists -- ServerDL and FastDL files and folders
  • cache -- Lua/Workshop generated cache
  • cl.db, sv.db and mn.db -- SQLite databases (Make Steam check the game files if you delete these)
  • data -- Addon generated data

Oprindeligt skrevet af "Metrowned":
Does this work with Automatic Workshop Downloader made by Lt. Sammy [...]?
Oprindeligt skrevet af "Metrowned":
I currently use the reuploaded version of P2P Hero, and I want to switch to UWD but I'm concerned that my friends will have to redownload all of my mods.

What has already been downloaded is not downloaded again, but AWD and P2P Hero send every mounted Workshop addon while UWD selects what's really needed (e.g. only the current map, addons for the loaded gamemode). If you use UDW with them, our optimizations will be lost, so choose just one of these addons.

Oprindeligt skrevet af "FinnishLime506":
Will this download the same Workshop items for every connection?

No, just once. Who manages the downloads is GMod and it doesn't delete the files.

Oprindeligt skrevet af "FinnishLime506":
Does this install disabled addons?
Oprindeligt skrevet af "Martinlauti1":
Will the addon work if it is not downloaded on the server?

No.

Oprindeligt skrevet af "Phenomenali ":
My friend couldn't find addons like ragdoll or props on the spawnlist

UWD "Adds a Workshop addon for the client to download before entering the server." (https://wiki.facepunch.com/gmod/resource.AddWorkshop). That's it.

Unfortunately, this "missing spawnlists" behavior is normal and we don't like it either. The only solution I know is to locally create a spawnlists searching for each item in the Spawn Menu.

Oprindeligt skrevet af "Dr. Sauce":
What happens to mods that don't include model/texture/sound/etc. files?

As long as the programmer has done his job correctly, GMod handles the scripts (.lua files) by itself (they are automatically downloaded by clients if necessary). So, in this case, our addon isn't needed and can be disabled without any problems.

Oprindeligt skrevet af "Such":
Is there a way to make the this addon only download specific addons?

No. What we select to download is what is needed (from Workshop), neither more nor less, so there's no need for manual configurations.

Also UWD is not designed to load addons on the fly, it just sets up the addons to download as soon as the server opens.

Oprindeligt skrevet af "Journeyman":
Is there anyway to get this to download custom addons that are not on the Workshop?

Yes. Check out our Legacy Addons Support topic.
Sidst redigeret af Xalalau; 24. apr. kl. 16:16
< >
Viser 1-15 af 28 kommentarer
ceifa  [udvikler] 20. juni 2021 kl. 12:44 
up
Solaris 25. juni 2022 kl. 19:18 
can you explain why theres an ip logger inside the source code of this?
Xalalau  [udvikler] 26. juni 2022 kl. 7:15 
Yes, it's for statistics along with the other data.
Peanut 26. juni 2022 kl. 18:26 
Oprindeligt skrevet af Xalalau:
Yes, it's for statistics along with the other data.
and why are such statistics necessary? i don't trust people to steal my IP and other telementry for "statistics" in an addon literally designed for the sole purpose of helping you download other people's addons
Xalalau  [udvikler] 27. juni 2022 kl. 8:20 
Did you know that Microsoft has your IP and counts things like the number of times you open your program windows? Did you know that Google reads your emails? Do you think your dynamic IP is this valuable somehow? Any server has it, any addon with http has it (on serverside without you ever knowing lol), the entire internet knows it.

What is so difficult to understand? Statistics are data, it says all kinds of things. We've already shown some readings here: https://gtm.steamproxy.vip/workshop/filedetails/discussion/2214712098/3040479910552040940/

In fact, we've fixed loading time issues more than once thanks to the data saying how long it took people to load different addon types, which culminated in the creation of the current cache system. UWD scans the gmas and if it's done badly GMod actually takes a while to create sessions.
Sidst redigeret af Xalalau; 27. juni 2022 kl. 9:07
Peanut 11. aug. 2022 kl. 12:34 
Oprindeligt skrevet af Xalalau:
Did you know that Microsoft has your IP and counts things like the number of times you open your program windows? Did you know that Google reads your emails? Do you think your dynamic IP is this valuable somehow? Any server has it, any addon with http has it (on serverside without you ever knowing lol), the entire internet knows it.

What is so difficult to understand? Statistics are data, it says all kinds of things. We've already shown some readings here: https://gtm.steamproxy.vip/workshop/filedetails/discussion/2214712098/3040479910552040940/

In fact, we've fixed loading time issues more than once thanks to the data saying how long it took people to load different addon types, which culminated in the creation of the current cache system. UWD scans the gmas and if it's done badly GMod actually takes a while to create sessions.
Shame you couldn't figure out when it wasn't working for me and my friend!
FreezeSaxophone 13. sep. 2022 kl. 16:33 
so it doesn't install disabled addons? if so then GREAT
Xalalau  [udvikler] 13. sep. 2022 kl. 17:30 
Oprindeligt skrevet af bubble:
so it doesn't install disabled addons? if so then GREAT
Yep, only enabled addons.
FreezeSaxophone 15. sep. 2022 kl. 16:26 
Oprindeligt skrevet af Xalalau:
Oprindeligt skrevet af bubble:
so it doesn't install disabled addons? if so then GREAT
Yep, only enabled addons.
this is good because i have more than 29 pages of addons with most of them disabled
SourceStick 27. dec. 2022 kl. 2:21 
Oprindeligt skrevet af Xalalau:
Oprindeligt skrevet af Such:
Is there a way to make the this addon only download specific addons?
No. What we select to download is what is needed (from Workshop), neither more nor less, so there's no need for manual configurations.

Also UWD is not designed to load addons on the fly, it just sets up the addons to download as soon as the server opens.
Why not?
I got some addons that my friend does not want and they only affect my gameplay. Like custom HUD, things that turn GMod into a poor man's movement shooter, etc. (While the HUD can be disabled on their end, the movement stuff can't without affecting me)
Most probable errors are gonna be about missing sounds, and those sounds are why this addon downloads them for my friend.
Xalalau  [udvikler] 27. dec. 2022 kl. 4:35 
Oprindeligt skrevet af Hoovy Simulator 2 FIN:
Oprindeligt skrevet af Xalalau:

No. What we select to download is what is needed (from Workshop), neither more nor less, so there's no need for manual configurations.

Also UWD is not designed to load addons on the fly, it just sets up the addons to download as soon as the server opens.
Why not?
I got some addons that my friend does not want and they only affect my gameplay. Like custom HUD, things that turn GMod into a poor man's movement shooter, etc. (While the HUD can be disabled on their end, the movement stuff can't without affecting me)
Most probable errors are gonna be about missing sounds, and those sounds are why this addon downloads them for my friend.

If you're talking about the ability to disable sending some addons, I agree that this is a useful function. However, this feature is quite inconvenient because after the player marks an addon for sending, the game doesn't allow unmarking it, so for the download to work correctly it's necessary to restart the map.

I'll think if it's worth increasing the complexity of the downloader to display this option and others.
Hyper Abbood 15. jan. 2023 kl. 17:16 
Does This addon Install Addons that We Have Into Our Freinds Addons?
Hyper Abbood 15. jan. 2023 kl. 17:17 
If It Does Then That Means Fast Loading
i think a gmod update bricked this, a few days ago my connecting friends dont auto download thier maps anymore, and scrolling really far into the console, you can spot lots of

WorkshopDL: Took too long to get item info for *addonid*!
WorkshopDL: There is no file to mount for '*addonid*'!

errors
wolfee0507 25. mar. 2023 kl. 17:52 
Oprindeligt skrevet af NextKuromeThe76Soldier:
i think a gmod update bricked this, a few days ago my connecting friends dont auto download thier maps anymore, and scrolling really far into the console, you can spot lots of

WorkshopDL: Took too long to get item info for *addonid*!
WorkshopDL: There is no file to mount for '*addonid*'!

errors
rip
< >
Viser 1-15 af 28 kommentarer
Per side: 1530 50