Page 1 of 1
How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 05:23
by Jools
abma wrote:Forboding Angel wrote:
No offense, but how in the hell is that supposed to be useful/helpful to a windows user?
a windows user can compile/fix it. i guess i don't understand the question.
This is still not clear to me. How do I get something usable out of the stuff that pr-downloader downloads?
This is no longer about lups in case anyone thought that. I just want to test a beta version of my game and that can not be found on
http://packages.springrts.com/builds/
I don't understand how the question is not clear? I want to commit something with rapid and download it into a form that can be shared to other people in a simple way. A zip file is a simple way. A pool of data is not.
Since the game is already synced with rapid it would be convenient to use that, as a test version is already made in each commit. I do not want to make own zipped versions that are distributed on various third party download sites.
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 06:45
by gajop
Is it not possible to use pr-downloader directly like the old Python "rapid" program?
Have you tried "pr-fownloader --dump-sdp <name>"? If that doesn't work this functionality should be added much like the list/search install/available packages that's also not present afaik.
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 07:06
by Jools
C:\Users\Jools>pr-downloader --filesystem-writepath U:tmp --dump-sdp xta:test
pr-downloader 0.7-159-gd9842d7
[Info] Using filesystem-writepath: U:tmp
[Error] ../../tools/pr-downloader/src/FileSystem/FileSystem.cpp:87:parseSdp(): C
ould not open xta:test
[Info] Download complete!
C:\Users\Jools>pr-downloader --filesystem-writepath U:tmp --dump-sdp ba:latest
pr-downloader 0.7-159-gd9842d7
[Info] Using filesystem-writepath: U:tmp
[Error] ../../tools/pr-downloader/src/FileSystem/FileSystem.cpp:87:parseSdp(): C
ould not open ba:latest
[Info] Download complete!
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 10:39
by abma
--dump-sdp just prints the contents of an .sdp file... it expects a filename as parameter not a tag, ie.:
$ pr-downloader --dump-sdp .spring/packages/a619e190f6be77d6ce2cbf09edf0c77a.sdp
pr-downloader 0.7-161-ga721c5a
[Info] md5 (filename in pool) crc32 size filename
[Info] 8bfc2df4cb39916a803c70bda056dc71 00DB32E8 89 .gitattributes
[Info] fc0356e1e648120379c4a432d854cada 00DAF858 33 anims/areamex_def.txt
[Info] c0ec9f82335b84ab5ab5b00646181252 00DAF8F8 64 anims/ca/.directory
...
MakeZip from RapidTools partly has this feature you are requesting:
http://springrts.com/wiki/RapidTools#MakeZip
whats wrong to request others downloading with pr-downloader / springlobby / other lobbies which support rapid?
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 13:16
by Jools
abma wrote:--dump-sdp just prints the contents of an .sdp file... it expects a filename as parameter not a tag, ie.:
Then I suggest editing the help file to reflect the difference i syntax. Because 'name' equals 'tag' with other commands, such as when using
--download-game.
abma wrote:
whats wrong to request others downloading with pr-downloader / springlobby / other lobbies which support rapid?
Nothing is wrong with that. The problem is not downloading the latest version of a game/map/engine because user is not synced, this is game development forum and I would like to find out how to get hold of test versions that are created with rapid.
I guess I don't really have to have the files per-se if I can just somehow ensure the integrity in some other way. Yes, it's easy with springie hosts, you just use rapid tag. But how to do it with spads?
I also don't know exactly how to install pr-downloader on linux.
'sudo apt-get install pr-downloader' doesn't work, do I have to add a third party repo somehow?
Here's what the latest archive from github conatins:
The 'static' in the name implies linux but I have no idea who to install those files

Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 14:07
by abma
Jools wrote: how to get hold of test versions that are created with rapid.
thats easy: for example:
i have no clue about how to do that with spads. which game do you want to download?
Jools wrote:I also don't know exactly how to install pr-downloader on linux. 'sudo apt-get install pr-downloader' doesn't work, do I have to add a third party repo somehow?
also easy: download a static build of spring, it contains pr-downloader.
Jools wrote:Here's what the latest archive from github conatins:
where did you get this archive from? it should be deleted as its old / the spring package contains it as well.
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 15:12
by Jools
abma wrote:also easy: download a static build of spring, it contains pr-downloader.
Thank you!
abma wrote:Jools wrote:Here's what the latest archive from github conatins:
where did you get this archive from? it should be deleted as its old / the spring package contains it as well.
I got it from
http://springrts.com/wiki/Pr-downloader, first link on top of page.
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 15:29
by abma
thanks, updated the wiki.
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 16:09
by Jools
I grabbed the pr-downloader from linux 64-bit static and it says it can't find the command although the file is there. Also it shows this:
That means it has to be built from git clone to get all dependencies right?
Re: How to get pr-downloader to download into an archive?
Posted: 26 Jan 2015, 16:22
by abma
That means it has to be built from git clone to get all dependencies right?
no.
sth. like:
Code: Select all
apt-get install libcurl4-openssl-dev
Re: How to get pr-downloader to download into an archive?
Posted: 31 Jan 2015, 04:35
by Forboding Angel
Jools, this might be of some use to you:
https://drive.google.com/open?id=0B25Bb ... authuser=0
Put it in the same folder as spring.exe and run the bat. Makes pr downloader a little bit easier to use if you aren't familiar with it.