How to make sure your mod/map downloads in SL/SD

How to make sure your mod/map downloads in SL/SD

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

How to make sure your mod/map downloads in SL/SD

Post by Licho »

1) after you create your mod/map start SpringDownloader, it will detect new mod/map and automatically upload necessary data to central server.

2) upload file to http://springfiles.com/ - file upload must match to the one SpringDownloader registered (filename, and content).
Name of the item should match internal name of your map/mod.

3) optionally (if its mod) add your file to list of packages at http://packages.springrts.com/ -> this puts your mod into rapid tab in springdownloader which downloads and stores only small changes between versions instead of whole mod.

At any time, you can check status of your file at

http://planet-wars.eu/PlasmaServer

This contains all maps and mods known to downloader system.
For each resource it keeps:
- dependencies
- list of "content files" - possible archives that represent this file and links to webmirrors and torrent to download such file
- minimaps, modoptions, springhashes and similar data useful for autohost or lobbies

Only resources that have at least one content file with links other than springfiles.com can be downloaded by springlobby!
If its in rapid system it can still be downloaded by springdownloader even without weblinks.

Ideally your map should look like this:
http://planet-wars.eu/PlasmaServer/Reso ... rceID=7174

Just one content file and lots of links to mirrors.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: How to make sure your mod/map downloads in SL/SD

Post by Licho »

* Removed AF's mirrors on his request

* Added download attempt counter (measured since yesterday or so)

Note that S44 has second most download attempts but it fails 100% of time because its not uploaded to springfiles -> fail!
DSD special is on springfiles but not on any mirrors, so it will fail too, because springfiles ignores RANGE http header breaking torrent downloader.
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Re: How to make sure your mod/map downloads in SL/SD

Post by Saktoth »

GJ. Not as pretty as springfiles. How great would it be if we could just pool all our resources and have one page for all this stuff instead of dozens of people all working on different things.

Groovy though to have a web interface for SD.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: How to make sure your mod/map downloads in SL/SD

Post by Licho »

Its not meant to be pretty or used by users. Its debug page in case you cannot download some file in SD. Thats why post is in development.

But of course you can also use it to search for files i assume.
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: How to make sure your mod/map downloads in SL/SD

Post by SirArtturi »

Licho wrote:1) after you create your mod/map start SpringDownloader, it will detect new mod/map and automatically upload necessary data to central server.
How this works actually. This is a bit fail Imo, because it tries to upload my .sdd folders which contains in somewhat uncomplete and therefore private and copyrighted material...
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: How to make sure your mod/map downloads in SL/SD

Post by Licho »

It wont try to register SDD, only sdz, sd7 and sdp

Also registered does not mean you can download it, it just means autohosts can host it. It needs to be uploaded to springfiles for download to work.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: How to make sure your mod/map downloads in SL/SD

Post by Forboding Angel »

Licho wrote:1) after you create your mod/map start SpringDownloader, it will detect new mod/map and automatically upload necessary data to central server.
Really not caring for this. Could it be made to be a switch defaulted to off? I don't want to upload anything to SD server. I upload to evolutionrts maps repo then use web upload on springfiles. The same for when I do updates. I do not want files uploaded through SD because there will be a lot of occasions where broken shit gets uploaded, or things used for testing purposes... It's just a bad idea to have it on by default.

Also, what is sdp?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: How to make sure your mod/map downloads in SL/SD

Post by AF »

Privacy warriors!
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: How to make sure your mod/map downloads in SL/SD

Post by SirMaverick »

Forboding Angel wrote:Also, what is sdp?
Spring pool format. This one is used when downloading via rapid system.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: How to make sure your mod/map downloads in SL/SD

Post by Tribulex »

SirMaverick wrote:
Forboding Angel wrote:Also, what is sdp?
Spring pool format. This one is used when downloading via rapid system.
so just a renamed sdd?
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: How to make sure your mod/map downloads in SL/SD

Post by Neddie »

Not exactly. The sdp is split up into numerous small files and dumped. Then, as far as I can tell not having looked at the source, there is an index file which points to all the component sdp files.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: How to make sure your mod/map downloads in SL/SD

Post by det »

d_b wrote:
SirMaverick wrote:
Forboding Angel wrote:Also, what is sdp?
Spring pool format. This one is used when downloading via rapid system.
so just a renamed sdd?
Similarities to sdd:
  • Each file is stored individually
Differences to sdd:
  • Files are named by the md5 of their contents
    Consequences:
    • You only need to download and store identical files once, even if you have a 10 versions of CA,SA,BA installed
    • Simple and efficient updating
  • There is an index file for each archive containing crc32s, md5s, file sizes, file names. This is the .sdp
    Consequences:
    • No scanning of directory trees to get archive crc, it is fast like sdz
    • Simple and efficient updating
  • Content is stored compressed
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: How to make sure your mod/map downloads in SL/SD

Post by Licho »

Added failed download counter to the site (counts number of times file was requested, but there were no weblinks for download, counts from now).
Post Reply

Return to “Engine”