How FastDL for Garry's Mod works

The Fast DL system on TCAdmin requires you to place all of your content within the root directory of your service. In Garry's Mod this directory would be - File Manager > \garrysmod\

The folders which are synced by this system would be -


- garrysmod/maps/
- garrysmod/models/
- garrysmod/materials/
- garrysmod/sound/
- garrysmod/resource/
- garrysmod/particles

When uploading addons you will find that addons follow this same structure, example -

- addons/uniqueAddon/models/
- addons/uniqueAddon/materials/
- addons/uniqueAddon/sound/
- addons/uniqueAddon/resource/

All that is required to start the sync would be to upload/copy the custom content from your addons to the root directory, then just click on the 'Fast Downloads Sync'  button on the control panel.

If downloads don't work

If none of your custom content is downloading then you must use an LUA file to force the download. Following this procedure should resolve any issues with Fast DL failing to download when configured correctly,

Start by going to File Manager > \garrysmod\lua\autorun\server - and create an LUA file called 'resource.lua', you then need to list all of your custom content, this is an example of the format - 

if (SERVER) then
resource.AddSingleFile( "models/gabe.mdl" )
resource.AddSingleFile( "sound/earthquake.mp3" )
resource.AddSingleFile( "materials/models/gabe.vmf" )
resource.AddSingleFile( "materials/particles/smokey.vtf" )
resource.AddSingleFile( "materials/darkrp/darkrpderma.png" )
resource.AddSingleFile( "resource/fonts/gabe.ttf" )
end

Changing the path relative to your content. You will want to set these extentions - .mdl, .vvd, .sw.vtx, .sw.vtx, .phy, .dx90.vtx, .dx90.vtx, .dx80.vtx, .dx80.vtx - for models, some models may not have some of those extensions.
If you make a clone of your FastDL on your desktop you can use this program to automatically make the resource file for you, http://f0x.me/RAG/
  • 24 Users Found This Useful
Was this answer helpful?

Related Articles

Workshop for Garrys Mod Dedicated Servers

Most Garrys Mod servers now utilise Workshop for managing their servers. This can simplify how...

Installing Addons

If you're looking at installing some Addons to your Garry's Mod server than you have come to the...

Installing Maps

If you're looking at installing some maps to your Garry's Mod server than you have come to the...

How to create a MySQL Database

1. Login to your game panel and click on 'Mod Manager'.2. Find where it says MySQL Database and...

How to backup & restore my MySQL Database

You must first install a MySQL Database onto your game panel to continue with this tutorial.Go...