For quite some while I've been noticing a very weird kind of behaviour when using the downloader, in that it downloads -way- more than what's supposed to download, then ends up producing damaged files.
Take for instance 'Don't starve' (which I'm currently downloading, but it happens on many other titles as well, seemingly at random). The installer is supposed to weigh in at about 260 MB. The downloader claims to have downloaded 120 MB so far, the (allegedly) incomplete file on disk is somewhat around 380 MB now and still growing. All this in about half an hour, running (on average) at approx. 600 kB/s, so who knows what happened with whatever the downloader has been downloading in that time.
As far as I gather from reading the logfile, it downloads the file in chunks and then combines it somehow, allegedly checking some checksums along the way (which it obviously doesn't, otherwise the installer itself would not complain about having been corrupted when trying to open it). For some titles, it seems as if the entire file would be downloaded times the number of chunks and then minced together in some bizarre way. I can't really explain it as I'm struggling to understand what is happening here.
This has been going on for months now, across each new version of the downloader that came across. Until now, I was too busy to bother, but I'm now fed up enough to finally see this resolved. What can I do to debug this bizarre behaviour?
( As an aside: I'd strongly suggest to have a separate forum for all things related to the downloader. This mastodontic thread is almost criminally unwieldy, there's no way anyone can find anything in such a monster… )
Edit: The download just completed. For a file which is SUPPOSED to be 257.1 MB, the download directory now contains a file which is 367.0 MB, but the downloader doesn't even consider that it -might- have fucked up the download. No warnings anywhere, the logfile suggests that there is no final checksum or size check to verify the entire file.
Post edited November 14, 2013 by Lyeengray