CA Downloader for CA test?

CA Downloader for CA test?

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

CA Downloader for CA test?

Post by Aztek »

Is there a way to make the CA Python downloader for Linux download the latest test version of CA? It's great that it does the stable, but half the games out there are test...
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: CA Downloader for CA test?

Post by aegis »

start it in a console with the param "test"

so

Code: Select all

python ca_downloader.sh test
unless det changed it
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: CA Downloader for CA test?

Post by Aztek »

Actually you have to use the 'test' argument on the python script, not the shell script, but your info got me where I needed to go, thanks. I just copied the first shell script to make a new one appended with 'test', so I can update stable and test separately.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: CA Downloader for CA test?

Post by aegis »

there's a shell script AND a python script? <_<
Det, you can make a python script into a shell script with
#!/usr/bin/env python
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: CA Downloader for CA test?

Post by Aztek »

Yeah the shell script executes the python script.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: CA Downloader for CA test?

Post by det »

Neya made the shell script so users would have something to double click on that would pop up a terminal giving them the status of the program.
User avatar
kalel90
Posts: 12
Joined: 23 Jul 2007, 06:29

Re: CA Downloader for CA test?

Post by kalel90 »

I would love to know why it takes longer to download with this than the one on windows and also i already have 2275 so why is it when i download test it wants to download the 5000 something files still?
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: CA Downloader for CA test?

Post by Aztek »

I think it takes longer because by default windows only saves I think the last 3 version but CA Python downloader just keeps piling them up, constantly increasing the time required to pool all the versions of CA you have. Delete old ones you don't need and it should speed up.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: CA Downloader for CA test?

Post by det »

I changed it in SVN so that it will only pool from the latest version instead of them all. Also, it won't pool at all if you are already up to date. Other than that, the windows version supports multiple threads and more importantly, HTTP pipelining. This speeds up downloads considerable when you have to download a lot of different files, such as a fresh download, but for updating makes only a small difference. It would be nice if Neya or someone could update the jobjol with the latest downloader.py from SVN.
Aztek
Posts: 36
Joined: 10 Jun 2008, 04:53

Re: CA Downloader for CA test?

Post by Aztek »

Thanks det, I'll have to give the new one a try.
User avatar
Vadi
Posts: 446
Joined: 03 Jan 2008, 14:51

Re: CA Downloader for CA test?

Post by Vadi »

Updated.

Still waiting on the supposed port of the windows one though for some nicer looks and functionality. Kinda amusing that this fugly thing is 2nd most downloaded by now :roll:
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: CA Downloader for CA test?

Post by Licho »

Port of windows downloader was aborted, there is not enough manpower, python downloader works well for CA and springlobby can download maps/mods just like windows downloader can.

If someone is interested feel free to try port it. Atm i can start it in ubuntu mono but no window appears for whatever reason :)
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: CA Downloader for CA test?

Post by aegis »

I've made random improvements to the python downloader... fixed the memory usage, eliminated the pooling step, added pipelining, added a non-copypasta progress bar, and probably other things I have forgotten

it should be released shortly after uberserver

an optional gui will probably be added soon as well
Post Reply

Return to “Linux”