The HL2DM University Forum

www.hl2dm-university.com
It is currently Fri Sep 10, 2010 12:49 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: Fast map download help
PostPosted: Mon Jul 26, 2010 1:31 pm 
Offline
User avatar

Joined: Thu Sep 27, 2007 8:16 am
Posts: 551
Location: Minnesota
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


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Mon Jul 26, 2010 4:19 pm 
Offline

Joined: Fri Aug 10, 2007 4:38 pm
Posts: 243
Location: Yuba City, CA
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.


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Mon Jul 26, 2010 4:24 pm 
Offline
User avatar

Joined: Sat Sep 15, 2007 10:35 am
Posts: 1847
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.

_________________
Image
% H A M M E R E D U C A T I O N %
|||||||| M Y W O R K ||||||||
The difference between mediocrity and greatness is the decision not to say "fuck it"


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Mon Jul 26, 2010 7:28 pm 
Offline
User avatar

Joined: Thu Sep 27, 2007 8:16 am
Posts: 551
Location: Minnesota
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


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Mon Jul 26, 2010 7:48 pm 
Offline

Joined: Fri Aug 10, 2007 4:38 pm
Posts: 243
Location: Yuba City, CA
Just dm_lockdown


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 12:35 am 
Offline
User avatar

Joined: Thu Sep 20, 2007 3:53 pm
Posts: 3228
Location: Long Island, New York
in your server.cfg file you need to have a line that says:

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

_________________
Quote:
DEFme: girls dont play games dood
Paradox: orly?
DEFme: hah, i guess i found one


Image


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 2:02 am 
Offline

Joined: Fri Aug 10, 2007 4:38 pm
Posts: 243
Location: Yuba City, CA
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:


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 2:43 am 
Offline
User avatar

Joined: Sat Sep 15, 2007 10:35 am
Posts: 1847
:lol:

_________________
Image
% H A M M E R E D U C A T I O N %
|||||||| M Y W O R K ||||||||
The difference between mediocrity and greatness is the decision not to say "fuck it"


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 6:34 am 
Offline
User avatar

Joined: Mon Aug 31, 2009 6:14 am
Posts: 100
Location: Iasi, Romania
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

_________________
Image


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 9:22 am 
Offline
User avatar

Joined: Thu Sep 27, 2007 8:16 am
Posts: 551
Location: Minnesota
Thanks again to all!! Any and all information is very helpful.

dbanimal


Top
 Profile  
 
 Post subject: Batch bzipping
PostPosted: Tue Jul 27, 2010 5:00 pm 
Offline
User avatar

Joined: Sun Jan 27, 2008 12:08 pm
Posts: 1749
Location: UK
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:
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.

_________________
They laughed when I said I was going to be a comedian. They're not laughing now - Bob Monkhouse


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 5:12 pm 
Offline
User avatar

Joined: Sat Sep 15, 2007 10:35 am
Posts: 1847
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)

_________________
Image
% H A M M E R E D U C A T I O N %
|||||||| M Y W O R K ||||||||
The difference between mediocrity and greatness is the decision not to say "fuck it"


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 6:46 pm 
Offline
User avatar

Joined: Thu Sep 27, 2007 8:16 am
Posts: 551
Location: Minnesota
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?


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Tue Jul 27, 2010 8:39 pm 
Offline
User avatar

Joined: Thu Sep 27, 2007 8:16 am
Posts: 551
Location: Minnesota
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!


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Thu Jul 29, 2010 11:54 am 
Offline
User avatar

Joined: Mon Aug 31, 2009 6:14 am
Posts: 100
Location: Iasi, Romania
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

_________________
Image


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Fri Jul 30, 2010 4:09 pm 
Offline
User avatar

Joined: Thu Sep 27, 2007 8:16 am
Posts: 551
Location: Minnesota
Yes I admit I got the 2 mixed up. So sue me!! :D


Top
 Profile  
 
 Post subject: Re: Fast map download help
PostPosted: Fri Jul 30, 2010 4:47 pm 
Offline
User avatar

Joined: Sat Sep 15, 2007 10:35 am
Posts: 1847
"we" are very upset. how could you!!!

_________________
Image
% H A M M E R E D U C A T I O N %
|||||||| M Y W O R K ||||||||
The difference between mediocrity and greatness is the decision not to say "fuck it"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group