Fast map download help

Does anyone have a step by step tutorial on how to set this up?

Compressing maps to .bz2 files
Location where these maps go
Download URL for individual map downloads - location where cvar should be (assuming server.cfg)

I downloaded the map compression tool already, just need to know what to do and where to put things.

Thanks in advance,

dbanimal

Zip your maps using bzip. - To do this drag the map for example dm_lockdown.bsp onto the bzip2.exe and it will turn it into dm_lockdown.bsp.bz2

Upload the maps to your website or ftp you are using. Mine is http://www.left4-dead.com/hl2mp/maps/

In your server.cfg - sv_downloadurl http://www.left4-dead.com/hl2mp/ (change link to your site where your maps are uploaded)

Test it out, let me know if it works.

to clarify
your offsite server should have a folder name hl2mp. inside it have a folder name maps. and inside the maps folder place all your bz2 files.
goes without saying you will always need to have both the bsp of the map on the actual game server and the bz2 of that map on your offsite.
another tip regarding FTP uploads. use Filezilla and always use Transfer Type : Binary.

Thanks a million to both of you, it’s very much appreciated. One more question, in my mapcycle.txt do I put dm_lockdown or dm_lockdown.bz2 or dm_lockdown.bsp.bz2?

Thanks again!! :smiley:

Just dm_lockdown

in your server.cfg file you need to have a line that says:

sv_downloadurl “http://www.(your fast DL site name).com/hl2mp”

Thanks para :wink:

:laughing:

missing map issues:
-if fast dl url is not empty but there is no fast dl version (server might be down for eg)
-older versions with same name (might give “map differs from server’s”)
-name too big (30 chars or so)
-above net_maxfilesize (default 16, not 64)
-capitalization

sry if only the first is on topic lol but doesn’t hurt

Thanks again to all!! Any and all information is very helpful.

dbanimal

I know it can be a pain bz2-zipping a full directory of 20 or more maps so I fond a way to use 7zip and a batch file.

Install 7zip then copy 7z.exe to C:\Windows\System32
paste this into text editor and save as “batch-bz2.bat” use the quotes

for %%A in (*.bsp) do 7z a -tbzip2 -mx=9 -mmt=on %%A.bz2 %%A

-mmt=on is multicore/thread support
Place the file where the maps you want bzipping then double click, itdoesnt matter if there are file types other than .bsp in the directory it will only compress the .bsp files.

There are probably other tools outthere but I already had 7zip installed and didnt want to install yet another program.

there is no other compression on this planet at this point in time that matches or betters 7z.
and you’re batch files looks sweet. :sunglasses:

I have a problem.

Everyone who joins keeps getting a message saying “missing map”.

I’m trying out dropbox.com - which gives me 2GB free storage for people to download from. Do you think this site may be causing my problems?

In my server.cfg I have sv_downloadurl “http://dl.dropbox.com/u/mynumber/hl2mp/maps”.

When downloading a map it appears that it’s going to work because it shows maps/dm_lockdown.bsp.bz2 but then immediately goes to “Missing map”. I’m puzzled.

Any advice?

Well a special thanks to neolinkster who contacted me, I was close with the setup but had to eliminate the /maps on the url link and that took care of it. It seems to be working great, we’ll see how it goes!

In your server.cfg - sv_downloadurl http://www.left4-dead.com/hl2mp/ (change link to your site where your maps are uploaded)
helps if u proof read the help we give you :smiley:

Yes I admit I got the 2 mixed up. So sue me!! :smiley:

“we” are very upset. how could you!!!