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
 

iriez

Well-Known Member
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
49
Website
www.xbins.org
XP
1,867
Country
United States
This is awesome! Cannot wait for all the mods to come out from this and other toolsets!

Can I add a very small suggestion? Reading your github there isn't a general description (other than "NX Game Info" at the top where normally the description goes...), but in this thread you've already done a great job providing one. Could you simply copy this to your github to add a as a general infopanel about what NX Game Info is?

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
 
  • Like
Reactions: SaffronXL and Garou

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
This is awesome! Cannot wait for all the mods to come out from this and other toolsets!

Can I add a very small suggestion? Reading your github there isn't a general description (other than "NX Game Info" at the top where normally the description goes...), but in this thread you've already done a great job providing one. Could you simply copy this to your github to add a as a general infopanel about what NX Game Info is?

good point. thanks for pointing out

This is Amazing!!! Thank's for this @Garou!!!!

thanks man
I'm still planning to merge this to Switch Backup Manager though, but as I said before, the code is quite big now. need to find the mood and start with small steps replacing those hactool calls to LibHac ^_^
 

GibaBR

Well-Known Member
Newcomer
Joined
Jul 2, 2018
Messages
89
Trophies
0
Age
114
XP
475
Country
Brazil
thanks man
I'm still planning to merge this to Switch Backup Manager though, but as I said before, the code is quite big now. need to find the mood and start with small steps replacing those hactool calls to LibHac ^_^

I think you did the right thing. SBM's code is a little messy :P and a refresh is very welcome.
 
  • Like
Reactions: lordelan

ReikaRin

Well-Known Member
Member
Joined
Mar 21, 2018
Messages
113
Trophies
0
XP
538
Country
Indonesia
trying to open directory, working normal when opening update and dlc directory
 

Attachments

  • aw.PNG
    aw.PNG
    7.2 KB · Views: 587

Beerus

Gbatemp's God Of Destruction
Member
Joined
May 3, 2017
Messages
1,350
Trophies
0
Location
Universe 7
XP
2,322
Country
Japan
woah this reminds me of the extention on windows where it would show the picture of the cia file instead of a blank file image nice work!
 

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
here the details
I think I need to start to implement proper logging
currently it's very minimal and hard to pinpoint the issue, but I will release a fix that ignore files causing the crash tomorrow. that way we can find out what files is having the issue so I can test it out myself
 

SaffronXL

The Grand Galactic Inquisitor
Member
Joined
Nov 17, 2016
Messages
340
Trophies
0
XP
1,016
Country
United States
Wow, this app is working great for me, thank you!
I used Lockpick to creat prod.keys, copied sd_seed from it into console.keys, and saved the current NutDB as title.keys. If I want to read an SD from another Switch, the only file I need to edit is console.keys, right?
 

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Wow, this app is working great for me, thank you!
I used Lockpick to creat prod.keys, copied sd_seed from it into console.keys, and saved the current NutDB as title.keys. If I want to read an SD from another Switch, the only file I need to edit is console.keys, right?
Yes
 
  • Like
Reactions: SaffronXL

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,420
Trophies
2
XP
4,368
Country
Canada
unfortunately no :sleep:
the UI part is using native platform, so to port it to linux means need to code the UI part from scratch
Sad! :sad: But I got a dual boot Windows/Linux, so I'll just reboot to windows to use it. Inconvenient, but I can live with it. (maybe I'll try Wine, though).
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,211
Country
United States
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


View attachment 154609

View attachment 154608

View attachment 154611

View attachment 154610


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

View attachment 154612

You are very kind. Thanks for macOS. Awesome job!
 

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
I tried to run v0.3.1 (didn't try previous version), but it directly crash with "a problem occurred. NX Game info ceased to function" windows message.
It doesn't look like a common .Net framework crash, with log. just a windows notice that the program stopped working, with no error or log info.
I'm on Win7 x64, .Net 4.7.1
I put my prod.keys (from 4.1.0) on the same folder than the program.

I'll try lockpick to get keys instead of kezplez.

edit:
Found the problem : title.keys must exist, even if empty !
it's marked as optional on the readme, but not as required even if empty.
other optional keys files are probably required even if empty too.
 
Last edited by Cyan,
  • Like
Reactions: Garou

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
edit:
Found the problem : title.keys must exist, even if empty !
it's marked as optional on the readme, but not as required even if empty.
other optional keys files are probably required even if empty too.

thanks a lot for your finding
I'm currently working on the logging to make it easier to debug if there's any error like this
 
  • Like
Reactions: Cyan

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1