News:

Come Chat with us live! Learn how HERE!

Main Menu

Automatic Tremulous Map Downloader

Started by Somethief, August 14, 2006, 08:28:57 PM

Somethief

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

epik


Smokey

why would anyone trust you when you cant even spell your correctly?..

Karvajalka

I tried it, it works.  :D. I actualy like it a lot.
SatGNU <3

epik


Smokey

How does it know when there is a new map?

Somethief

Quote from: Smokeywhy 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)

Smokey

i tried it out. works, but why a php file for a map list? when not .ini or .cfg? or even a .txt?

Somethief

Quote from: SmokeyHow does it know when there is a new map?

Isn't it my problem ?

Smokey

Im hardly worried about viruses/keyloggers or any other sort, payback would be a bitch. Not bad.

Somethief

Quote from: Smokeyi 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

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?

Somethief

Quote from: whitebearso 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.

Mikiupdown2

Quote from: Somethief3. 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

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

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

I bet 10€ on Delphi! Erm, sorry... Object Pascal... Erm no... "The Delphi Language"! That's it! ;)

Danny

David

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

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

Wouldn't it be much better if it worked like apt?

David

Quote from: OdinWouldn'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

you virused my system an haxored my harddisk

kevlarman

Quote from: David
Quote from: OdinWouldn'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#msg169333Ok 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

Quote from: kevlarman
Quote from: David
Quote from: OdinWouldn'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

Quote from: David
Quote from: kevlarman
Quote from: David
Quote from: OdinWouldn'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#msg169333Ok 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

Good job Somethief, I think you made a lot of lazy people really happy:)

SLAVE|Mietz

good job on that prog.

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

Somethief

Quote from: Lava CroftGood 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..

Glunnator

does it work for mac? just asking before i download another IRRIpoTATING .exe file  :-?
Well, does it? well? well? :)

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

Somethief

Quote from: Glunnatordoes 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 :(