Author Topic: Automatic Tremulous Map Downloader  (Read 54482 times)

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #90 on: August 20, 2006, 08:49:44 pm »
Ok, made you a version with checksums (first md5, then sha1).
You can find it right here http://tremmap.omgwtf.nl/tremmapdownload1.php.
 So the formatting goes like this: first 3 lines is meta shit, dont care it (like earlier), then maps:
map file
md5 string of the file
sha1 string of the file
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Tremulous Map Downloader
« Reply #91 on: August 21, 2006, 03:34:54 am »
Quote from: "David"
when there is a new map we are all downloading, it could work.
other times i doubt there are enough people downloading concurrently for it to work. also, we would need a permanent seed.
That wouldn't be hard. Just set up one of the map sites, like www.tremulous.info, to be a seeder.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #92 on: August 21, 2006, 05:52:15 am »
I'm working on using http://tremmap.omgwtf.nl/tremmapdownload1.php but I'm currently having problems with \r screwing things up. Damn \r\n Internet traditions!

Update: I should have a working version soon. (Relying exclusively on GNU coreutils makes this more fun :))
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #93 on: August 21, 2006, 10:39:32 am »
Quote from: "Undeference"
I'm working on using http://tremmap.omgwtf.nl/tremmapdownload1.php but I'm currently having problems with \r screwing things up. Damn \r\n Internet traditions!

Update: I should have a working version soon. (Relying exclusively on GNU coreutils makes this more fun :))


Just say if u want i change it to \n, its not a problem atall
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #94 on: August 21, 2006, 11:45:39 am »
Here's a script that just does the same thing as the other one, and tries verifying checksums (using sha1sum or md5sum, respectively). It can be a lot better, but I don't want to spend a lot of time working on this now. It should be fairly straight-forward for a bash scripter but could probably use some more comments anyway.

Code: [Select]
#!/bin/bash
# Copyright 2006 M. Kristall
# Use, modify, and/or distribute this under the GNU General Public License
HOST=http://tremmap.omgwtf.nl
RPATH=/
LIST=tremmapdownload1.php

# Determine which checksum program to use
picksum() {
if which sha1sum > /dev/null; then
CHECKSUM=sha1sum
else if which md5sum > /dev/null; then
CHECKSUM=md5sum
fi fi
}

getlist() {
# get the map list, chop off the first 3 lines, remove "\r"s
FILES=(`wget $HOST$RPATH$LIST -qO-|tail -n+4|sed -e's/\r$//'`)
}

getfile() {
file=$1
wget -c $HOST$RPATH$file
}

checksums() {
if [ -z "$CHECKSUM" ]; then
check=sha1sum # default
else
check=$CHECKSUM
fi
# for (i = 0; ...; i += 3)
local i=0
while [ "$i" -lt "${#FILES[@]}" ]; do
file=${FILES[$i]}
md5sum=${FILES[$i+1]}
sha1sum=${FILES[$i+2]}
eval 'sum=`echo $'$check'`'
echo "$sum *$file"
((i+=3))
done
}

testsums() {
if [ -n "$CHECKSUM" ]; then
checksums|$CHECKSUM -c
fi
}

picksum
getlist
i=0
while [ "$i" -lt "${#FILES[@]}" ]; do
getfile ${FILES[$i]}
((i+=3))
done
testsums
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Toniob

  • Posts: 1
  • Turrets: +0/-0
my contribution
« Reply #95 on: August 21, 2006, 02:17:38 pm »
I also made a script for the maps. It uses the last file with the sums. The difference with the others is that you can start it from everywhere. It checks if the maps are already present and put them in the user .tremulous directory, or in the installation folder if the script is run as root.

Code: [Select]
#!/bin/sh
# author : Anthony 'Toniob' Bourguignon
# Released under the GPL.

# Url for retrieving maps list
FILE=tremmapdownload1.php
# Url for downloading maps
URL=http://tremmap.omgwtf.nl/

# Path of the installation base directory
# Probably needs to be modified
BASE_PATH=/usr/share/games/tremulous/base/
# Path of the user base directory
if [ $UID -eq 0 ] #if user is root
then
USER_PATH=$BASE_PATH
else # simple user
USER_PATH=$HOME/.tremulous/base/
fi

MD5=`which md5sum`
SHA1=`which sha1sum`

checksum() {
# $1 : filename; $2 : md5; $3 : sha1
VERIF=0
if [ -x $MD5 ]
then
VERIF=1
echo "$2 *$1" | $MD5 -c --status
if [ $? -ne 0 ]
then
return 1
fi
fi

if [ -x $SHA1 ]
then
VERIF=1
echo "$3 *$1" | $SHA1 -c --status
if [ $? -ne 0 ]
then
return 2
fi
fi

if [ $VERIF -eq 0 ]
then
return 3
fi

return 0
}

# Download the list
MAPS=`wget $URL/$FILE -q -O - | tr -d "\r" | sed '1,3d' | sed 'n;n;G' | tr "\n" "#" | sed 's/##/\n/g'`

echo "Updating maps..."

for i in $MAPS
do
filename=`echo $i | cut -f 1 -d "#"`
md5sum=`echo $i | cut -f 2 -d "#"`
sha1sum=`echo $i | cut -f 3 -d "#"`

if [ ! -f $BASE_PATH/$filename -a ! -f $USER_PATH/$filename ] # if map doesn't exist yet
then
echo -n "Downloading $filename... "
wget -q -O - $URL/$filename > /tmp/$filename
if [ $? -eq 0 ]
then
echo "done."
echo -n "Checking sums... "
checksum /tmp/$filename $md5sum $sha1sum
RES=$?
case $RES in
0 )
echo "passed."
mv /tmp/$filename $USER_PATH/$filename
;;
1 )
echo "failed. md5sum is incorrect."
rm -f /tmp/$filename
;;
2 )
echo "failed. sha1sum is incorrect."
rm -f /tmp/$filename
;;
3 )
echo "no tools to verify. Install md5sum and/or sha1sum."
mv /tmp/$filename $USER_PATH/$filename
;;
esac
else
rm -f /tmp/$filename
echo "failed."
fi
fi
done

echo "All your maps are up to date."


It works for me, so tell me if you've got problems with it.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #96 on: August 21, 2006, 02:30:44 pm »
I made an update to make it more like a usable program. I'll see about merging Toniob's script and mine together when I have more time

Anyway, the update is much better. You can get it at http://bloodrane.gdshadow.net/t/200608211327.gz
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Automatic Tremulous Map Downloader
« Reply #97 on: August 21, 2006, 02:58:56 pm »
Quote from: "Odin"
Quote from: "David"
when there is a new map we are all downloading, it could work.
other times i doubt there are enough people downloading concurrently for it to work. also, we would need a permanent seed.
That wouldn't be hard. Just set up one of the map sites, like www.tremulous.info, to be a seeder.


yeah, but they would need a bit torrent client running on there server.
depending on there hosting that could not be possible.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Tremulous Map Downloader
« Reply #98 on: August 21, 2006, 07:07:42 pm »
The map list file still can't be downloaded.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #99 on: August 21, 2006, 07:15:21 pm »
Quote from: "Odin"
The map list file still can't be downloaded.


Using that bash script or cant download it in browser ?
We can't help without info, please tell us without asking
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Tremulous Map Downloader
« Reply #100 on: August 21, 2006, 07:48:34 pm »
Both. Your website times out.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #101 on: August 22, 2006, 02:04:36 pm »
Quote from: "Odin"
Both. Your website times out.


Then you are probably the guy who generated 10 000 http errors to the server in the minutes, thats not allowed :x
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Automatic Tremulous Map Downloader
« Reply #102 on: August 23, 2006, 04:42:17 pm »
This script will check both system-wide maps and homedir maps (unless you run it as root, then it will check only system-wide maps) for checksums and it'll start downloading only if the checksum is incorrect. If the file is broken after download, it'll be deleted and you should rerun the script.

Code: [Select]
#! /bin/bash

init() {
HOST="http://tremmap.omgwtf.nl/"
LIST="tremmapdownload1.php"
HOMEPATH="$HOME/.tremulous/base/"
#BASEPATH=""
if [ ! $BASEPATH ]; then # set BASEPATH above to override
BASEPATH=`which tremulous 2>/dev/null`;

if [ -L "$BASEPATH" ]; then # symlink
BASEPATH=`stat -c %N $BASEPATH \
|sed 's/.*-> \`\(.*\)\/[^/]\+/\1\/base\//'`;
elif [ -x "$BASEPATH" ]; then # file, just get the path
BASEPATH=`echo $BASEPATH |sed 's/\/[^/]\+$/\/base\//'`;
else
echo "WARNING! Cannot locate Tremulous! Set BASEPATH manually.";
fi;
fi;

if [ $UID -eq 0 ]; then # root installs to BASEPATH
if [ ! $BASEPATH ]; then
echo "Error: Set BASEPATH before running as root.";
exit 1;
fi;
cd $BASEPATH;
else # everybody else to his/her home directory
cd $HOMEPATH;
fi;

FILES=`wget $HOST$LIST -q -O - |sed 's/\r//g' |tail -n +4 |xargs -n3 \
|sed 's/[[:blank:]]/:/g'`; # get maplist
if [ ! "$FILES" ]; then
echo "Error: Could not receive maplist.";
exit 1;
fi;
}

checksum() {
if [ ! "$MD5SUM" ]; then MD5SUM=`which md5sum 2>/dev/null`; fi
if [ ! "$SHA1SUM" ]; then SHA1SUM=`which sha1sum 2>/dev/null`; fi

if [ ! "$MD5SUM$SHA1SUM" ]; then
echo "WARNING: No checksum tools found. Install md5sum or sha1sum.";
return 0;
fi;

if [ -x $MD5SUM ]; then # md5sum
echo $1 | sed 's/^\(.*\)[[:blank:]]\+\([[:alnum:]]\+\)[[:blank:]]\+\([[:alnum:]]\+\)$/\2  \1/' \
| $MD5SUM -c --status
if [ $? -ne 0 ]; then
return 1; # failed
fi;
fi;

if [ -x $SHA1SUM ]; then # sha1sum
echo $1 | sed 's/^\(.*\)[[:blank:]]\+\([[:alnum:]]\+\)[[:blank:]]\+\([[:alnum:]]\+\)$/\3  \1/' \
| $SHA1SUM -c --status
if [ $? -ne 0 ]; then
return 1; # failed
fi;
fi;

return 0; # passed
}

getfname() {
echo $1 |sed 's/[[:blank:]]\+[[:alnum:]]\+[[:blank:]]\+[[:alnum:]]\+$//';
}

verifyfile() {
if [ ! "$FILES" ]; then init; fi
fname=`getfname $1`;

if [ -f "$fname" ] && checksum "$1"; then
return 0; # local checksum passed
fi

if [ $UID -ne 0 ] && [ "$BASEPATH" ] && [ -f "$BASEPATH$fname" ]; then
if checksum "$BASEPATH$1"; then
return 0; # BASEPATH checksum passed
fi
fi

return 1; # failed or missing
}

verify() {
if [ ! "$FILES" ]; then init; fi
ok=0;
broken=0;
missing=0;

for line in $FILES; do
line=`echo $line |sed 's/:/ /g'`;
fname=`getfname $line`;

if [ -f "$fname" ] || [ -f "$BASEPATH$fname" ]; then
echo -n "$fname ";
if verifyfile "$line"; then # file exists, checksum
let ok++;
echo "OK";
else # failed
let broken++;
echo "KO";
fi
else # file missing
let missing++;
echo "$fname not found";
fi
done
echo "$broken maps broken, $missing maps missing, $ok maps OK"
}

instmaps() {
if [ ! "$FILES" ]; then init; fi
broken=0;

for line in $FILES; do
line=`echo $line |sed 's/:/ /g'`;
fname=`getfname $line`;

if [ "$1" ] && [ ! "`echo $fname |grep $1`" ]; then
continue; # masked, skip
elif verifyfile "$line"; then # already installed, skip
echo "$fname OK, skipping...";
continue;
fi

wget -c "$HOST$fname"; # download
if verifyfile "$line"; then # checksum
echo "$fname OK";
else # failed
echo "$fname has been corrupted during download, removing...";
let broken++;
rm -f $fname; # remove to allow download next time
fi
done

if [ $broken -ne 0 ]; then # status
echo "$broken maps failed to download, please rerun this script.";
else
echo "Installation successful.";
fi;
}

listmaps() {
if [ ! "$FILES" ]; then init; fi

for line in $FILES; do
line=`echo $line |sed 's/:/ /g'`;
fname=`getfname $line`;

if [ "$1" ] && [ ! "`echo $fname |grep $1`" ]; then
continue; # masked, skip
else
echo "$fname"; # print filename
fi
done
}

case "$1" in
verify)
verify;;
list)
listmaps "$2" |sort;;
license)
echo "This program is free software. It is available under the";
echo "terms of the GNU General Public License. If you did not";
echo "receive a copy of the GNU GPL with this program, you can";
echo "get on online at http://www.gnu.org/copyleft/gpl.html";;
help)
echo "$0 [install [PATTERN] | verify | list [PATTERN] | license | help]";
echo "PATTERN is any regular expression, default action is install";;
install|*)
instmaps "$2";;
esac
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Teiman

  • Posts: 286
  • Turrets: +0/-0
Automatic Tremulous Map Downloader
« Reply #103 on: August 24, 2006, 12:33:38 pm »
Thanks all people that provide scripts!. And I hope more HTTP servers support this feature. Maybe can be key here to enhance the script to support mirrors and test other mirrors?, this one game can be played for 10 years, but servers are not that much time alive.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #104 on: August 24, 2006, 02:43:38 pm »
Quote from: "Teiman"
Thanks all people that provide scripts!. And I hope more HTTP servers support this feature. Maybe can be key here to enhance the script to support mirrors and test other mirrors?, this one game can be played for 10 years, but servers are not that much time alive.


I guess the server is up for a looong time, but dunno about maps, they will prolly be online over there while they have some hits
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #105 on: August 24, 2006, 02:52:17 pm »
Nice :-)
[snip -- never mind my stupidity]

Quote
Maybe can be key here to enhance the script to support mirrors and test other mirrors?
Working on it.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Automatic Tremulous Map Downloader
« Reply #106 on: August 24, 2006, 05:48:26 pm »
My script above has been updated, I've made some readability changes and verify and install print status information when they finish.

And how would you like to add mirrors? On command line or through config file?
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Automatic Tremulous Map Downloader
« Reply #107 on: August 24, 2006, 09:18:36 pm »
what we need is a master server with a list of all maps, MD5 etc, and a list of links for each. and someone to keep it up to date.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Tremulous Map Downloader
« Reply #108 on: August 24, 2006, 09:38:38 pm »
My map has been updated. Please update it on your site, and remove b2.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #109 on: August 25, 2006, 04:19:37 am »
Preferably, visible FS structures are mirrored exactly. The file that currently just lists maps and checksums should probably be altered in a more structured way anyway. It could contain a list of paths of the lowest common denominator (e.g., http://www.example.com/somescript.php?path=/ might be the same as ftp://tremulous.example.com/ -- we just add the map's file name to get the map) for different mirrors.

It should probably also contain more info about the map: author's name, license, creation date. (And perhaps use one of SHA1 or MD5 and not both?) Maybe something visually appealing like (don't go ahead and use this -- it might not even be particularly practical):
Quote
# Meta info
Last-Modified: 24 Auguest 2006
Mirrors: http://some.site.test/tremulous/maps/ ftp://trem.example.test/maps/ http://maps.myserver.tld/trem/

Name: niveus: outpost 652
File: map-niveus-1.1.0.pk3
Description: some description
Checksum: 271ec5756c898b87a8fe4df710807251702d74f9
Created: 11 August 2005
Author: nicolas jansens <jex>
License: license info <some>


This example probably doesn't work very well but it should illustrate the idea. The format should be simple enough that it can be rapidly generated from a database, contain enough information that a website can parse it for a map section, and flexible enough that it can be readily updated without breaking existing applications.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

CyaNox

  • Posts: 2
  • Turrets: +0/-0
    • http://scriptuncle.nl/
Automatic Tremulous Map Downloader
« Reply #110 on: August 25, 2006, 12:14:49 pm »
Quote from: "Odin"
Is it just me, or has the site been thoroughly ddosed by this?

There was one particular person using the wget script every second (probably in a cron). This person was iptabled so it is rather obvious it times out.
Quote from: "Odin"
Anyway, I'd like to be able to set up my own map repository on my site, since I have unlimited bandwidth anyway.

So have I but abuse won't be tolerated.

I'm btw the person who hosts the files.

CyaNox

  • Posts: 2
  • Turrets: +0/-0
    • http://scriptuncle.nl/
Automatic Tremulous Map Downloader
« Reply #111 on: August 25, 2006, 12:17:10 pm »
Quote from: "Somethief"
The traffic is very heavy, site shared 20gb of new maps in first 3days..


Actually 20GB in 3 days is not heavy. Its not even remotely overloading my server (Except that one time when there was a person leeching everything each second ... that person got blocked by iptables in the end ... and even that it could handle ... but its something I don't allow).

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Automatic Tremulous Map Downloader
« Reply #112 on: August 25, 2006, 12:57:44 pm »
Quote from: "Undeference"
...

:w tremmap.sh
:q
gvim tremmap.pl
a#! /usr/bin/perl -w

use strict;
...
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #113 on: August 25, 2006, 02:03:09 pm »
Quote from: "Odin"
My map has been updated. Please update it on your site, and remove b2.


Done.
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #114 on: August 25, 2006, 08:40:03 pm »
Quote from: "next_ghost"
Quote from: "Undeference"
...

:w tremmap.sh
:q
gvim tremmap.pl
a#! /usr/bin/perl -w

use strict;
...
Well if I do it in Perl it certainly makes things easier :-) (I'm not that much of a bash programmer)
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Tremulous Map Downloader
« Reply #115 on: August 27, 2006, 05:01:06 am »
Quote from: "Somethief"
Quote from: "Odin"
My map has been updated. Please update it on your site, and remove b2.


Done.
Sorry, but to fix a few problems, I rereleased my map. You'll have to reupdate it.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #116 on: August 27, 2006, 01:50:38 pm »
Quote from: "Odin"
Sorry, but to fix a few problems, I rereleased my map. You'll have to reupdate it.


Done.
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #117 on: August 27, 2006, 02:23:47 pm »
I haven't got time to work on the application, so if you know how to continue it, you can find the source here. It's licenced under GPL, you can find the licence in the rar packet.
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Automatic Tremulous Map Downloader
« Reply #118 on: August 29, 2006, 02:21:37 am »
This probably won't make much of a difference now (because of this), but I have rewritten my code in Perl. This one is cross platform and will work with most moden perl installations. (If you aren't sure if you can run it, run this from the command line:
Code: [Select]
perl -Mstrict -MDigest::SHA1 -MLWP::UserAgent -MFile::Copy -MFile::Spec -e 1; If you get an error, you cannot use this.)
This one will only use SHA1 because it's better (and I don't want to put a bunch of conditionals in a BEGIN, uglying my pretty code), erm, and has approximately 0 comments (it was hard to write so it should be hard to read). It is a bit larger than the other one because it includes the full text of the GPL.
Ignore the redundant code and blinding hacks, please.

Anyway, you can get it at http://bloodrane.gdshadow.net/t/200608290107.gz
Extract it to your ~/.tremulous/base or /path/to/tremulous/base (you may need a .pl extension on Windows) and chmod +x it if using a Unixish system. Then run it like
Code: [Select]
./fetch install
and enjoy.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Mwa

  • Posts: 117
  • Turrets: +0/-0
    • http://www.mwaness.com
Automatic Tremulous Map Downloader
« Reply #119 on: September 03, 2006, 10:34:31 pm »
Quote from: "kevlarman"
Quote from: "Glunnator"
Aw the "available for mac" isn't in the changes list :(
macs have bash, grab david's script and stick it in one of the base folders (unless you're using classic, but then you have bigger problems than an automatic downloader).
Mine does not apear to have wget though.
lexis-computer:/Applications/Tremulous/base lexi$ ./mapdownload.sh
./mapdownload.sh: line 2: wget: command not found
./mapdownload.sh: line 2: wget: command not found
awr.