NX Game Info for macOS and Windows

I want to share something that I've been working on for a while
It started of as an experiment to add LibHac to Switch Backup Manager, but as it was easier to make a new project instead of doing with an existing app with already lots of things in it, it progressed as a separate project. Although because now it is a separate project, a macOS build was made possible


NX Game Info

Tool to read information from Nintendo Switch game files, with the following features
  • Read NSP, XCI and installed titles from SD card
  • Game files structure (Scene release, CDN rip, converted)
  • NCA signature (Verify if it's official Nintendo titles. Unmodified titles should pass this test)
  • FS permission (Read filesystem permission. Game titles should not have excessive filesystem permissions such as EraseMmc)
  • macOS and Windows build

To use this app, you need to provide 4 files
  • prod.keys: Your usual keys file, also commonly found as keys.txt in other apps. Can be obtained from your Switch using Lockpick
  • console.keys: SD seed key, can also be obtained using Lockpick. Please refer to this for more details. This is only required for Open SD Card to function, and only sd_seed key (along with sd_card_kek_source and sd_card_nca_key_source in prod.keys) is required. Other keys can be ignored
  • title.keys: Title keys file, support any popular format such as from newkeydb or nutdb. This is required to read FS permission for games using Titlekey Crypto. Also used to map game title name and latest version if available. For more details see https://github.com/garoxas/LibHac/blob/NX_Game_Info/KEYS.md#title-keys
  • hac_versionlist.json: Version list file, can be downloaded from https://pastebin.com/raw/9N26Bx10 (updated daily). No DLC version
For more details, please refer to https://github.com/garoxas/NX_Game_Info#how-to


NX_Game_Info_macOS.png

NX_Game_Info_macOS_SD_Card.png

NX_Game_Info_Windows.png

NX_Game_Info_Windows_SD_Card.png


Download

https://github.com/garoxas/NX_Game_Info/releases


Thanks to


For macOS Users

If the app suddenly closes when you try to run it, go to System Preferences then to Security & Privacy, there you'll need to select Open Anyway to be able to run this app

gatekeeper.png
 

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
great

you need to put prod.keys file in /Users/yourname/.switch directory on Mac

It works! Why can't I just put NX Game in NX Game folder along with prod.keys file in it ? It won't work but put them in /Users/yourname like Download directory on macOS and it works.
 
Last edited by spotanjo3,

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
It works! Why can't I just put NX Game in NX Game folder along with prod.keys file in it ? It won't work but put them in /Users/yourname like Download directory on macOS and it works.
iirc because the app is sandboxed, so "current" directory will be different than what you expected to be
the general approach was to put supporting files somewhere else. the most common way was to put it in /Users/yourname/Library/Application Support/applicationname but I felt that using /Users/yourname/.switch is more straightforward (and this approach also being used in other app such as hactool)
 
Last edited by Garou,

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
iirc because the app is sandboxed, so "current" directory will be different than what you expected to be
the general approach was to put supporting files somewhere else. the most common way was to put it in /Users/yourname/Library/Application Support/applicationname but I felt that using /Users/yourname/.switch is more straightforward (and this approach also being used in other app such as hactool)

I understand. Maybe you can do that for directory ? I like to make a folder for it and put them inside it at Downloads directory.
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
iirc because the app is sandboxed, so "current" directory will be different than what you expected to be
the general approach was to put supporting files somewhere else. the most common way was to put it in /Users/yourname/Library/Application Support/applicationname but I felt that using /Users/yourname/.switch is more straightforward (and this approach also being used in other app such as hactool)

I tried to scan all of them in NSP include dlc files and works okay. And I scan all of them in .XCI files and it crashes.
 

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
I understand. Maybe you can do that for directory ? I like to make a folder for it and put them inside it at Downloads directory.
the path needs to be predefined in the app, so basically I need to choose 1 specific path that works for everyone. custom path is not possible, sorry

I tried to scan all of them in NSP include dlc files and works okay. And I scan all of them in .XCI files and it crashes.
are they proper XCI dumps or converted from NSP?
if they are proper XCI dumps, let me know the game name so I can check
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
the path needs to be predefined in the app, so basically I need to choose 1 specific path that works for everyone. custom path is not possible, sorry{QUOTE]

I understand.

are they proper XCI dumps or converted from NSP?
if they are proper XCI dumps, let me know the game name so I can check

They are all properly XCI.. No converted at all.

I open Directory in NX and scan XCI files on my external hard drive where all XCI files stored. They crashes immediately. :unsure:

I open Directory to where clean NSP files (no converted from XCI either) stores in other folder in external hard drive and scanned and verify all passed.
 

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
They are all properly XCI.. No converted at all.

I open Directory in NX and scan XCI files on my external hard drive where all XCI files stored. They crashes immediately. :unsure:

I open Directory to where clean NSP files (no converted from XCI either) stores in other folder in external hard drive and scanned and verify all passed.
can you try open just 1 xci file and see if it crashes? I'm guessing maybe there's a corrupted xci in the directory and the app crashes when opening that one
also please send me your debug.log

converted xci work in windows. I dunno about mac.
thanks for the info :)
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
Country
United States
I'm not sure how to determine if an xci is corrupted, but I do know how to with an nsp. however, the app, nsp verify, throws a false positive for nsp games or updates that have been modified to work on lower firmware. I have all of my unverified nsp files in a separate folder atm.
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
can you try open just 1 xci file and see if it crashes? I'm guessing maybe there's a corrupted xci in the directory and the app crashes when opening that one
also please send me your debug.log

One xci file works and no crashes. All of them at once crashes.

I think I know why.

Title.keys
Console.keys (What's that?)

Are they the reason I need ?

I think not.. Correct me if I am wrong. It doesn't matter because if one XCI file works fine then why not all of them ?

converted xci work in windows. I dunno about mac.

Yes, converted xci work in macOS. I did before.
 
Last edited by spotanjo3,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
Country
United States
you can tell what's converted with switch backup manager. it will say that the origin is xci. that's in case you downloaded the files. I have my converted files in a separate folder. I don't know much about exploiting the switch, just enough to get all of my bought games downloaded and checked.
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
can you try open just 1 xci file and see if it crashes? I'm guessing maybe there's a corrupted xci in the directory and the app crashes when opening that one
also please send me your debug.log


thanks for the info :)

Debug log in zip below and this message:

Screen Shot 2020-09-12 at 11.37.51 AM.png
 

Attachments

  • debug.log.zip
    893 bytes · Views: 214

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
One xci file works and no crashes. All of them at once crashes.

I think I know why.

Title.keys
Console.keys (What's that?)

Are they the reason I need ?
you don't need to worry about console.keys for now. that's for Open SD Card option, see https://github.com/garoxas/LibHac/blob/NX_Game_Info/KEYS.md#console-unique-keys if you're interested

I think not.. Correct me if I am wrong. It doesn't matter because if one XCI file works fine then why not all of them ?
as I said before, if there's 1 corrupted xci in that directory and the app doesn't know to handle that, it may throw an error causing the app to crash
unless you're willing to test all xci files that you have one by one and see which one causing the issue, unfortunately there's no way for me to narrow down the issue. sorry

Debug log in zip below and this message:
wait what? you'll only get that error message if your prod.keys is empty (or no correct keys in it)
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
you don't need to worry about console.keys for now. that's for Open SD Card option, see https://github.com/garoxas/LibHac/blob/NX_Game_Info/KEYS.md#console-unique-keys if you're interested


as I said before, if there's 1 corrupted xci in that directory and the app doesn't know to handle that, it may throw an error causing the app to crash
unless you're willing to test all xci files that you have one by one and see which one causing the issue, unfortunately there's no way for me to narrow down the issue. sorry


wait what? you'll only get that error message if your prod.keys is empty (or no correct keys in it)

Thank you. I deleted console.keys anyway. I go ahead and highlight them all by Open file at once. Everything is good. Thanks.
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
Something is wrong. Now it is not working. I used old version and it works but the latest version aren't.

I have NX Game Info (the latest version) and prod.keys (The latest version) in the same directory. And I got the message:

Screen Shot 2020-10-26 at 9.26.43 AM.png
 
Last edited by spotanjo3,

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Something is wrong. Now it is not working. I used old version and it works but the latest version aren't.

I have NX Game Info (the latest version) and prod.keys (The latest version) in the same directory. And I got the message:

View attachment 231135
try put prod.keys in /Users/yourname/.switch and see how it goes. and when you said latest version, does that mean the one from release page (released almost a year ago) or did you build from source?
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
try put prod.keys in /Users/yourname/.switch and see how it goes. and when you said latest version, does that mean the one from release page (released almost a year ago) or did you build from source?

A stable release version of 0.7.1. You are right. It works now. Sorry to pull you in for the trouble.

And I have an idea.. Maybe you can drag and drop on it instead of going to file to find it ? It would be easier. What do you think ?
 
Last edited by spotanjo3,

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
A stable release version of 0.7.1. You are right. It works now. Sorry to pull you in for the trouble.

And I have an idea.. Maybe you can drag and drop on it instead of going to file to find it ? It would be easier. What do you think ?
that would be neat idea, thanks. I'll consider it whenever I find the mood to update the app
 
  • Like
Reactions: spotanjo3

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Ween made a song about waving dicks in the wind.
    +1
  • RedColoredStars @ RedColoredStars:
    L angle cables are amazing when needed.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Yup. Been a longtime fan of Ween. Not a mega-fan by any means but I'm pretty familiar with most of their tunes.
    +1
  • K3Nv2 @ K3Nv2:
    You like the wee
    +1
  • ZeroT21 @ ZeroT21:
    I like electronics that use detachable cables, that way if the cable breaks you can just swap in a new one instead of replacing the whole unit
  • SylverReZ @ SylverReZ:
    @K3Nv2, Ween-er :creep:
  • RedColoredStars @ RedColoredStars:
    they make brown music. lol
    +1
  • K3Nv2 @ K3Nv2:
    Brown note
  • ZeroT21 @ ZeroT21:
    for keyboards, headphones or controllers ,it's a must have
  • K3Nv2 @ K3Nv2:
    Don't know why mice won't get with detachable type c
  • ZeroT21 @ ZeroT21:
    most battery operated mice don't even work anymore if the internal battery dies
  • RedColoredStars @ RedColoredStars:
    the L hdmi adapters work great on my tv and receiver. so much less stress on the ports using them than regular cables. in that instance anyway.
  • K3Nv2 @ K3Nv2:
    A bigger battery could defeat the need for weighted magnets tbf
  • ZeroT21 @ ZeroT21:
    Nowadays pc mice come as light as can be, liked mine with some heft
  • K3Nv2 @ K3Nv2:
    You like holding girth
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I also listen to Beck, some of their songs are fine. Only found out about them through Windows Me; you know, that one operating system nobody ever likes?
  • RedColoredStars @ RedColoredStars:
    i dont know why tv manufactures put the hdmi ports in dumb locations so the cables have to stick out, and then down, putting strain on the ports. Instead of having the ports along the bottom edge of the tv facing downwards.
  • ZeroT21 @ ZeroT21:
    windows me was mostly on laptops if i remembered correctly
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I hate that too where you have to use an HDMI extension for an Amazon Fire Stick.
  • RedColoredStars @ RedColoredStars:
    I had a desktop with ME on it.
  • SylverReZ @ SylverReZ:
    @ZeroT21, And also cheap-ass desktop PCs like eMachines.
  • RedColoredStars @ RedColoredStars:
    Worst MS OS in history. Period.
  • K3Nv2 @ K3Nv2:
    My entertainment centers blocking all my io gotta fix that eventually
  • ZeroT21 @ ZeroT21:
    I had used win 98 SE till XP arrived
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
    SylverReZ @ SylverReZ: Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games...