[WIP] Yet another GUI downloading tool

Discussion in 'Wii U - Hacking & Backup Loaders' started by Quantumcat, Nov 3, 2016.

  1. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    11,815
    6,345
    Nov 23, 2014
    Australia
    Canberra, Australia
    I know there's a lot of tools out there already, so it probably won't get used ... BUT it was fun and I learned a lot about threading and concurrency!!!

    Of course it uses NUSgrabber to do the work! So all due credits and thanks to Crediar.
    • You can select multiple games to download
    • You can download the updates too
    • Shows status as it is downloading rather than just freezing (this was the hard part)
    • Packages games into an install folder for use with WupInstaller Y Mod
    To use:
    • Put your tickets folder in the same directory as Downloader.jar
    • Should be tickets->game name folder -> id folder -> title.tik
    • Optionally if you want some game sizes, also download tickets.zip and extract in the same place as tickets so the folders merge
    • Run the app, use Ctrl+click to select multiple games, choose if you want updates as well, then click Download
    Download from quantumc.at

    Any bug reports or suggestions please let me know. If you want more games to have sizes, please direct me to a website with this info (in table form, or otherwise separated by tags of some kind) and I'll scrape it and have more up-to-date info.

    Also if you used it, whether you liked it or not, feel free to let me know 'cause that will make me very happy!

    Issues:
    • If you get an error every time, and you're definitely connected to the net, test if you can run exe files. If you can't, you need to fix that.

    Updates:
    • Can download the game & update at the same time, and opens new windows to show the status instead of cramming it into the little textbox at the bottom of the main window.
    • Update 7th November: fixed issue with moving id folder inside install folder (the copy file method I wrote did not work for whole directory to new directory and as I didn't test this I didn't notice), messages display in the main window's status textbox when a download is added to the queue, or started, or finished, can download updates separately, can choose how many threads you download with (e.g. if you choose 3 threads and you choose two games + updates [that's four things to download] it'll start downloading three at once and then when one finishes it will start the fourth). Made it so NUSgrabber.exe/wget.exe are killed when no longer operating. They may stick around a little while after you'd expect them to close because they are still having their streams read. If they stick around longer than 30 seconds please give me info on what was happening. Improved temp file deletion but NUSgrabber.exe, wget.exe, and the id folders may manage to avoid deletion if they are still active (the app will try to delete them, fail because they are being used, and then give up). If you have limited internet and want the download to definitely stop right away then please check Task Manager and kill NUSgrabber and wget manually if they are still operating. Added a confirmation dialog if you try to close the main window, but the program will still close right away if you close one of the status windows so be careful. (Hopefully) fixed layout issue with game list getting really small - could not reproduce the problem with my tiny screen but added something that hopefully fixed it. To update in future: 1. make the confirmation come up if trying to close status windows also, 2. have progress bars instead of printing the output of NUSgrabber.
    Repository: https://github.com/quantumcat1/Wii-U-Downloader

    screenshot.PNG
     

    Attached Files:

    Last edited by Quantumcat, Nov 7, 2016
  2. peteruk

    peteruk GBAtemp Advanced Maniac

    Member
    1,538
    722
    Jun 26, 2015
    Nice job, looks a good addition
     
    GilgameshArcher and Quantumcat like this.
  3. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    22,615
    10,912
    Apr 29, 2011
    United States
    Dr. Wahwee's castle
    Awesome, I've been trying to find out ways to get games from NUS, but also their updates so I don't have to disable my server blacklist :P Keep up the good work, now we can get both :D
     
    Last edited by the_randomizer, Nov 3, 2016
    Quantumcat likes this.
  4. proflayton123

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,903
    2,232
    Jan 11, 2016
    Japan
    日本
    Nice tool :3
     
    Quantumcat likes this.
  5. Moquedami

    Moquedami GBAtemp Regular

    Member
    194
    35
    Nov 16, 2006
    Argentina
    Looks good. Im gonna try this as soon as i get home today
     
  6. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    Even if we already have a lot of these, i think developing it was really entertaining for you ? Isn't it ? :D
     
    Quantumcat and CreeperMario like this.
  7. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,718
    2,099
    Aug 19, 2015
    United Kingdom
    Clydebank
    So I have everything set up the way you said to do I select the game I want to download and in the bottom left corner it immediately says error I have tried about 20 different games all with the error message.

    Edit

    Never mind I fixed it apparently I needed to install Microsoft visually ++ 2013 to my computer might be worth adding to the op that this is needed for people who don't have it installed.
     
    Last edited by Marko76, Nov 3, 2016
    NexoCube likes this.
  8. MattKimura

    MattKimura 3DS & WiiU Enthusiast

    Member
    1,852
    983
    Jun 30, 2014
    United States
    If you saw "Wii U USB Helper" you would fall in love! Hands down best downloader out there. But it's still nice to have a small lightweight one like this.
     
  9. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,718
    2,099
    Aug 19, 2015
    United Kingdom
    Clydebank
    Hey yes I just checked it out it looks awsome. If you still need testers I would very much like to help you out MattKimura.
     
  10. MattKimura

    MattKimura 3DS & WiiU Enthusiast

    Member
    1,852
    983
    Jun 30, 2014
    United States
    Haha I'm not the dev of that amazing app. If you want to test, you can join the discord server. Let me know if you're interested.
     
  11. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,698
    8,993
    Oct 27, 2002
    France
    Engine room, learning
    If you launch NUSGrabber executable (in a command line windows, or it will just auto-close), you'll see the author's name, program version, command line help, etc.

    This tool is from Crediar.


    thanks for your GUI.
    "Yet another tool to add to wiki when I'll have time"
     
    CreeperMario likes this.
  12. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    11,815
    6,345
    Nov 23, 2014
    Australia
    Canberra, Australia
    Thanks I will fix that :-) So obvious, I saw that every time I ran it with no internet!!
     
  13. Moquedami

    Moquedami GBAtemp Regular

    Member
    194
    35
    Nov 16, 2006
    Argentina
    Just a little feedback if you are interested.
    I downloaded two titles succesfully with their corresponding update. That works fine.
    It would be really cool to have a progress bar, the info showing the files and speed of the download its somewhat confusing and you never really know when it is going to finish.
    There is a wierd issue with the windows sizing. After adjusting it a few times the game list windows gets really thin and it is impossible to adjust it back
     
  14. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    11,815
    6,345
    Nov 23, 2014
    Australia
    Canberra, Australia
    Thanks! Can you send me a screenshot of when the list gets really thin?
    I'll work on having progress bars for the files, using the output from NUSgrabber (instead of printing it directly in the app).
     
  15. Moquedami

    Moquedami GBAtemp Regular

    Member
    194
    35
    Nov 16, 2006
    Argentina
    Another thing i forgot to mention. The program succesfully creates a folder with the downloaded name on it, but after the download is finished it doesnt move the contents of the temp folder named with the game id number to the other
    I dont know if this is intentional
     
  16. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,718
    2,099
    Aug 19, 2015
    United Kingdom
    Clydebank
    Yes I also have that problem and have the problem of the shrunken game list as well.
     
  17. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    11,815
    6,345
    Nov 23, 2014
    Australia
    Canberra, Australia
    Thanks guys I'll fix the folder problem. I admit I didn't really test it.
     
  18. Moquedami

    Moquedami GBAtemp Regular

    Member
    194
    35
    Nov 16, 2006
    Argentina
    Some more feedback!
    The multiple download option doenst work.
    I selected 3 titles with Ctrl pressed,but only the first one downloaded.
     
  19. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    11,815
    6,345
    Nov 23, 2014
    Australia
    Canberra, Australia
    Did you wait a while until after the first one finished? In the first version they (should) download consecutively (they will download all at the same time in my next upload though).
     
  20. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,718
    2,099
    Aug 19, 2015
    United Kingdom
    Clydebank
    Yes I also have the problem of selecting multiple games if I select only one game it downloads fine if I select two games they both download if I select more than two only the first downloads only found this out when I selected loads of games and left the computer on over night and only the first game downloaded.
     
    Quantumcat likes this.