Fast map download help

dbanimal

2010-07-27 00:31:21

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

Da1

2010-07-27 03:19:13

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.

[EYE] Valar

2010-07-27 03:24:51

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.

dbanimal

2010-07-27 06:28:21

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!! :D

Da1

2010-07-27 06:48:43

Just dm_lockdown

Paradox

2010-07-27 11:35:56

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

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

Da1

2010-07-27 13:02:19

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

Thanks para :wink:

[EYE] Valar

2010-07-27 13:43:14

:lol:

Ade

2010-07-27 17:34:40

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

dbanimal

2010-07-27 20:22:18

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

dbanimal

keefy

2010-07-28 04:00:33

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

Code: Select all

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.

[EYE] Valar

2010-07-28 04:12:02

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. 8)

dbanimal

2010-07-28 05:46:54

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?

dbanimal

2010-07-28 07:39:17

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!

Ade

2010-07-29 22:54:54

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 :D

dbanimal

2010-07-31 03:09:04

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

[EYE] Valar

2010-07-31 03:47:26

"we" are very upset. how could you!!!