Hacking JNUSTool - NUSGrabber and CDecrypt combined!

bobbytomorow

Well-Known Member
Newcomer
Joined
Sep 7, 2016
Messages
83
Trophies
0
Age
35
XP
616
Country
United States
JNUSTool doesn't seem to be working with CoD Ghosts USA version, the ID on the titlekey site doesn't match the ID in JNUSTool, they are off by a single digit. I am following this guide.
 

bobbytomorow

Well-Known Member
Newcomer
Joined
Sep 7, 2016
Messages
83
Trophies
0
Age
35
XP
616
Country
United States
CoD Ghosts USA is a disc-only game. (You can't use JNUSTool to download something from NUS that doesn't exist.)

I see, that makes sense. I have a loadiine copy of it that I was trying to convert to a USB install, I guess thats not happening.

Thanks
 

datahoarder

Organized.
Member
Joined
Jul 7, 2007
Messages
567
Trophies
1
XP
750
Country
United States
@Maschell

Request:
Would you implement a "-compare" command line option that will decrypt the local file's app.xml and compare it with the relevant NUS app.xml?
Example: "java -jar JNUSTool.jar 00050000101FC000 -compare"
Which would internally compare: the "-file /code/app.xml" local file version versus the NUS version?
<version type="unsignedInt" length="4">16</version>

The reason:
It seems as though some games chose to update their main game (00050000) versus adding an external update file (0005000E).
So a while ago I may have downloaded the original v16 of the main game, but some of have been updated since. (v17+, etc)
While 0005000E games are easy to check the latest versions using the TAGAYA .versionlist; it is not so easy to check these games.
This would make bulk checking game versions WAY easier to see if they have updated the 00050000 versus pushing out a 0005000E update.

Right now you have it skip if the local files are the same or it will download the new files if they are not the same. Which is perfect.
However, if I have a v16 of a local game on my hard drive, take for example: BLOC [00050000101FC000] v16 @ 70.6MB.
If I were to run: "java -jar JNUSTool.jar 00050000101FC000 -dlEncrypted" it would skip all of the files and assume everything is all good.
The bad: The NUS server has v17 available which is 83.5MB.
I know I can manually specify "v17 -dlEncrypted" however I don't know which games have updated their apps using this method.
All around this would make comparing local updates versus online updates (for the end user) easy af.
Hence, I think it would be fantastic if you were to implement this "-compare" command that outputs which games have newer versions available.

Please, and thank you.

EDIT: If you wanted to make this easier than outputting the specific versions,
if you could just have it compare the two files and output
"file checksums are different between the local /code/app.xml & NUS /code/app.xml"
then that'll be enough to let us know that there are different versions available.

Outputting it like this would be awesome too, but I realize more work:
(this way I can know the version # for all of the games, wow, would be awesome.)
"java -jar JNUSTool.jar 00050000101B2C00 -compare"
"java -jar JNUSTool.jar 0005000010179600 -compare"
Shutshimi [00050000101B2C00] (v16) - You have the latest NUS update.
Shiny The Firefly [0005000010179600] (v16) - New update available on NUS! (v17)

DoubleEDIT: It turns out the version.list does contain these types of updates.
It just doesn't show on the GUI of your program. I still would like to see this implemented.

:wub:
 
Last edited by datahoarder,

timartinelli

New Member
Newbie
Joined
Jun 22, 2017
Messages
1
Trophies
0
Age
36
XP
51
Country
Brazil
Friends, good afternoon, I look for a way to do a translation of the game The Legend of Zelda: Breath of the Wild, for my language, you well say if this tool I can do this? there must be a way?
 

datahoarder

Organized.
Member
Joined
Jul 7, 2007
Messages
567
Trophies
1
XP
750
Country
United States
@Maschell
Does anyone else receive checksum errors when using the following commands on these title updates?
java -jar JNUSTool.jar 0005000E10110000 -dlEncrypted
java -jar JNUSTool.jar 0005000E10102000 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010AF00 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010B000 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010CF00 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010DA00 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010DC00 -dlEncrypted
java -jar JNUSTool.jar 0005000E10102000 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010AF00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010B000 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010CF00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010DA00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010DC00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E10110000 -file /code/app.xml
They should be legit updates, so I'm not sure why the program is throwing me the following error:
"Checksum fail for: app.xml =(. Content 00000001.app likely is broken. Please re-download it!"

These are the only titles thus far I've found that are consistent in this error, and will not produce an extracted /code/app.xml.
If I don't download the files at all (using -dlEncrypted) and just fetch the -file /code/app.xml from NUS, it will fetch that file fine.
  1. 0005000E10102000 Nintendo Land
  2. 0005000E1010AF00 Marvel Avengers Battle for Earth
  3. 0005000E1010B000 Rabbids Land
  4. 0005000E1010CF00 Call of Duty Black Ops II
  5. 0005000E1010DA00 NBA 2K13
  6. 0005000E1010DC00 Mass Effect 3 Special Edition
  7. 0005000E10110000 TEKKEN TAG TOURNAMENT 2 Wii U EDITION
 
  • Like
Reactions: BullyWiiPlaza

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,097
Trophies
2
XP
4,749
Country
Germany
@Maschell
Does anyone else receive checksum errors when using the following commands on these title updates?
java -jar JNUSTool.jar 0005000E10110000 -dlEncrypted
java -jar JNUSTool.jar 0005000E10102000 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010AF00 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010B000 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010CF00 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010DA00 -dlEncrypted
java -jar JNUSTool.jar 0005000E1010DC00 -dlEncrypted
java -jar JNUSTool.jar 0005000E10102000 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010AF00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010B000 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010CF00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010DA00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E1010DC00 -file /code/app.xml
java -jar JNUSTool.jar 0005000E10110000 -file /code/app.xml
They should be legit updates, so I'm not sure why the program is throwing me the following error:
"Checksum fail for: app.xml =(. Content 00000001.app likely is broken. Please re-download it!"

These are the only titles thus far I've found that are consistent in this error, and will not produce an extracted /code/app.xml.
If I don't download the files at all (using -dlEncrypted) and just fetch the -file /code/app.xml from NUS, it will fetch that file fine.
  1. 0005000E10102000 Nintendo Land
  2. 0005000E1010AF00 Marvel Avengers Battle for Earth
  3. 0005000E1010B000 Rabbids Land
  4. 0005000E1010CF00 Call of Duty Black Ops II
  5. 0005000E1010DA00 NBA 2K13
  6. 0005000E1010DC00 Mass Effect 3 Special Edition
  7. 0005000E10110000 TEKKEN TAG TOURNAMENT 2 Wii U EDITION

JNUSTool has some known issues, that's why I rewrote it into JNUSLib. I just didn't had any time to rewrite JNUSTool to use the new JNUSLib though. If you know a bit Java, you can easily write a download yourself if you want
https://twitter.com/MaschellDev/status/832313232908025857
 
Last edited by Maschell,
  • Like
Reactions: BullyWiiPlaza

datahoarder

Organized.
Member
Joined
Jul 7, 2007
Messages
567
Trophies
1
XP
750
Country
United States
I know zero Java. I will wait for an updated JNUSTool to extract these updates properly.
If anyone off-hand does this beyond Maschell, please do send me a private message also.
I'll keep tabs on this thread as well and will hope for the best. Thanks for an amazing program minus this bug.
JNUSTool has some known issues, that's why I rewrote it into JNUSLib. I just didn't had any time to rewrite JNUSTool to use the new JNUSLib though. If you know a bit Java, you can easily write a download yourself if you want
https://twitter.com/MaschellDev/status/832313232908025857
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
"Common key lenght is wrong" how can I fix this?
You need a file named "config" in the folder of the jar. In this config file you will need a link to the update server,tagaya and the commonkey as hex string.
For example something like:
Code:
http://maschell.de/ccs/download
EE10040260BBB4ABD2C42DB25570B656
updatetitles.csv
TAGAYA 1 (latest_version)
TAGAYA 2 (versionlist)
I guess you'll figure out the right URL and common key
Make sure that your common key is 16 hex pairs (32 characters) without brackets.
 

Murphy_Caleb

Member
Newcomer
Joined
Jan 4, 2018
Messages
13
Trophies
0
Age
31
XP
43
Country
United States
I can get the tool to work just fine double clicking...but when I try the command line I get Unable to access jarfile JNUsTool.jar

I have set the path to the address from the bin of java.
Any suggestions?
 

Murphy_Caleb

Member
Newcomer
Joined
Jan 4, 2018
Messages
13
Trophies
0
Age
31
XP
43
Country
United States
Place them in a folder with the titleid and tmp_ as prefix (e.g. tmp_0005000E10110E00). Then just decrypt them normally.

It searches for the files the nusgrabber is creating. If you cant figure out the exact foldername, just start the download of the encrypted files via jnustool and the folser should be created. You can then copy the downloaded files from the nusgrabber into it
can yo tell m how to "decrypt them normally"? i have the tmp folder but i dont know what do do from here. any help would be apprieciated
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
if you type the titleID and titlekey manually, it's usually to get/browse game files.
gameupdate doesn't need the titlekey (it's free on eshop and the key is provided)
by default, and if you double click, it lists game updates (not the full game).

I don't know why you have that error when double clicking, I did it in the past it JNUSTool worked fine.
Maybe try reinstalling java8?
or be sure there's no space in the path up to the jar file. (don't use a protected folder either, like desktop/user/program files/ etc.), personally I like putting all my homebrew/console related programs on another partition than C, and never use any space in the paths to prevent any command line error or restricted rights.
 

infiniter

Member
Newcomer
Joined
May 29, 2018
Messages
14
Trophies
0
Age
41
XP
81
Country
Netherlands
Why is this all so complicated? Odd situation:
1. JNUS Tool: I downloaded and extracted this tool. In the ZIP there were only the JAR, the config file and the updatetitles.csv. No fulltitles.csv, so it can't download full games from the GUI, though it would be so easy if you could simply switch the lists, even if you would do it manually in the config file. In the config file there are two NUS.
2. JNUS Tool GUI mod: after installation (which is in c:\users\<user>\appdata\local, where it doesn't belong) there is a fulltitles.csv, but not an updatetitles.csv and when starting, the list of titles in the GUI is empty. Probably because in the settings file there is no titles site (NUS supposed to be here?). But one would suppose it would then load the fulltitles.csv into the list. The GUI has a setting window where you can edit the settings, but it won't store them.

Conclusion: both don't work as supposed. The JNUS tool at least shows an incomplete list of updates. In order to download full games, one would think to replace the updatetitles.csv in the config file ny
 
Last edited by infiniter,

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
Why is this all so complicated? Odd situation:
1. JNUS Tool: I downloaded and extracted this tool. In the ZIP there were only the JAR, the config file and the updatetitles.csv. No fulltitles.csv, so it can't download full games from the GUI, though it would be so easy if you could simply switch the lists, even if you would do it manually in the config file. In the config file there are two NUS.
2. JNUS Tool GUI mod: after installation (which is in c:\users\<user>\appdata\local, where it doesn't belong) there is a fulltitles.csv, but not an updatetitles.csv and when starting, the list of titles in the GUI is empty. Probably because in the settings file there is no titles site (NUS supposed to be here?). But one would suppose it would then load the fulltitles.csv into the list. The GUI has a setting window where you can edit the settings, but it won't store them.

Conclusion: both don't work as supposed. The JNUS tool at least shows an incomplete list of updates. In order to download full games, one would think to replace the updatetitles.csv in the config file ny
jnustool gui mod doesn't have an installer, it's a .jar file.
Its only problem is that it doesn't download tickets as well.
 

TheSeaofTesseract

Member
Newcomer
Joined
Jun 21, 2018
Messages
10
Trophies
0
Age
23
XP
62
Country
United States
Hello. I am running into a problem trying to decrypt some files that I got using this program and have been thoroughly stumped (then again, I'm not really an expert on hacking).


I was following a tutorial and that command is the one they told me to run (the number is the game's title ID) but that is not what was supposed to happen. Or maybe I'm just blatantly doing this wrong... May I have some assistance? I will give more details if needed, of course.

(I'm pretty sure I have the right common key. I'll post the file I got it from. It's the top one, right?)

EDIT: I read above and tried while using the title key as well. Got a similar error:


Oh yeah, and this is in the same folder as the tmp folder I'm trying to do this for.
 
Last edited by Chary,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    when i go to college,what do you guys think i should major?
  • BakerMan @ BakerMan:
    inb4 computer science
  • BigOnYa @ BigOnYa:
    Fake Leg scratching 101
  • K3Nv2 @ K3Nv2:
    IT support you can act like your own farts smell like cherries that way
  • K3Nv2 @ K3Nv2:
    Odin 2s $300 lol no
  • Scarlet @ Scarlet:
    The Mini is even more lol
  • K3Nv2 @ K3Nv2:
    That RG cube is starting to look like the better value price creep option
    +1
  • BigOnYa @ BigOnYa:
    I want a handheld gaming system with a tablet sized screen, like a 8 or10" screen, with controllers that can detach like the Switch.
  • BakerMan @ BakerMan:
    @BigOnYa i was legitimately trying to scratch my leg, this is reminding me of that cylinder post
  • Scarlet @ Scarlet:
    I don't see the buzz about a square screen personally. I think there will be a review on the site within a few weeks though if you are interested.
    +1
  • Scarlet @ Scarlet:
    I've put down the money on the Odin 2 Mini since I just love that Vita form factor. Loved the power of the Odin 2 but the size always put me off, this one seems exactly what I've been wanting.
  • K3Nv2 @ K3Nv2:
    I don't care about the square screen it's just nice to hold something you don't have to stretch your arms a foots length
  • K3Nv2 @ K3Nv2:
    All these things expecting to be super huge is overrated just run a type c cable to your TV if you want a big display or in my case screen mirror it
  • BigOnYa @ BigOnYa:
    On the go tho I meant, I use my 10" tablet and a Bluetooth controller for retro gaming while sitting on my porch or on long car rides sometimes. Easier on my eyes than the Switch screen.
  • K3Nv2 @ K3Nv2:
    My point is we already have enough shit with big displays having something pocketable with up to ps2 would be fine on the go
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ken unless the games are made for that screen size most suck on a screen that size... Having a square screen and being brighter and higher res helps but it's not a cure all, text is tiny bullets are tiny, your.... Well lol
  • K3Nv2 @ K3Nv2:
    You can stretch to fit probably it's not all bad that they make it seem to be
  • K3Nv2 @ K3Nv2:
    People always yap about oh but you loose pixels but yeah it won't look awful either
  • Psionic Roshambo @ Psionic Roshambo:
    I like filters :P
  • K3Nv2 @ K3Nv2:
    Filters are why you don't go on 2nd dates
  • Psionic Roshambo @ Psionic Roshambo:
    Lol nahhh it's because I usually get what they want on the first date lol
  • Psionic Roshambo @ Psionic Roshambo:
    I swear if I hear "I don't usually do this on the first date" on more time... I am going to start counting
  • K3Nv2 @ K3Nv2:
    I bought you McDonald's even tho you lied about your pics I still deserve this
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=6w0AuRZr9aA&pp=ygUPRnJlZXphIGNvdW50aW5n