Page 1 of 1
CA Downloader for CA test?
Posted: 25 Jun 2008, 02:37
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...
Re: CA Downloader for CA test?
Posted: 25 Jun 2008, 02:42
by aegis
start it in a console with the param "test"
so
unless det changed it
Re: CA Downloader for CA test?
Posted: 25 Jun 2008, 04:57
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.
Re: CA Downloader for CA test?
Posted: 25 Jun 2008, 05:02
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
Re: CA Downloader for CA test?
Posted: 25 Jun 2008, 08:20
by Aztek
Yeah the shell script executes the python script.
Re: CA Downloader for CA test?
Posted: 26 Jun 2008, 04:13
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.
Re: CA Downloader for CA test?
Posted: 27 Jun 2008, 02:44
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?
Re: CA Downloader for CA test?
Posted: 27 Jun 2008, 23:26
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.
Re: CA Downloader for CA test?
Posted: 30 Jun 2008, 11:32
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.
Re: CA Downloader for CA test?
Posted: 30 Jun 2008, 18:46
by Aztek
Thanks det, I'll have to give the new one a try.
Re: CA Downloader for CA test?
Posted: 08 Jul 2008, 19:03
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

Re: CA Downloader for CA test?
Posted: 30 Jul 2008, 15:10
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 :)
Re: CA Downloader for CA test?
Posted: 30 Jul 2008, 18:33
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