Garry's Mod

Garry's Mod

Ultimate Workshop Downloader
 This topic has been pinned, so it's probably important
Xalalau  [developer] Jun 20, 2021 @ 12:41pm
Legacy Addons Support
Legacy addons are custom game elements directly installed in garrysmod/addons directory. In this category, servers share their files via ServerDL or FastDL methods instead of using Workshop via WorkshopDL. ServerDL and FastDL were once the official way of exchanging files on servers, but nowadays, although functional, they have been largely retired.

Some disadvantages of using legacy addons are:
- The need of a paid connection/server to store and send the addons;
- Possible server slowdowns depending on how it's set up;
- ServerDL has no compression support, is limited to 64MB file size and to SRCDS' upload speed, which is 30KBps (at peak) (downloading 10MB can look like hell);
- FastDL is a pain to set up, very fragile and mix all your addon files.

Even with these limitations such methods are still useful for some people, especially for developers who sometimes just need an easy and fast way to test their creations. That said, as of 2021/06/21 we started supporting legacy addons in Ultimate Workshop Downloader.

If you want to go on, choose between ServerDL and FastDL and follow the instrutions.

FastDL

For public server owners! UWD is not needed for this method after all.

This way consists of compressing and uploading your files to your own host and using it to deliver your contents. It's limited only by internet speeds. Follow these steps: 1) Use https://github.com/WilliamVenner/gmpublisher to get all the extracted addons you need 2) Join their content matching the following directory structure: maps .bsp materials .vmt .vtf models .dx80.vtx .dx90.vtx .mdl .phy .sw.vtx .vvd sound .mp3 .wav particles .pcf resource .ttf 3) Compress each file individually to the bzip2 format by following this tutorial (just change the file extensions to bz2 in the end): https://www.wikihow.com/Use-7Zip-to-Create-Multiple-Compressed-Folders-in-One-Go. Leave only the compressed files in the folders. 4) Upload your FastDL strucuture to your host, like https://mysite.com/fastdl/darkrp 5) Add the following configurations to your garrysmod/cfg/server.cfg changing the link to yours: sv_downloadurl "http://mysite.com/fastdl/darkrp" sv_allowdownload 0 // This disables ServerDL sv_allowupload 0 // This is a security measure 6) Restart the server 7) It's done!

ServerDL

Recommended for developers testing their addons! UWD is needed for this method.

ServerDL is very easy to use but you're limited to 64MB file size and 30KBps upload speed, as informed at the beginning of this text. All you need to do is make sure sv_allowdownload is set to 1 and place your SomeAddon folder in your server garrysmod/addons directory, then you can automate the downloads with UWD! Jus run this command:
downloader_legacy_scan_danger 1
and the selected files will appear in the console like this: https://i.imgur.com/h93hFJs.png From now on everytime you open your server the legacy support will be enabled by default and working. That's it, you're done.

Thank you for choosing UWD!
:steamthumbsup::gmod::headcrab:
Last edited by Xalalau; Apr 14, 2023 @ 12:41am
< >
Showing 1-1 of 1 comments
ceifa  [developer] Jun 20, 2021 @ 12:44pm 
up
< >
Showing 1-1 of 1 comments
Per page: 1530 50