pr-downloader (cross-platform console downloader)
Moderator: Moderators
pr-downloader (cross-platform console downloader)
Last edited by abma on 20 May 2012, 15:41, edited 5 times in total.
Re: console downloader for win32
did not test but i guess this is more for being integrated with ie lobbies, not so much for players?
like you have a launcher then you could add a "check for updates" button which would then run this downloader?
if so it might be usefull if it could return stuff to the calling programm ie "downloaded game version 1.23", "download failed", "file already exists" etc
like you have a launcher then you could add a "check for updates" button which would then run this downloader?
if so it might be usefull if it could return stuff to the calling programm ie "downloaded game version 1.23", "download failed", "file already exists" etc
Re: console downloader for win32
Are the engine core files stored anywhere in downloadable form? I'd be interested in adding the ability to install the spring engine of a specific version.
Re: console downloader for win32
new release (0.1.2):
notable change: supports partial downloading with verification + fastest mirror selecting
currently working on an c-api to make it usable for other programs: https://github.com/abma/pr-downloader/b ... wnloader.h
notable change: supports partial downloading with verification + fastest mirror selecting
currently working on an c-api to make it usable for other programs: https://github.com/abma/pr-downloader/b ... wnloader.h
Re: pr-downloader (cross-platform console downloader)
released 0.3:
- use atomic writes for the rapid downloader
- unknown parameters are downloaded, allows "pr-downloader zk:stable"
- don't use 100% cpu on http-download
- set exit code to 1 if something failed
- ...
- use atomic writes for the rapid downloader
- unknown parameters are downloaded, allows "pr-downloader zk:stable"
- don't use 100% cpu on http-download
- set exit code to 1 if something failed
- ...
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: pr-downloader (cross-platform console downloader)
That this please be added to the linux installs?
-
- Posts: 451
- Joined: 03 Jul 2011, 11:54
Re: pr-downloader (cross-platform console downloader)
Pardon my ignorance, but how does this differ from rapid which is already in the spring repos?Forboding Angel wrote:That this please be added to the linux installs?
Re: pr-downloader (cross-platform console downloader)
wiki wrote:pr-downloader is a console cross-platform download tool for spring. it can download games and maps supporting currently all main download systems, including rapid, plasma and upq.
-
- Posts: 451
- Joined: 03 Jul 2011, 11:54
Re: pr-downloader (cross-platform console downloader)
Does this mean that it has all these tools functionality built-in, or is it just a frontend to use all these three tools if available from one interface?
I am wondering should i install this and learn to use a new tool just as i have got some kind of grip over how to use rapid. If this is just a frontend i see no benefit, if this is a much more advanced 3-in-1 standalone c++ program, then i can see the benefit.
I am wondering should i install this and learn to use a new tool just as i have got some kind of grip over how to use rapid. If this is just a frontend i see no benefit, if this is a much more advanced 3-in-1 standalone c++ program, then i can see the benefit.
Re: pr-downloader (cross-platform console downloader)
all functionality is built in. the plan is, to make a lib from it and it can be hopefully used everywhere then... (lobbies/autohosts/...?!)varikonniemi wrote:Does this mean that it has all these tools functionality built-in, or is it just a frontend to use all these three tools if available from one interface?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: pr-downloader (cross-platform console downloader)
linux weblobby...
Re: pr-downloader (cross-platform console downloader)
@Forb:
thats up to the packagers, if libcurldev is available, pr-downloader is compiled...
@AF:
if you mean, that pr-downloader supports upq... yes.
thats up to the packagers, if libcurldev is available, pr-downloader is compiled...
@AF:
if you mean, that pr-downloader supports upq... yes.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: pr-downloader (cross-platform console downloader)
Would I need to bug hoijui to make a jna java wrapper for this too, like he did with unitsync?
Re: pr-downloader (cross-platform console downloader)
last time i looked at it, there was no propper/usable C interface yet (which is what i would need for a wrapper).
is this now done, abma?
is this now done, abma?
Re: pr-downloader (cross-platform console downloader)
no, but i think i've now a plan: https://github.com/abma/pr-downloader/issues/6hoijui wrote:is this now done, abma?
i never made a interface before, this is why prefer(ed) doing other things :-/
also there are/were still some other issues / feature requests in pr-downloader. meh... as you all know, a day should have 48 hours

Re: pr-downloader (cross-platform console downloader)
update to 0.6:
-parallel http downloads (because of this, progressbar is gone, will be fixed later)
-7zip support added
-engine download (currently windows / linux only, for mac support some zip lib has to be added)
for example
should download the engine to ~/.spring/engine/89.0 (on linux) or My Documents\My Games\Spring\Engine\89.0 on windows.
its badly tested again... please report bugs! fixes are welcome :)
-parallel http downloads (because of this, progressbar is gone, will be fixed later)
-7zip support added
-engine download (currently windows / linux only, for mac support some zip lib has to be added)
for example
Code: Select all
pr-downloader --download-engine 89.0
its badly tested again... please report bugs! fixes are welcome :)