Hacking JNUSTool - NUSGrabber and CDecrypt combined!

Wuigi

Well-Known Member
Member
Joined
Sep 14, 2012
Messages
727
Trophies
1
XP
1,783
Country
United States
I tried your tool and it is really helpful however there is a problem when just entering the title id in cmd @Maschell :
It fails at getting the FST from NUS even though there exists an update of the game.
Also entering the correct current version doesn't help, tested with Smash Bros.
As I looked at the csv file, there isn't much more provided to the programm so maybe this can be fixed?
As version numbers are encoded in hexadecimal steps, could there be checks implemented for available versions in steps of 16 numbers until a specifiable limit?
Otherwise really great, returning to the selection menu from the FST menu would be nice if you have time to look into it.
 
Last edited by Wuigi,

Wuigi

Well-Known Member
Member
Joined
Sep 14, 2012
Messages
727
Trophies
1
XP
1,783
Country
United States
Sorry I somehow made that a severe typo changing one digit Id from the wiiubrew title id list to make it fail.
Some of the ids from wiiubrew also don't match the ids from your csv, also the ids from my meta.xml files worked fine when an update was really available no wonder I got confused.
 
Last edited by Wuigi,

HaloEffect17

Hiya!
Member
Joined
Jul 1, 2015
Messages
1,320
Trophies
1
XP
2,719
Country
Canada
Noob question, but how do I use the Java command line to input my title key? As in command line, I am assuming command prompt? Putting this into cmd doesn't work:
java -jar JNUSTool.jar TITLEID

How would I properly add a directory prefix to this if needed?
 

fiveighteen

Distractible Dabbler
Member
Joined
Jun 30, 2008
Messages
1,768
Trophies
2
XP
1,930
Country
United States
@Maschell

Finally getting around to updating my games, JNUSTool is amazing! After clicking Open FST and downloading an update, is there a way to just go "back" to the title list? It seems the only option is to close the program and open a new session. Other than that and a search bar, I'm in love.
 
  • Like
Reactions: Maschell

fiveighteen

Distractible Dabbler
Member
Joined
Jun 30, 2008
Messages
1,768
Trophies
2
XP
1,930
Country
United States
Sorry for the double post, but new thought:

If I have the base game of a disc, and then a year later decide I want to update it via Nintendo, does it install every update along the way or just jump to the latest version? Aka update v16 updates file a, b, and c, but update v32 only updates b again. If I jump to v32 will I not have the other updates, or are they compounding?
 

fiveighteen

Distractible Dabbler
Member
Joined
Jun 30, 2008
Messages
1,768
Trophies
2
XP
1,930
Country
United States
When you use the update v32 you also have the files for update v16

btw. thanks for the feedback. At the moment you can only select mutiple titles and open them at once. I may add a back button in the future but read this http://gbatemp.net/threads/hid-to-vpad.424127/page-7#post-6341695 ;)
Good to know, thanks! I guess if it worked the other way around it would be a real bitch to update Smash after a year, with multiple GB updates lol.

I wasn't aware you could make multiple game selections. That definitely alleviates the need to go back to the title list if I just grab them all at once!

Thanks for all of your homebrew hacks and mods! I understand that sometimes it's best to get out for a while when coding stops being fun and starts becoming work. Hope to see you around again soon.
 
  • Like
Reactions: Maschell

guillaume633

Member
Newcomer
Joined
May 15, 2016
Messages
12
Trophies
0
Age
53
XP
99
Country
France
Hello,

I would like to complete meta for some games.
Downloading META from gui when launched with java -jar JNUSTool.jar works just fine.

However I have some games which are not in updatetitles.csv.
I have tried using command line but it fails. I need help.

As an example, I would like to download META for Angry Birds trilogy.
From wiiubrew title database, it is
00050000-10140000 Angry Birds Trilogy WUP-P-ANRP 0052
v0 EUR Yes

java -jar JNUSTool.jar 00050000-10140000
JNUSTool 0.0.7 - alpha - by Maschell

Invalid Title ID​

And removing '-' in titleID,

java -jar JNUSTool.jar 0005000010140000
JNUSTool 0.0.7 - alpha - 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/0005000010140000/cetk
No cached FST (00000000) found.
Getting FST from server.
78D327
Not a FST. Maybe a wrong key?
java.lang.IllegalArgumentException: File not a FST
at de.mas.jnustool.FST.parse(FST.java:87)
at de.mas.jnustool.FST.<init>(FST.java:28)
at de.mas.jnustool.NUSTitle.<init>(NUSTitle.java:171)
at de.mas.jnustool.Starter.main(Starter.java:68)
Total Size of Content Files: 1544.43 MB
Exception in thread "main" java.lang.NullPointerException
at de.mas.jnustool.gui.JCheckBoxTree.<init>(JCheckBoxTree.java:164)
at de.mas.jnustool.gui.NUSGUI.<init>(NUSGUI.java:46)
at de.mas.jnustool.Starter.main(Starter.java:68)​

I understand it tries to download the full game (and it fails), but I don't need it I would like only META.

Can someone explain what is wrong with this?

thanks
 

gl1mml1ng

Well-Known Member
Member
Joined
Jun 26, 2012
Messages
112
Trophies
1
Website
tuetenmensch.blogspot.com
XP
434
Country
Gambia, The
Hello,

I would like to complete meta for some games.
Downloading META from gui when launched with java -jar JNUSTool.jar works just fine.

However I have some games which are not in updatetitles.csv.
I have tried using command line but it fails. I need help.

As an example, I would like to download META for Angry Birds trilogy.
From wiiubrew title database, it is
00050000-10140000 Angry Birds Trilogy WUP-P-ANRP 0052
v0 EUR Yes

java -jar JNUSTool.jar 00050000-10140000
JNUSTool 0.0.7 - alpha - by Maschell

Invalid Title ID​

And removing '-' in titleID,

java -jar JNUSTool.jar 0005000010140000
JNUSTool 0.0.7 - alpha - 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/0005000010140000/cetk
No cached FST (00000000) found.
Getting FST from server.
78D327
Not a FST. Maybe a wrong key?
java.lang.IllegalArgumentException: File not a FST
at de.mas.jnustool.FST.parse(FST.java:87)
at de.mas.jnustool.FST.<init>(FST.java:28)
at de.mas.jnustool.NUSTitle.<init>(NUSTitle.java:171)
at de.mas.jnustool.Starter.main(Starter.java:68)
Total Size of Content Files: 1544.43 MB
Exception in thread "main" java.lang.NullPointerException
at de.mas.jnustool.gui.JCheckBoxTree.<init>(JCheckBoxTree.java:164)
at de.mas.jnustool.gui.NUSGUI.<init>(NUSGUI.java:46)
at de.mas.jnustool.Starter.main(Starter.java:68)​

I understand it tries to download the full game (and it fails), but I don't need it I would like only META.

Can someone explain what is wrong with this?

thanks
You need the ticket for this. You can generate it for example with FunkeyCia.py, if you have the encrypted key and title.
Then rename the ticket to title.tik, and create a subfolder named "tmp_0005000010140000" in the JNUSTool directory and put the title.tik in it.
Now your command should work.

The only problem is to get the encrypted keys, but there is a google spreadsheet somewhere to find. I don't know, if it contains the key for your game.
 
  • Like
Reactions: kineticUk

Jazzist

Well-Known Member
Member
Joined
Jun 27, 2013
Messages
158
Trophies
0
Age
34
XP
282
Country
I opened JNUSTool.jar, clicked on MARIO KART 8 (version 64, USA), and then on "Downloaded Encrypted Files"

I got a folder called "0005000E1010EC00" with a bunch of files (And no folders inside it).

How do I use this update for Mario Kart 8 that's been loaded through Loadiine?
 
  • Like
Reactions: Maschell

OuahOuah

Well-Known Member
Member
Joined
Oct 2, 2006
Messages
1,072
Trophies
1
Age
46
Location
France
Website
www.ouahouah.eu
XP
764
Country
France
I opened JNUSTool.jar, clicked on MARIO KART 8 (version 64, USA), and then on "Downloaded Encrypted Files"

I got a folder called "0005000E1010EC00" with a bunch of files (And no folders inside it).

How do I use this update for Mario Kart 8 that's been loaded through Loadiine?

Never use this buttoon :P
Use "OpenFST", tick all boxes then "Download".
At the end, your folder is ready.
 

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
the game update csv file is updated manually?
you can keep track of all updates and automatically add new ones by checking tagaya latest version at launch.
keep the latest checked tagaya version in the csv so it only grab new updates.
 
  • Like
Reactions: Maschell

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Firefox users be like "look at what they have to do to mimic a fraction of our power."