Best way to download game updates?

Discussion in 'Wii U - Hacking & Backup Loaders' started by Drak0rex, Mar 13, 2016.

  1. Drak0rex
    OP

    Drak0rex GBAtemp Advanced Maniac

    Member
    1,924
    701
    Oct 12, 2014
    United States
    I've been trying to download updates for all my disc games and I'm getting nowhere. There seems to be multiple ways of going about this: Uwizard, NUSgrabber command line, and NEW-NUSgrabber GUI. Right now I'm trying the latter.

    I'm trying to download an update for Splatoon. It downloads the files, 71 that I've noticed, but it seems to add data to the files little by little, not downloading each file entirely before going on to the next one. After a while, I get a message saying the title isn't on Nintendo's servers. The total file count then goes back to 69 for some reason.

    Is there something else I should try that works better?
     
    Last edited by Drak0rex, Mar 13, 2016
  2. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    Sometime, NUS are in maintenance and files are not on the server (or temporarily not available) anymore.
    Try again another day.

    I'm using NUSGrabber command line to get the encrypted .app and .h3 files.
    I think JNustTool has been updated to download app files too instead of decrypted content. you could try it as a 4th alternative tool.
     
  3. Drak0rex
    OP

    Drak0rex GBAtemp Advanced Maniac

    Member
    1,924
    701
    Oct 12, 2014
    United States
    Just tell me what I need to type in command because I suck at it. (See the Wiiu Hacking and Homebrew thread)
     
  4. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    nusgrabber TitleID_here
    that's all.

    Splatoon USA latest update :
     
  5. Drak0rex
    OP

    Drak0rex GBAtemp Advanced Maniac

    Member
    1,924
    701
    Oct 12, 2014
    United States
    I keep getting garbage like this.
     

    Attached Files:

  6. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    You are missing files in your nusgrabber folder.
    you miss wget.exe

    Maybe the "definitive package" is not complete. or you extracted only part of that folder.
    You can find complete nusgrabber here :
    http://wupinstaller.com
     
  7. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
  8. FunThomas
    This message by FunThomas has been removed from public view by Cyan, Mar 13, 2016, Reason: offtopic, flaming.
    Mar 13, 2016
  9. Drak0rex
    This message by Drak0rex has been removed from public view by Cyan, Mar 13, 2016, Reason: offtopic, flaming.
    Mar 13, 2016
  10. FunThomas
    This message by FunThomas has been removed from public view by Cyan, Mar 13, 2016, Reason: offtopic, flaming.
    Mar 13, 2016
  11. Drak0rex
    This message by Drak0rex has been removed from public view by Cyan, Mar 13, 2016, Reason: offtopic, flaming.
    Mar 13, 2016
  12. FunThomas
    This message by FunThomas has been removed from public view by Cyan, Mar 13, 2016, Reason: offtopic, flaming.
    Mar 13, 2016
  13. Drak0rex
    OP

    Drak0rex GBAtemp Advanced Maniac

    Member
    1,924
    701
    Oct 12, 2014
    United States
    @Cyan, When I used NEW NUSgrabber gui it downloaded a total of 71 files and gave me an error message, after which there were only 69 files for the Splatoon update. After using the command line, it has 69 files and weighs 580 MB (609,005,392 bytes)
    Size on disk: 580 MB (609,136,640 bytes) Is there any way to verify how many files and how large the update should be?

    ENOUGH. LEAVE ME ALONE.
     
    Last edited by Drak0rex, Mar 13, 2016
  14. FunThomas

    FunThomas GBAtemp Fan

    Member
    444
    87
    Jan 10, 2016
    Gambia, The
    i got the same size if you are getting the US-Version176 using nusgrabber or jnustool
     
  15. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    Don't fight here please.
    We are all trying to help and get help.
    If it's the 54th times something is asked, what's the problem ? just answered it for the 54th times or pass your way if you don't want to help anymore. someone else will help (or not) but it's not worth fighting for that.


    Thank you for answering him about the update size.
    There's another way to check if you have all the files, it's by opening the tmd file in a tmd parser and check how many content it has.
    but it's not useful to know if the downloaded app file is complete or broken.

    Another good way to check if your download is complete is to look at NUSgrabber log !
    check each downloaded file, if they are 100% or not (you have the "downloaded size/full size" info for each download)
    1254/1254 <-- good
    1230/1254 <-- bad
     
  16. FunThomas

    FunThomas GBAtemp Fan

    Member
    444
    87
    Jan 10, 2016
    Gambia, The
    Hi Cyan,

    can you advise some good tmd parser ?

    I tried the one from trap15-3dshax for 3ds but the shown information is maybe not right/complete for the wiiu.
     
  17. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    I made my own with HexWorkshop structure feature, but I guess it's not a "good" one.
    it's only useful to check some values, but it doesn't extract or output nice names (like list of .app, list or .h3, etc.)

    https://gbatemp.net/attachments/wii_tmd-zip.36518/

    Add to the struct folder, then load the file in hexworkshop.
    To parse the file, click on "{+}" button in the structure window, and select "_tmd_wiiu" with locked offset starting at address 0x00
    There are maybe length mistakes or wrongly named elements, sorry about that. it's not official, I just did it for my own use.
     
    FunThomas likes this.
  18. FunThomas

    FunThomas GBAtemp Fan

    Member
    444
    87
    Jan 10, 2016
    Gambia, The
    i installed hexworkshop and put your *.hsl file under structures subdir

    then i open the title.tmd from the update dir of jnustool and stelected the structure Wii_TMD.hsl and refreshed the structure

    should it show something in the structure view ?
     
  19. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    once your tmd file is loaded, and you have the wii_tmd.hsl loaded, you have to apply the structure to the file to "highlight" the file offset.
    on the structure windows, select "TMD Structure (wii_tmd.hsl)" in the dropdown menu, then click on {+} button.
    Select "_tmd_wiiU" on the left, and "locked document/offset" on the right, with starting offset 0

    now you should see in the structure window a list of data.
    at the bottom, you have "content info" you can open, and each content are divided in sub-inf like :
    cid
    index
    type
    size
    hash
    etc.

    number of content in the last node is dependent of the "num_contents" value found in the tmd header.
     
  20. FunThomas

    FunThomas GBAtemp Fan

    Member
    444
    87
    Jan 10, 2016
    Gambia, The
    thanx for your answer but now i'm not sure how to check if all is complete ;-)

    under contents are 35 items [0..34]
    under conetntinfos are 64 items [0..63]
    but the update directory has 69 files inside, if i dont count the 3 title*-files there are still 66 and not 64

    is the size somewhere displayed ?
     
  21. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,710
    9,009
    Oct 27, 2002
    France
    Engine room, learning
    content_info is always 64 in size, even though only one data is available. I don't know its purpose.

    the contents (you have 35 items) means that you should have 35 .app files.
    it lists their filename (cid), type and size so you can check if they are complete.
    the "type" lets you know if there's a .h3 associated to the .app (I forgot which type it is, sorry. I can check it)
    edit:
    content type 0x2003 has .h3 file.

    content type 0x2003:
    [cid].app
    [cid].h3

    other type:
    [cid].app


    so, with this information you can verify that you downloaded all the needed files and their size:
    tmd, cert, .app and .h3

    Usually, the first 3 contents (type 0x2001) contains the rpx, app.xml and cos.xml files.
    they don't comes with .h3 files.


    Like I said, it's only a way to parse the tmd and not a way to use the data. But it would be easy to make a tool to check if the download is complete by checking if all .app and .h3 are present and their size.
    unfortunately, the hash value present in the content info is for the decrypted content, so the checksum can't be used to verify if the downloaded file is correct without de-encrypting all the files. But the file size is already good enough to check if the download was fine or ended with error.
     
    FunThomas likes this.
  22. Kakkoii

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    Don't put a V before the version number. Only put the number...
     
    Azeryn likes this.
  23. Drak0rex
    OP

    Drak0rex GBAtemp Advanced Maniac

    Member
    1,924
    701
    Oct 12, 2014
    United States
    I didn't. Thanks though.
     
  24. Drak0rex
    OP

    Drak0rex GBAtemp Advanced Maniac

    Member
    1,924
    701
    Oct 12, 2014
    United States
    Is there any rule of thumb on how long to wait when installing updates?
     
  25. FunThomas

    FunThomas GBAtemp Fan

    Member
    444
    87
    Jan 10, 2016
    Gambia, The
    it depends on the speed of your sd-card, i read long time ago a rule of 15min per 400MB and it worked well for me