Summer Mapping Initiative Submissions are Closed!

Avatar
Motanum
248 Posts
Posted Jun 15, 2011
Replied 28 minutes later
You could ask for the guy of the glitch thread for his script to download them all.
Advertisement
Registered users don't see ads! Register now!
Avatar
Hober
1,180 Posts
Posted Jun 15, 2011
Replied 3 minutes later
I can write a ten line bash script to collect all the BSPs. That's not the hard part. Read my post over in the Map pack thread.
Avatar
msleeper
4,095 Posts
Member
Posted Jun 15, 2011
Replied 2 hours later

Hober wrote:
I did write a ten line bash script to collect all the BSPs, but it turns out Debian's unzip/unrar/7z packages are all garbage.

Am I rite?

Avatar
tehownt
4 Posts
Posted Jun 19, 2011
Replied 3 days later
Sorry I got tired of waiting and bash-fu'd the whole 1.3 GB of maps (might donate to the beer fund to compensate the bandwidth).

If anyone's interested, it's ugly but it works.

Get all links to from original post in a single file 1 link/line like so :

http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=806
http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=844
http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=912
http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=887
http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=760
...

then

for i in `cat links`; do A=`wget -q -O- --referer=http://www.thinking.withportals.com --cookies=on --load-cookies=cookie.txt --keep-session-cookies --save-cookies=cookie.txt --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20110506 Firefox/4.0.1' $i | grep -i hotlink_id | sed -e 's/.*value="\([a-f0-9]*\)" \/>/\1/g' | uniq`; B=`echo $i | sed -e "s/detail/load\&hotlink_id=$A/"`;wget --referer=http://www.thinking.withportals.com --cookies=on --load-cookies=cookie.txt --keep-session-cookies --save-cookies=cookie.txt --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20110506 Firefox/4.0.1' $B;done;

I haven't got the right archive names (wget borks on 302) but it doesn't matter, rename to .7z and it'll work in 7-zip flawlessly.

Avatar
Hober
1,180 Posts
Posted Jun 19, 2011
Replied 1 hour later

msleeper wrote:
Hober wrote:

I did write a ten line bash script to collect all the BSPs, but it turns out Debian's unzip/unrar/7z packages are all garbage.

Am I rite?

Bug closed: works for me.

Avatar
msleeper
4,095 Posts
Member
Posted Jun 19, 2011
Replied 1 hour later

tehownt wrote:
fucking over the system

As long as it counts the downloads in the DLDB then it won't matter to me.

Avatar
tehownt
4 Posts
Posted Jun 19, 2011
Replied 1 hour later
I know this is late in the process but what would be incredible (probably for future contests or to narrow down winners) is to have a clean single page with a map table that allows sorting by :

  • size
  • downloads
  • map type (sp/coop)
  • environment type (modern, jungle, retro, etc).
  • challenge contents: excursion funnels, vents, turrets, cubes, lasers, etc (we could come up with a color/coding so as to speed up visual analysis).
  • rating so far
    It could also have practical information such as :
  • link to more map details (developer, voting, etc.)
  • direct link to download
  • screenshot

Thinking about this, the "download" section is pretty much already 80% like this, except it lacks a couple of those information and above all here is no sorting ability... So maybe there's a quickfix possible.

Advertisement
Registered users don't see ads! Register now!
Avatar
WinstonSmith
940 Posts
Posted Jun 19, 2011
Replied 1 hour later

tehownt wrote:
I know this is late in the process but...

msleeper wrote:
Normally, we have a Community Spotlight to the left that highlights 1 map for about a week.

We also have the Community Spotlight archive of past and future Spotlights, but again because of the contest, we haven't put new maps in there and won't until the contest has ended.

We try to post a "Community Roundup" about once a week with that week's top new maps, but yet again, the contest has prevented us from doing that while people focused on making their contest maps, and now because the judges are playing nothing but those.

People keep bugging me about "sort by rating" and none of you seem to read my reply - we are going to be updating the DLDB after the contest has ended and this feature will be included. In fact I was working on this feature when we were contacted by Valve about the contest, and had it not been for that then this would probably be added already.

You people need to have a little more patience and read a bit more.

Just reposting so people will see it more.