Forum > Miscellaneous

[QUESTION] Blizzard Downloader

<< < (3/5) > >>

schlumpf:
Quite some magic Internet points for you, happyhack.

stoneharry:

--- Quote from: "happyhack" ---
--- Quote ---...
--- End quote ---

--- End quote ---

Brilliant, thank you!

I set up a torrent file using uTorrent. I set the piece size to 1024 KB, added a HTTP link to the file, and set the tracker to localhost.

I replaced this torrent with the one in WoW-x.x.x.x-4.0.0.12911-Downloader (enUS) which is sent when logging into battle.net in build 12340 (3.3.5a).

I then added the downloader info such as Target, locale, etc as you have done. I changed the string lengths as appropriate.

I split the target file into 1024 KB chunks using the tool you provided.

The torrent program you wrote opens on the specified port correctly.

Now when I try to run the downloader, I am getting the error message "There is nothing to download!".

When I run the Blizzard one, I get the same error message for some strange reason. It should work as it is the one sent from Blizzard.

I have no idea what could be going wrong.



I was thinking it might be because the torrent created by uTorrent is not in the format that the Downloader requires but it doesn't answer why the original unedited version does not work.

happyhack:

--- Quote from: "schlumpf" ---Quite some magic Internet points for you, happyhack.
--- End quote ---
behind a router  8-)


--- Quote from: "stoneharry" ---Now when I try to run the downloader, I am getting the error message "There is nothing to download!".
--- End quote ---

i see on ur screenshot the headers are not set correctly. I know its confusing because what I called header is at the END of each chunk, not at the beggining.


--- Quote from: "happyhack" ---here is the utility i made for extracting/appending new torrent files (work on windows) http://www.filesplat.com/.happyhack/sha ... zDLasm.rar

BlizzDLasm.exe extract "example.downloader.exe" for extracting the torrent file
BlizzDLasm.exe compile "example.torrent" "out.exe" for creating a new downloader with the given torrent file
--- End quote ---

plz use this utility, it does all the job for you and create a working downloader from a torrent file. (its yet in the last download in the folder "torrent + downloader" under the name "bwod.exe")

stoneharry:
Ah yes, it works great! :) Excellent.

It's connecting to the tracker fine and the filesplitter program makes sense.

The direct download URL is sent in the tracker response, however my downloader does not appear to be using it. At least, it's not downloading from it. The filesplitter would only be used for sending using the torrent protocol, correct?

happyhack:

--- Quote from: "stoneharry" ---The filesplitter would only be used for sending using the torrent protocol, correct?
--- End quote ---
correct, almost  :D actually peers send pieces to each others trough TCP, not HTTP (if i remember well). But you are right, the downloader get same pieces from the http server than it would get from a peer.


--- Quote from: "stoneharry" ---The direct download URL is sent in the tracker response, however my downloader does not appear to be using it
--- End quote ---
hmmm... does the downloader gives u any error or warning message?
are you sure the pieces are available to the downloader? can u download them through a browser?

Does the View > Connection info menu show u the correct url in the "Direct HTTP download" row?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version