Hacking JNUSTool - NUSGrabber and CDecrypt combined!

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
When I select "Open FST" It just closes the program. Why?

If you're not getting the FST window, copy and paste the messages that appear in the command prompt window that you ran java from.

Note that you won't have any messages if you ran the jar by double-clicking it, unless you have the java console turned on. Please run java from a command prompt.

You'll probably see the message: "Not a FST. Maybe a wrong key?"
Check the common key in the config file.
 

Goldug

Member
Newcomer
Joined
Oct 9, 2016
Messages
16
Trophies
0
Age
37
XP
131
Country
A couple of questions:
1. What is the server address for?
2. I tried visiting the address, but I just got a 404 Not Found "The requested URL /ccs/download was not found on this server." message. Does it still work? I mean, is it some kind of site that can't be accessed with a browser or something?
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
A couple of questions:
1. What is the server address for?
2. I tried visiting the address, but I just got a 404 Not Found "The requested URL /ccs/download was not found on this server." message. Does it still work? I mean, is it some kind of site that can't be accessed with a browser or something?

The server address defines which eshop-style server you want to connect to. The address is configurable for the usual reasons; flexibility and plausible deniability. The 404 error is normal. Nintendo doesn't make downloading their software quite as simple as stumbling across their web server.
 

Goldug

Member
Newcomer
Joined
Oct 9, 2016
Messages
16
Trophies
0
Age
37
XP
131
Country
The server address defines which eshop-style server you want to connect to. The address is configurable for the usual reasons; flexibility and plausible deniability. The 404 error is normal. Nintendo doesn't make downloading their software quite as simple as stumbling across their web server.
Okay, is there any point in changing it, and if so to what?
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
Okay, is there any point in changing it, and if so to what?
Not presently, for a normal end user anyway. If Nintendo reorganizes their servers, e.g. by region, we might have to change it. If you can see the FSTs for your updates, you've got the right server.
 

ckcu

Member
Newcomer
Joined
Oct 11, 2016
Messages
21
Trophies
0
Age
33
XP
67
Country
Switzerland
Great program. I was finally able to update New Super Mario Bros U. However, I find the csv file hard to update on my own. Could the GUI update the CSV going forward to make it more easy? Thanks,

--------------------- MERGED ---------------------------

Great program. I was finally able to update New Super Mario Bros U. However, I find the csv file hard to update on my own. Could the GUI update the CSV going forward to make it more easy? I find the New-Nusgrabber unable to change common key location, not to mention how to use it. Thanks,
 

apt4893

Well-Known Member
Newcomer
Joined
Oct 19, 2016
Messages
51
Trophies
0
Age
31
XP
91
Country
Canada
Hi I'm new to this. I've been trying to get Splatoon running on Loadiine, having issues where it will not load and just show black. I dumped the game after updating to latest version (as of today) through ddd and compared all the files to make sure it is the same. I was wondering I even need JNUSTool. I've looked at a few tutorials and I'm confused, it seems to produce the same files as ddd from a server? Or maybe I'm just not understanding if this might actually solve my issue? Thanks
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
...I've been trying to get Splatoon running on Loadiine, having issues where it will not load and just show black. I dumped the game after updating to latest version (as of today) through ddd and compared all the files to make sure it is the same. I was wondering I even need JNUSTool....
JNUSTool will help you download updates to your hard drive in Loadiine format, but since you already updated your game, it won't be of much help. You could use it as a source of files to do a binary compare on those files which are in the update to the ones you pulled with ddd, but unless the update happens to contain all files (splatoon's update doesn't) you still won't know what's wrong.

JNUSTool can also download the original game files, if the full title is on the server and you have the title's NUS key, but Splatoon doesn't appear to be one of those titles. (Bayonetta is - I was able to answer the Bayonetta rpl question in the loadiine thread because I can see that title on the NUS server.)
 
Last edited by nexusmtz,

apt4893

Well-Known Member
Newcomer
Joined
Oct 19, 2016
Messages
51
Trophies
0
Age
31
XP
91
Country
Canada
JNUSTool will help you download updates to your hard drive in Loadiine format, but since you already updated your game, it won't be of much help. You could use it as a source of files to do a binary compare on those files which are in the update to the ones you pulled with ddd, but unless the update happens to contain all files (splatoon's update doesn't) you still won't know what's wrong.

JNUSTool can also download the original game files, if the full title is on the server and you have the title's NUS key, but Splatoon doesn't appear to be one of those titles. (Bayonetta is - I was able to answer the Bayonetta rpl question in the loadiine thread because I can see that title on the NUS server.)

I took a look though, I thought Splatoon was listed in the .csv for JNUSTool? Or am I looking elsewhere? I know others have gotten Splatoon to work, I really have on idea what went wrong esp if I was able to get it to work for all but 3 of my games (Lego City, Wonderful 101 and Splatoon).

(kinda yo-yo-ing back) Tried out Bayonetta on the latest loadiine it worked even with white screens. I can put up with it :P
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
I took a look though, I thought Splatoon was listed in the .csv for JNUSTool? Or am I looking elsewhere? I know others have gotten Splatoon to work, I really have on idea what went wrong esp if I was able to get it to work for all but 3 of my games (Lego City, Wonderful 101 and Splatoon).
You can get the updates for Splatoon with JNUSTool, but since there was no 'scene release' of the US version, there's no wud floating around to determine the NUS key from. (The key is listed in the title key spreadsheet, but it doesn't decrypt the file table when you open the full title, so it must be the wrong key.) Without the key, you can't read the full title's files on the NUS server. Someone who has the disc or working US rip will have to help you compare file names/sizes/hashes. That shouldn't be done in this thread though, because JNUSTool wouldn't be involved.

Regarding those who have it working, you should keep in mind that many people simply use the EUR version (AGMP01) in Loadiine. That version did have a scene release, so that NUS key is known. If you're keeping up on recent wupinstaller/tik business, you'll notice how many people are suddenly clamoring for AGME01 because you can't install the EUR version onto an NA console's hard drive.
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,645
Country
Germany
For some reason, JNUSTool fails to download title.cert for a lot of users, including me.
Yeah, sorry about that. Never tested it with fullgames.
But...
Should be fixed now in the new Version 0.0.8b!
DL: https://github.com/Maschell/JNUSTool/blob/master/release.zip?raw=true
Changelog:
- added -file parameter to commandline
- fixed/changed creating title.cert
- fixed a bug while downloading .h3 files
- Improved the output on the consolewindow

---

The -file argument is using a regular expression and can do nice things.

Example for downloading the app.xml only
Code:
java -jar JNUSTool.jar 0005000E1011A700  -file /code/app.xml

Example for downloading the code folder only
Code:
java -jar JNUSTool.jar 0005000E1011A700  -file /code/.*

Example for downloading all .szs files
Code:
java -jar JNUSTool.jar 0005000E1011A700  -file .*.szs

So if you just want to download the soundtrack or models of a game/update, this will be the fastest and easiest way!

---

btw: When you use JNUSTool to download the fw.img, check the hash of the file!
In rarely,random cases it'll download a kinda broken fw.img. Doublecheck the SHA-1 hash, it should be "8A181FB1D1455E8FE64BCC07D25FEA2E5529C5CC".
I'll fix this as soon as I can,
 

Lunaei

Member
Newcomer
Joined
Oct 22, 2016
Messages
15
Trophies
0
Age
32
XP
51
Country
i am very annoyed at the current moment .-. i have downloaded lego city undercover under full titles, didnt get a title.cert
How can i obtain this file without downloading another 18.7gb??
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
i am very annoyed at the current moment .-. i have downloaded lego city undercover under full titles, didnt get a title.cert
How can i obtain this file without downloading another 18.7gb??

Get the new update from the post above yours, unzip it to your current directory without overwriting your config file, and run the same command you already ran. It'll skip the files you've already downloaded.

(or copy it from another title, or download something small like 000500101000400A with the new version or nusgrabber)
 

Lunaei

Member
Newcomer
Joined
Oct 22, 2016
Messages
15
Trophies
0
Age
32
XP
51
Country
Get the new update from the post above yours, unzip it to your current directory without overwriting your config file, and run the same command you already ran. It'll skip the files you've already downloaded.

(or copy it from another title, or download something small like 000500101000400A with the new version or nusgrabber)

Okay, il try it right now. Thanks

--------------------- MERGED ---------------------------

Get the new update from the post above yours, unzip it to your current directory without overwriting your config file, and run the same command you already ran. It'll skip the files you've already downloaded.

(or copy it from another title, or download something small like 000500101000400A with the new version or nusgrabber)

is the title.cert the same from everything?
 

Sno0t

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
223
Trophies
0
XP
1,217
Country
Gambia, The
Hey @Maschell ,
TRhank you for your awesome tool.
Unfortunately im getting a nullpointerexceptiojn in line 164 in the class jcheckboxtree.
I guess its because you are using the FST while ignoring that it can still be null at this location?
Guess its not working because I am using your default configured eshop url..guess I have to change this ;)
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
Thank you for the update :)

I tried again to get 0005001B10059200
It can open it, but it fails to download this file :
meta/WUP-N-HASP-EUR.bfma

Code:
Downloading:     8,02 MB /meta/WUP-N-HASP-EUR.bfma
checksum failed
B72FFA01061B438F083E2ACFBA4225610CF1ED86
0000000000000000000000000000000000000000
java.lang.IllegalArgumentException: checksumfail
        at de.mas.jnustool.util.Decryption.decryptFileChunkHash(Decryption.java:137)
        at de.mas.jnustool.util.Decryption.decryptFileHash(Decryption.java:232)
        at de.mas.jnustool.util.Downloader.downloadAndDecrypt(Downloader.java:67)
        at de.mas.jnustool.FEntry.downloadAndDecrypt(FEntry.java:199)
        at de.mas.jnustool.FEntryDownloader.call(FEntryDownloader.java:29)
        at de.mas.jnustool.FEntryDownloader.call(FEntryDownloader.java:1)
        at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(Unknown Source)
        at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
        at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
        at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
0005001B10059200 connection failed.
Done!

the file is extracted and is 5.8MB instead of 8.02MB.
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,645
Country
Germany
Hey @Maschell ,
TRhank you for your awesome tool.
Unfortunately im getting a nullpointerexceptiojn in line 164 in the class jcheckboxtree.
I guess its because you are using the FST while ignoring that it can still be null at this location?
Guess its not working because I am using your default configured eshop url..guess I have to change this ;)
Can you post the full Exception?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: aeiou