.bz2 files HELP!

-_Cls-_-Spike_-

L1: Registered
Jan 24, 2013
26
1
Okay so i currently am trying to decrease the long download time and increase players not compiling on the download. So i read about 7zip and compressed the .bsp to a .bsp.bz2 but tf2 dosent read it and I have no clue where to go from here. Please help
 

Volcomator

L1: Registered
Feb 18, 2013
24
33
Try setting the sv_downloadurl to the root directory where the .bz2's are stored rather than the link to the actual file

In this case it would be:
sv_downloadurl "https://www.dropbox.com/s/15bnaktl0rboez7"

Also, you need to set up the folder in your dropbox, so that it mirrors your team fortress 2/tf folder. There should be a folder for maps/, one for models/ etc. You don't have to make the folder unless you have custom content that should go there.

For your dropbox link, it would need to look like this,

"https://www.dropbox.com/s/15bnaktl0rboez7/maps/" <--- Put the .bz2's in there

or if you had a model to upload

"https://www.dropbox.com/s/15bnaktl0rboez7/models/" <---- Put models and all subfolders in there

and so on.

If you plan to upload anymore .BZ2's, make sure you also put them in the "https://www.dropbox.com/s/15bnaktl0rboez7/maps" directory since the server will now be reading from it
 
Last edited:

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
You need to use the public folder in dropbox that lets you use "raw" urls. The sharing links will not function for what you want.

Public are available for any file within the "Public" folder in your main dropbox folder. The URL leads directly to the file since it is for public access.
[noparse]https://www.dropbox.com/[/noparse]u/<user ID number>/pathto/file.txt
e.g. https://www.dropbox.com/u/98931/maps/TLO/01_The_Lonliest_Outpost.jpg

Share links are for any file that is not in public, and each file has a unique key in the URL that leads to a page for viewing, because they are not supposed to be easily accessed by the public.
[noparse]https://www.dropbox.com/[/noparse]s/<unique key>/filenamewithoutpathinfo.jpg
e.g. https://www.dropbox.com/s/ogmxes2y1xh78z8/015-stairs.jpg
and https://www.dropbox.com/s/iwb31wznedkw2ed/025-mainframe.jpg

If you don't have or deleted your public folder, just remake it and dropbox will recognize the name.
Inside the public folder you would want to follow the structure Volcomator described. sv_downloadurl expects to be pointed towards a TF root folder.

So If you have your map at C:\Bob\My Dropbox\Public\fastdownload\maps\2fort.bsp.bz2
then sv_downloadurl should be [noparse]https://www.dropbox.com/[/noparse]u/<userid>/fastdownload

Also note, you might want/need to use http and not https since I'm not sure if Source will work with a secure connection.

And last, just make sure you're doing this for friends or a low-traffic server, because it would be possible to use too much bandwidth and have your dropbox public access suspended for the month.
 
Last edited:

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
Also it's a worth noting that while you bzip2 that map, you need to use the normal compression instead of ultra or the one between these 2 options. Otherwise TF2 is unable to decompress the file.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
Well i have had issues. Maps simply wouldn't dowload to players properly. Though this was ~2-3 years ago, might have been changed since. I have not tested this after that.