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

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« on: August 14, 2006, 08:28:57 pm »
This is a very usefull application to keep your map folder up-to-date.
No more painfull surfing around the net or slow downloads from a server, the application keeps your maps up to date without your attention.

After that adspeak.. Really
You can get the application here

Notice: The application has to be in the same directory with tremulous.exe so it can find your map folder, otherwise it wont work.
If your maps are not in base\ folder, you may change this from settings.

Our IRC chan is #tremmapdownload on qnet
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

epik

  • Posts: 5
  • Turrets: +0/-0
Automatic Tremulous Map Downloader
« Reply #1 on: August 14, 2006, 08:30:04 pm »
I was first!

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
Automatic Tremulous Map Downloader
« Reply #2 on: August 14, 2006, 08:30:18 pm »
why would anyone trust you when you cant even spell your correctly?..

Karvajalka

  • Posts: 193
  • Turrets: +11/-0
    • Kotisivu
Automatic Tremulous Map Downloader
« Reply #3 on: August 14, 2006, 08:30:56 pm »
I tried it, it works.  :D. I actualy like it a lot.
SatGNU <3

epik

  • Posts: 5
  • Turrets: +0/-0
Automatic Tremulous Map Downloader
« Reply #4 on: August 14, 2006, 08:32:03 pm »
I can confirm it's virus-free.

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
Automatic Tremulous Map Downloader
« Reply #5 on: August 14, 2006, 08:32:59 pm »
How does it know when there is a new map?

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #6 on: August 14, 2006, 08:34:01 pm »
Quote from: "Smokey"
why would anyone trust you when you cant even spell your correctly?..


1. I already fixed it
2. After trying it out u wont think the same (backup ur trem folder first if u think its not safe :x)
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
Automatic Tremulous Map Downloader
« Reply #7 on: August 14, 2006, 08:34:41 pm »
i tried it out. works, but why a php file for a map list? when not .ini or .cfg? or even a .txt?

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #8 on: August 14, 2006, 08:34:49 pm »
Quote from: "Smokey"
How does it know when there is a new map?


Isn't it my problem ?
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
Automatic Tremulous Map Downloader
« Reply #9 on: August 14, 2006, 08:35:56 pm »
Im hardly worried about viruses/keyloggers or any other sort, payback would be a bitch. Not bad.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #10 on: August 14, 2006, 08:36:23 pm »
Quote from: "Smokey"
i tried it out. works, but why a php file for a map list? when not .ini or .cfg? or even a .txt?


PHP is server-side generated so it can take care of itself. .txt etc would need human touch
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

whitebear

  • Posts: 659
  • Turrets: +35/-20
Automatic Tremulous Map Downloader
« Reply #11 on: August 14, 2006, 08:36:29 pm »
so how does it actualy work... details please...

Does it download the map from game server? Your own server?
Is it "in-game" aplication? Where is the download server? How often does the files update on the server?

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #12 on: August 14, 2006, 08:39:19 pm »
Quote from: "whitebear"
so how does it actualy work... details please...

Does it download the map from game server? Your own server?
Is it "in-game" aplication? Where is the download server? How often does the files update on the server?


So it simply does this:
1. Downloads .php file from my server (server builds the file)
2. It checks does map folder include files that it got in that php file
3. If it finds new map, it downloads it from my server in .pk3, when designing the application i saw .zip useless cause the save of it is so minimal with map files.
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Mikiupdown2

  • Posts: 100
  • Turrets: +0/-1
    • http://www.ifuckinghatemyspace.com
Automatic Tremulous Map Downloader
« Reply #13 on: August 14, 2006, 08:47:10 pm »
Quote from: "Somethief"
3. If it finds new map, it downloads it from my server in .pk3, when designing the application i saw .zip useless cause the save of it is so minimal with map files.


Uhm...PK3 files are zip files. Just renamed.

But yea, kool program. Will come in handy. Very handy indeed.

EDIT: Haha Moofed, beat ya. Ner ner ne ner ner!  :roll:

Moofed

  • Posts: 89
  • Turrets: +1/-0
    • http://moofed.org
Automatic Tremulous Map Downloader
« Reply #14 on: August 14, 2006, 08:47:32 pm »
Quote from: "Somethief"

3. If it finds new map, it downloads it from my server in .pk3, when designing the application i saw .zip useless cause the save of it is so minimal with map files.


Psst... pk3 files are zip files.  :wink:

edit: :eek:

Rippy

  • Posts: 385
  • Turrets: +0/-0
Automatic Tremulous Map Downloader
« Reply #15 on: August 14, 2006, 08:47:41 pm »
As a programmer, I'm interested in:
1. What language is it programmed in?
2. Can I have the source?

Not out of suspicion of any kind, and it's not like I'm gonna rip the code, I'd just like to see the code.
remulous username: [GEC]MassiveDamage

[db@]Megabite

  • Posts: 613
  • Turrets: +3/-0
    • http://www.tremulous.info
Automatic Tremulous Map Downloader
« Reply #16 on: August 14, 2006, 09:08:55 pm »
I bet 10€ on Delphi! Erm, sorry... Object Pascal... Erm no... "The Delphi Language"! That's it! ;)

Danny
url=http://www.tremulous.info][/url]


David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Automatic Tremulous Map Downloader
« Reply #17 on: August 14, 2006, 09:56:33 pm »
can we have the source? then we can get a linux verson.

edit:
shouldnt be *too* hard to make a perl verson, i would but i have too many projcts on the go :(
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.

Chernevog

  • Posts: 1
  • Turrets: +0/-0
Windows-get
« Reply #18 on: August 14, 2006, 10:37:27 pm »
Looks like a similar program to Windows get a source forge project. That one is coded in delphi and the source is available here. All you would have to do is create a repository of map files and then winget would check to see if there are new ones or not and automatically download them.

http://windows-get.sourceforge.net/

I wonder if we can get tucows or someone to host a tremulous map repository that we could connect to so that we all knew and could trust the source. (Not saying the current source isn't trust worthy but I am uber paranoid)

Cheers,
Chernevog
lt;Chernevog> Feed Us!!
<unnamed player> BITE ME!!
unnamed player was bitten by Chernevog

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Tremulous Map Downloader
« Reply #19 on: August 14, 2006, 11:52:03 pm »
Wouldn't it be much better if it worked like apt?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Automatic Tremulous Map Downloader
« Reply #20 on: August 15, 2006, 12:14:46 am »
Quote from: "Odin"
Wouldn't it be much better if it worked like apt?

lets submit a tremulous-maps-beta package!
then someone has to keep it up to date, and all is sorted!.
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.

vcxzet

  • Guest
Automatic Tremulous Map Downloader
« Reply #21 on: August 15, 2006, 12:37:37 am »
you virused my system an haxored my harddisk

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Automatic Tremulous Map Downloader
« Reply #22 on: August 15, 2006, 01:02:02 am »
Quote from: "David"
Quote from: "Odin"
Wouldn't it be much better if it worked like apt?

lets submit a tremulous-maps-beta package!
then someone has to keep it up to date, and all is sorted!.
that would be so great, only problem is that some people use distros with a package managment system other than apt (and there is no good way to force them to). i would love to point sources.lst at tremulous.info and have all the latest maps
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Automatic Tremulous Map Downloader
« Reply #23 on: August 15, 2006, 01:17:11 am »
Quote from: "kevlarman"
Quote from: "David"
Quote from: "Odin"
Wouldn't it be much better if it worked like apt?

lets submit a tremulous-maps-beta package!
then someone has to keep it up to date, and all is sorted!.
that would be so great, only problem is that some people use distros with a package managment system other than apt (and there is no good way to force them to). i would love to point sources.lst at tremulous.info and have all the latest maps


thay can make a rpm then.

--OR--
tremulous.info can add a file with a list of each map and a url and its md5, and a simple bash script can scank them all.
or a public ftp folder, and use wget's mirroring stuff.

also, how is your program automatic? windoze has no cron, and its verson of at sucks.
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.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Automatic Tremulous Map Downloader
« Reply #24 on: August 15, 2006, 01:55:23 am »
Quote from: "David"
Quote from: "kevlarman"
Quote from: "David"
Quote from: "Odin"
Wouldn't it be much better if it worked like apt?

lets submit a tremulous-maps-beta package!
then someone has to keep it up to date, and all is sorted!.
that would be so great, only problem is that some people use distros with a package managment system other than apt (and there is no good way to force them to). i would love to point sources.lst at tremulous.info and have all the latest maps


thay can make a rpm then.

--OR--
tremulous.info can add a file with a list of each map and a url and its md5, and a simple bash script can scank them all.
or a public ftp folder, and use wget's mirroring stuff.

also, how is your program automatic? windoze has no cron, and its verson of at sucks.
or rsync, but none of those are nearly as convenient as apt (well, maybe rpm and whatever their version of apt is called (yum?) is, but that is beside the point)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Lava Croft

  • Guest
Automatic Tremulous Map Downloader
« Reply #25 on: August 15, 2006, 08:27:25 am »
Good job Somethief, I think you made a lot of lazy people really happy:)

SLAVE|Mietz

  • Posts: 672
  • Turrets: +2/-0
    • http://blasted.tremulous.info
Automatic Tremulous Map Downloader
« Reply #26 on: August 15, 2006, 08:33:59 am »
good job on that prog.

and i still wonder how many extremely PARANOIC ppl are out there....

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #27 on: August 15, 2006, 11:22:21 am »
Quote from: "Lava Croft"
Good job Somethief, I think you made a lot of lazy people really happy:)


It not only for the lazy people, if these paranoids will take the application in use we may finally get on new maps. Atcs & tremulous combo is getting annoying..
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

Glunnator

  • Posts: 865
  • Turrets: +5/-6
Automatic Tremulous Map Downloader
« Reply #28 on: August 15, 2006, 11:41:06 am »
does it work for mac? just asking before i download another IRRIpoTATING .exe file  :-?
Well, does it? well? well? :)

Quote from: (Cebt)Glunnator
HAVE FUN PPL, IT'S THE MEANING OF LIFE TO LOOK AT THE BRIGHT SIDE OF IT! ;)

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
Automatic Tremulous Map Downloader
« Reply #29 on: August 15, 2006, 11:48:56 am »
Quote from: "Glunnator"
does it work for mac? just asking before i download another IRRIpoTATING .exe file  :-?
Well, does it? well? well? :)


No, i know kinda nothing about coding on mac :(
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog