Raised This Month: $32 Target: $400
 8% 

SM File/Folder Downloader and Precacher


Post New Thread Reply   
 
Thread Tools Display Modes
ayrton09_arg
Senior Member
Join Date: Nov 2017
Old 11-10-2019 , 22:25   Re: SM File/Folder Downloader and Precacher
Reply With Quote #491

Quote:
Originally Posted by Hoto Cocoa View Post
ah, it didn't work.....
Example:
models/indexh/cocorig/lua
in the downloads_simple.ini
but client just don't download anything of that folder
and I have checked that files are in the right folder and the fastdl server
maybe the sv_downloadurl "" from your webhost is bad
ayrton09_arg is offline
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 11-10-2019 , 22:36   Re: SM File/Folder Downloader and Precacher
Reply With Quote #492

Quote:
Originally Posted by ayrton09_arg View Post
maybe the sv_downloadurl "" from your webhost is bad
nope let's that a example that we have
models/indexh/lua
models/indexh/wa2

in the downloads_simple.ini

and wa2 can be downloaded nornally..

looks like the files cannot be lua or something...
change them to lucy and everything goes smoothly

Last edited by Hoto Cocoa; 11-10-2019 at 23:14. Reason: edit
Hoto Cocoa is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 05-30-2020 , 10:03   Re: SM File/Folder Downloader and Precacher
Reply With Quote #493

If you want a non buggy / working downloader use:
https://github.com/JakubKosmaty/Simple-Downloader
To use just add all files to one .txt file. If you need it to download other files like .ani or .wav just edit and add it to the code "the .sp". (Very easy)

And to precache particles/aura use:
https://forums.alliedmods.net/showthread.php?t=322106
Just add to the server.
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 05-31-2020 at 04:32.
zwetch is offline
Chris7c0
New Member
Join Date: Nov 2020
Old 11-16-2020 , 19:14   Re: SM File/Folder Downloader and Precacher
Reply With Quote #494

Does this still work for Left4Dead2? I cannot get it to download my vpk or bz2 file.
Chris7c0 is offline
Zahti
New Member
Join Date: Apr 2020
Location: Boise, Idaho
Old 03-10-2021 , 17:10   Re: SM File/Folder Downloader and Precacher
Reply With Quote #495

I think I configured this correctly, but I am seeing some errors when connecting to server. I keep seeing and hearing people talk about fast download (fastdl), but I have never seen a good explanation for how to set that up or what to do with it. It's interesting because only 2 of the files were downloaded out of the 4:
Code:
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vmt.bz2.
Error downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vmt.bz2
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vmt.
Download finished!
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vtf.bz2.
Error downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vtf.bz2
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vtf.
Download finished!
downloads.ini
Code:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)

//Decal Files (Download and Precache)
materials/overlays/storm.vmt
materials/overlays/storm.vtf
materials/overlays/test.vmt
materials/overlays/test.vtf
//Sound Files (Download and Precache)

//Model Files (Download and Precache)
Any ideas if how I can get test.vmt and test.vtf to also download? Also, could someone give me a good explanation of fastdl and how to go about setting that up?
__________________
Zahti is offline
Zahti
New Member
Join Date: Apr 2020
Location: Boise, Idaho
Old 03-10-2021 , 18:08   Re: SM File/Folder Downloader and Precacher
Reply With Quote #496

Quote:
Originally Posted by Zahti View Post
I think I configured this correctly, but I am seeing some errors when connecting to server. I keep seeing and hearing people talk about fast download (fastdl), but I have never seen a good explanation for how to set that up or what to do with it. It's interesting because only 2 of the files were downloaded out of the 4:
Code:
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vmt.bz2.
Error downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vmt.bz2
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vmt.
Download finished!
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vtf.bz2.
Error downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vtf.bz2
Downloading http://gilly.dathost.net/fastdl/csgo/.../materials/overlays/storm.vtf.
Download finished!
Any ideas if how I can get test.vmt and test.vtf to also download?
Just answered my own question about verifying if files actually got downloaded. Detailed here: https://github.com/JakubKosmaty/Simp...oader/issues/1

I also decided to use simple downloader linked above which was way easier since you don't have to recompile anything. You just edit the Master_Downloader.txt file and reload the plugin.
Quote:
Originally Posted by zwetch View Post
If you want a non buggy / working downloader use:
https://github.com/JakubKosmaty/Simple-Downloader
To use just add all files to one .txt file. If you need it to download other files like .ani or .wav just edit and add it to the code "the .sp". (Very easy)

And to precache particles/aura use:
https://forums.alliedmods.net/showthread.php?t=322106
Just add to the server.
Now to figure out if dathost.net (server provider) offers a fastdl option.
__________________

Last edited by Zahti; 03-10-2021 at 18:10.
Zahti is offline
mikaelangelis
Senior Member
Join Date: Oct 2017
Old 07-05-2021 , 07:01   Re: SM File/Folder Downloader and Precacher
Reply With Quote #497

can it download the url from google drive? my custom mod for my server is up there.
mikaelangelis is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-05-2021 , 10:49   Re: SM File/Folder Downloader and Precacher
Reply With Quote #498

Quote:
Originally Posted by mikaelangelis View Post
can it download the url from google drive? my custom mod for my server is up there.
I believe that since 2017 there is no stopping to do this.

https://forums.alliedmods.net/showthread.php?t=280277

https://forums.alliedmods.net/showthread.php?t=291674
paulo_crash is offline
jian yu
Member
Join Date: Jun 2021
Old 07-06-2021 , 07:22   Re: SM File/Folder Downloader and Precacher
Reply With Quote #499

HI ! its about my L4D2 server's problem
I tried to start a " customer map " instead of official map
my purpose is to allowing players to download the customer map via my google drive
( just click join and wait , it will download & install the customer map by auto via the game inside and doesnt need to download the map manual from the map webside instead inside of the game ).
and I just extract the " xxxx.vpk " map file by vpk.exe , and upload it on my google drive and set the folder to public and I put the link into the sourcemod.cfg with the command : sv_downloadurl (I also put my google drive l4d2 cutomer map link here) & sv_allowdownload 1
and I already set up the downloads_simple.ini file .

I just installed the plugins with this guide down below:

Quote:
Originally Posted by JoinedSenses View Post
Attached a version with new syntax.

This version also performs searching in custom folders for files, eg /tf/custom/my_custom_folder/maps

If using this version and you have things in a custom folder, then just put the normal search path in the downloads(_simple).ini files

For example - if file is here:
tf/custom/my_custom_folder/model/some_model/whatever.mdl
Add model/some_model/whatever.mdl to the ini file used and place it in the corresponding location for fastdl

server layout
Code:
tf/custom/my_custom_folder/maps/jump_minecraftia_preview22_particles.txt
tf/custom/my_custom_folder/resource/jump_minecraftia_preview22.res
tf/custom/my_custom_folder/particles/torcheffects.pcf

OR

tf/maps/jump_minecraftia_preview22_particles.txt
tf/resource/jump_minecraftia_preview22.res
tf/particles/torcheffects.pcf
downloads.ini
Code:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)
maps/jump_minecraftia_preview22_particles.txt
resource/jump_minecraftia_preview22.res
particles/torcheffects.pcf

//Decal Files (Download and Precache)

//Sound Files (Download and Precache)

//Model Files (Download and Precache)
fastdl layout
Code:
sv_downloadurl "http://whateverserver.com/fastdl/"

http://whateverserver.com/fastdl/maps/jump_minecraftia_preview22_particles.txt
http://whateverserver.com/fastdl/resource/jump_minecraftia_preview22.res
http://whateverserver.com/fastdl/particles/torcheffects.pcf
but it still not working ! players just cant join my server straight but showed up the message that to makes them download the map by the link as the picture
Attached Thumbnails
Click image for larger version

Name:	a2.PNG
Views:	255
Size:	14.3 KB
ID:	190228   Click image for larger version

Name:	a3.PNG
Views:	266
Size:	40.7 KB
ID:	190229  

Last edited by jian yu; 07-06-2021 at 07:25.
jian yu is offline
NOTORIOUS7302
Member
Join Date: Nov 2018
Location: Anonymous
Old 09-01-2021 , 16:47   Re: SM File/Folder Downloader and Precacher
Reply With Quote #500

Does this support recursive downloading?
NOTORIOUS7302 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode