JNUSTool - NUSGrabber and CDecrypt combined!

Discussion in 'Wii U - Hacking & Backup Loaders' started by Maschell, Feb 1, 2016.

  1. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    First, your screenshots and files have full keys, which aren't allowed here. But since you posted them, I can see that you're trying to use the EUR NUS key for the US Xenoblade Title ID. Those have to match. You'll need to get the US title key from that title keys site to decrypt the US title.

    Since you posted a CEMU keys.txt, I'll guess that you're using CEMU and that's why you want the decrypted files. For normal installation, you'd want them encrypted.
     
  2. TheSeaofTesseract

    TheSeaofTesseract Member

    Newcomer
    1
    Jun 21, 2018
    United States
    Er, actually, I wasn't using CEMU... I had no idea... Thanks. Though I'll have to figure out where to find the actual key. I'm looking for the Wii U common key for the U.S. right? Or is in the one we had to put in the config?

    Also, sorry. As you can probably tell, I'm a total noob to GBATemp, couldn't figure out why I couldn't post when I just posted the code as text...

    Also, I'm actually following a tutorial to uncensor the game at this thread: https://gbatemp.net/threads/xenobla...th-brazilian-install-method-app-files.453781/ My uneducated guess is that I'm to change the files around after getting the decrypted files.
     
    Last edited by TheSeaofTesseract, Jun 22, 2018
  3. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    Your common key is probably right, since it was listed in your keys.txt file. Yes, your US console wants the US common key. The key that was wrong was the one you put on the jnustool command line after the title ID. It's not the key for that title ID. (Each title has its own NUS key. The US version (which is the title ID you specified) does not decrypt with the same key as the EUR version (which is the key you specified)

    It makes sense that you need decrypted files for a mod/repack.
     
  4. TheSeaofTesseract

    TheSeaofTesseract Member

    Newcomer
    1
    Jun 21, 2018
    United States
    Ah cool, it worked as intended. Thanks! My problem was apparently both the wii u common key I had put in config and the title key I was using were both wrong. But after some trial and error, I figured it out.
     
  5. poudigne

    poudigne Newbie

    Newcomer
    1
    Mar 9, 2018
    Canada
    When I open the JNUSTool.jar it says "CommonKey length is wrong" I assume it has something to do with the config file. However, I don't find anywhere what I am supposed to put in here. Can anyone help me?


    (the forum anti-spam feature prevent me from posting the config content (it contains link), I can't post image nor a paste.org, well done gbatemp)
     
    Last edited by poudigne, Jul 1, 2018
  6. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    Edit the config file, replacing [COMMONKEY] with the actual Wii U Common Key, which starts with a D. The correct line will be 16 hex pairs / 32 characters, and will not have brackets.
     
  7. poudigne

    poudigne Newbie

    Newcomer
    1
    Mar 9, 2018
    Canada
    Excuse my ignorance, but where do I get the commonkey ?
     
  8. TheSeaofTesseract

    TheSeaofTesseract Member

    Newcomer
    1
    Jun 21, 2018
    United States
    Forgive us, we cannot post the common key. However, if you google "wii u common key" you'll probably find something.

    Also, in case you find more than one, the one that starts with D is the one for the US, just to clarify.
     
    poudigne likes this.
  9. poudigne

    poudigne Newbie

    Newcomer
    1
    Mar 9, 2018
    Canada
    Thanks, I was able to get a CommonKey and download a game. However, I am having trouble figuring out the installation part. Are you able to help me or point me to a really good guide.
    ( the guide i'm seems to be missing really important informations)
     
  10. TheSeaofTesseract

    TheSeaofTesseract Member

    Newcomer
    1
    Jun 21, 2018
    United States
    Ok, so you have got a common key and gotten a game. The files should all have .app and .h3 file extensions with the exception of title.tik, title.cert, and title.tmd. If you have this, install WUP Installer GX2 (that is, put it on your sd card; I'd use the homebrew app store to install it, it's the simplest way). On the root of your sd card, you need to put the folder containing all the game's files on the root of your sd card. I'd make sure the folder has a recognizable name (if I recall, the folder JNUSTool gives you has a name of tmp_somenumber, but you can rename it for WUP Installer). From there you'll probably be good to just go into WUP Installer and... well, install your game. I'm not sure, but you might need a signature patcher (the only times I've used this app were to install the files for a modified eshop game and a game dumped directly from a disc). You can get it from either the homebrew app store or here (I'd get both versions just in case. You may not even need it if you just downloaded the files without modding them, but if you do need it then you'll have it).
     
    poudigne likes this.
  11. poudigne

    poudigne Newbie

    Newcomer
    1
    Mar 9, 2018
    Canada
    Woah, I wish all guide were that straightforward and simple. Thanks !
     
    TheSeaofTesseract likes this.
  12. morpheous

    morpheous GBAtemp Regular

    Member
    4
    Apr 2, 2009
    United States
    Hello fellas, how are you guys doing?

    I have a question. I have some Virtual console games for play on my wii u via loadiine-GX in loadiine format with the 3 folders:content, code and meta folder.

    Some games, a few nintendo ds games in this instance, are missing the meta folder. using this tool, what command must i type to download, only the meta folder?

    When i double click the .jar file, i get a list but my ds game isn't in the list, so i have to type the title id manually but i don't know the command syntax to poll the server for this specific ds game.

    This is what i typed so far...


    C:\Injectiine v1.23>java -jar JNUSTool.jar 0005000010179F00
    JNUSTool 0.3b - by Maschell

    No cached TMD found.
    Getting missing tmd from Server!
    No cached ticket found.
    getting missing ticket
    File not found: http://ccs.cdn.wup.shop.nintendo.net/ccs/download/0005000010179F
    00/cetk
    No cached FST (0000000b) found.
    Getting FST from server.
    java.lang.IllegalArgumentException: Not a FST. Maybe a wrong key? Don't worry if
    you only want to download encrypted files!
    at de.mas.jnustool.FST.parse(FST.java:91)
    at de.mas.jnustool.FST.<init>(FST.java:33)
    at de.mas.jnustool.NUSTitle.<init>(NUSTitle.java:185)
    at de.mas.jnustool.Starter.main(Starter.java:82)

    Title : 0005000010179F00
    TitleID : 0005000010179F00
    Version : 0000000000000001
    Encrypted Key : 00000000000000000000000000000000
    Decrypted Key : C3A3EF21F8F5A067564E50BB00796E59
    Total Size of Content Files : 32.25 MB
    Error: Can't create GUI window without the FST. Please provide a key/title.key.
    To download the encrpyted files use the -dlEncrypted argument

    C:\Injectiine v1.23>java -jar JNUSTool.jar 0005000010179F00 -dlEncrypted
    JNUSTool 0.3b - by Maschell

    No cached TMD found.
    Getting missing tmd from Server!
    No cached ticket found.
    getting missing ticket
    File not found: http://ccs.cdn.wup.shop.nintendo.net/ccs/download/0005000010179F
    00/cetk
    No cached FST (0000000b) found.
    Getting FST from server.
    java.lang.IllegalArgumentException: Not a FST. Maybe a wrong key? Don't worry if
    you only want to download encrypted files!
    at de.mas.jnustool.FST.parse(FST.java:91)
    at de.mas.jnustool.FST.<init>(FST.java:33)
    at de.mas.jnustool.NUSTitle.<init>(NUSTitle.java:185)
    at de.mas.jnustool.Starter.main(Starter.java:67)

    Title : 0005000010179F00
    TitleID : 0005000010179F00
    Version : 0000000000000001
    Encrypted Key : 00000000000000000000000000000000
    Decrypted Key : C3A3EF21F8F5A067564E50BB00796E59
    Total Size of Content Files : 32.25 MB
    ---Downloading encrypted files---
    Downloaded title.tmd
    Downloading Content: 0000000C
    Downloading Content: 0000000B
    Downloading Content: 0000000D
    Downloading Content: 0000000E
    Downloading Content: 0000000F
    Downloading Content: 00000010
    Downloading H3: 0000000E.h3
    Downloading Content: 00000011
    Downloading H3: 00000010.h3
    Downloading H3: 00000011.h3
    Downloading Content: 00000012
    Downloading H3: 0000000F.h3
    Downloading Content: 00000013
    Downloading Content: 00000014
    Downloading H3: 00000014.h3
    Downloading H3: 00000012.h3
    Done!
    Downloaded content files
    Trying to create title.cert
    Got missing cert from OSv10 title
    Created title.cert
    ---Successfully downloaded encrypted files---

    I tried to convert the .app files to loadiine format but i couldn't, because no .tik was available with the download of the .app files.
     
  13. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    java -jar jnustool.jar 0005000010179f00 TitleKeyForThatTitleID -file /meta/.*

    We can't give you the title key. You have to find it on a title key site.
     
  14. morpheous

    morpheous GBAtemp Regular

    Member
    4
    Apr 2, 2009
    United States

    Fair enough, i'll five it a try and report back... Thank you, friend. ;)
     
  15. morpheous

    morpheous GBAtemp Regular

    Member
    4
    Apr 2, 2009
    United States
    That was the ticket! Pun intended.... ^_^
     
  16. morpheous

    morpheous GBAtemp Regular

    Member
    4
    Apr 2, 2009
    United States

    is it possible i can start a download without the gui launching? I would like to download within the command line if possible. if not, is there a command line version of jnustool?
     
  17. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    The command I gave doesn't show the GUI, like most of the commands in the OP.

    Edit:
    Are you asking how to download all files for a title without the gui? That's -file .*
     
    Last edited by nexusmtz, Oct 2, 2018
  18. morpheous

    morpheous GBAtemp Regular

    Member
    4
    Apr 2, 2009
    United States
    Yes!
     
  19. morpheous

    morpheous GBAtemp Regular

    Member
    4
    Apr 2, 2009
    United States
    Great, that worked. I have another question. what Title ID format does nintendo DS & N64 have?

    I'm trying to filter for nintendo ds and n64 from wii u titles
     
  20. nexusmtz

    nexusmtz GBAtemp Maniac

    Member
    7
    Feb 17, 2016
    United States
    TitleIDs look like they were assigned sequentially, with 00050000 being the prefix for games (as opposed to System App, System Data, Applet, Demo, Update, DLC). You might find this list helpful if you're looking for games by original platform.
     
Quick Reply
Draft saved Draft deleted
Loading...