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
I just realized that you released another build a few days ago with the changes allowing to save the column filters. Just wanted to say Thank You for implementing those requests.
thumb.gif
also released it as official build ;) https://github.com/garoxas/NX_Game_Info/releases/tag/v0.5+hotfix.1
including fixes for macOS where it'll crash if .NET core is not installed

How dare the OP/dev implement requests and hotfixes!!!!!! :mthr:
lol
maybe he expected me to update the thread whenever I release a new build like any normal devs, but unfortunately I'm too lazy for that :rofl2:
 

OrGoN3

Well-Known Member
Member
Joined
Apr 23, 2007
Messages
3,241
Trophies
1
XP
3,257
Country
United States
also released it as official build ;) https://github.com/garoxas/NX_Game_Info/releases/tag/v0.5+hotfix.1
including fixes for macOS where it'll crash if .NET core is not installed


lol
maybe he expected me to update the thread whenever I release a new build like any normal devs, but unfortunately I'm too lazy for that :rofl2:
Pfth. He expects you to update a web site AND a thread? People just ask too much from devs these days. In any case, thanks for the nifty program. Much better than backup manager, which gives me false negatives on CDN content.
 
  • Like
Reactions: Garou

FanboyKilla

Well-Known Member
Member
Joined
Mar 9, 2019
Messages
289
Trophies
0
XP
1,105
Country
United States
also released it as official build ;) https://github.com/garoxas/NX_Game_Info/releases/tag/v0.5+hotfix.1
including fixes for macOS where it'll crash if .NET core is not installed


lol
maybe he expected me to update the thread whenever I release a new build like any normal devs, but unfortunately I'm too lazy for that :rofl2:

Well I'm glad you have your laziness focused on not updating the thread instead of not updating the app. By all means, carry on.
cool.gif
 
  • Like
Reactions: Garou and OrGoN3

HawaiianPunch

New Member
Newbie
Joined
Jul 15, 2019
Messages
4
Trophies
0
XP
54
Country
United States
I am running on Windows 10, all updates installed. And I am using v0.5.1.0 of NX Game Info.

On some NSP files I am getting an error: Not an NCA3 file
This is the info from the debug.log file (I am not really sure what I should hide or not include so I took a guess and changed some values):
Application starts at Friday, July 12, 2019 10:57:54 AM

Reading keys
- prod.keys (exists)
- title.keys (exists)
- console.keys (not exists)
Found 21 title keys
Reading version list
Found 1642 titles, last modified at 1559603700
Initialization success

Open File
1 files selected

Processing file SOMEFILENAME.nsp
Processing NSP SOMEFILENAME.nsp
Processing TIK
Processing CNMT NCA
Found Biggest NCA HIDDEN.nca
Found Control NCA HIDDEN.nca
Processing CNMT XML
Found Biggest NCA HIDDEN.nca
Found Control NCA HIDDEN.nca
---------------------
Program locks up here and has a runtime error dialog box with the message: Not an NCA3 file. You can click Continue or Quit. Clicking Continue just makes the program sit there doing nothing and you have to kill the process. Clicking Quit closes the program.

It does load into XCI Explorer without any errors if that helps at all.

Thanks.
 
Last edited by HawaiianPunch,

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Processing file SOMEFILENAME.nsp
Processing NSP SOMEFILENAME.nsp
Processing TIK
Processing CNMT NCA
Found Biggest NCA HIDDEN.nca
Found Control NCA HIDDEN.nca
Processing CNMT XML
Found Biggest NCA HIDDEN.nca
Found Control NCA HIDDEN.nca
thanks for your report
can you please not redact this part as I need to know what game is it and on which file it's having issue. don't worry it's not a sensitive data so you should have no worry exposing it. thank you
 

HawaiianPunch

New Member
Newbie
Joined
Jul 15, 2019
Messages
4
Trophies
0
XP
54
Country
United States
Sure. Here it is:
Processing file World Soccer Pinball [01001E300B038800][v65536].nsp
Processing NSP World Soccer Pinball [01001E300B038800][v65536].nsp
Processing TIK
Processing CNMT NCA
Found Biggest NCA aa52e9b5f4623ae345e3b11c2ed9040e.nca
Found Control NCA 66d89a874cbe1de1358f4706642fd87c.nca
Processing CNMT XML
Found Biggest NCA aa52e9b5f4623ae345e3b11c2ed9040e.nca
Found Control NCA 66d89a874cbe1de1358f4706642fd87c.nca

Let me know if you need anything else.
 

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Sure. Here it is:
Processing file World Soccer Pinball [01001E300B038800][v65536].nsp
Processing NSP World Soccer Pinball [01001E300B038800][v65536].nsp
Processing TIK
Processing CNMT NCA
Found Biggest NCA aa52e9b5f4623ae345e3b11c2ed9040e.nca
Found Control NCA 66d89a874cbe1de1358f4706642fd87c.nca
Processing CNMT XML
Found Biggest NCA aa52e9b5f4623ae345e3b11c2ed9040e.nca
Found Control NCA 66d89a874cbe1de1358f4706642fd87c.nca

Let me know if you need anything else.
I have no issue with that game update. maybe corrupted file?
you can also try using the latest nightly build in https://ci.appveyor.com/project/garoxas/nx-game-info/build/artifacts but I doubt it'll change anything

you can compare your file size and hash with mine if you know how to do that

World Soccer Pinball [01001E300B038800][v65536].nsp
file size: 48719119
sha1:41b3c77d288324900bd86be27dff8648d6512743
 

HawaiianPunch

New Member
Newbie
Joined
Jul 15, 2019
Messages
4
Trophies
0
XP
54
Country
United States
Mine is definitely different file size and the nightly build did not make a difference as you stated. I have 3 others that also give the same error but they could be corrupt, also. I will try downloading again and see what happens.

Thanks!
 
  • Like
Reactions: Garou

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Mine is definitely different file size and the nightly build did not make a difference as you stated. I have 3 others that also give the same error but they could be corrupt, also. I will try downloading again and see what happens.

Thanks!
I just pushed some fixes in https://ci.appveyor.com/project/garoxas/nx-game-info/build/artifacts
this won't make those files to appear in the app, but at least it won't crash now. and if you open multiple files with corrupted ones in it, only corrupted files will be skipped and not abort the whole process
 
  • Like
Reactions: HawaiianPunch

HawaiianPunch

New Member
Newbie
Joined
Jul 15, 2019
Messages
4
Trophies
0
XP
54
Country
United States
I was about to post requesting some sort of error handling. That is awesome. Thanks!
I would only suggest a feature of somehow still putting it in the list but marking it as corrupt or something. Just so if it is one of many files it will be easy to spot.
 
  • Like
Reactions: Garou

popolon

New Member
Newbie
Joined
Jun 28, 2006
Messages
4
Trophies
0
XP
104
Country
France
corrupted NCA crash here with rocket league 1.2.1 update :
Rocket League[01005EE0036EC800][US][v1376256].nsp
file size : 6139829346
sha1 : 578563CF234DED076BE853B72553FAC1F0677B0A
is it related to proper PFS0 header issue fixed in Switch Backup Manager 1.2.1 ?
 
Last edited by popolon,

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
corrupted NCA crash here with rocket league 1.2.1 update :
Rocket League[01005EE0036EC800][US][v1376256].nsp
file size : 6139829346
sha1 : 578563CF234DED076BE853B72553FAC1F0677B0A
is it related to proper PFS0 header issue fixed in Switch Backup Manager 1.2.1 ?
not sure, but I suspect that won't be the case
can you post the log (enable debug log and try again), I don't have the update file. thanks
 

popolon

New Member
Newbie
Joined
Jun 28, 2006
Messages
4
Trophies
0
XP
104
Country
France
Processing file R:\hbg\NSP Dumps\updates\Rocket League[01005EE0036EC800][US][v1376256].nsp
Processing NSP R:\hbg\NSP Dumps\updates\Rocket League[01005EE0036EC800][US][v1376256].nsp
Processing CNMT NCA
Found Biggest NCA 0bace569edf29b4c5b087c3e28e26eda.nca
Found Control NCA c1d7fd18429ca512e21dc3da55e181f4.nca
Processing TIK
Processing Biggest NCA
Processing NPDM
Permissions Bitmask 0x4000000000000000
à NX_Game_Info.Process.processFile(String filename)

File R:\hbg\NSP Dumps\updates\Rocket League[01005EE0036EC800][US][v1376256].nsp has failed to process
 
  • Like
Reactions: Garou

Garou

Well-Known Member
OP
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
Processing file R:\hbg\NSP Dumps\updates\Rocket League[01005EE0036EC800][US][v1376256].nsp
Processing NSP R:\hbg\NSP Dumps\updates\Rocket League[01005EE0036EC800][US][v1376256].nsp
Processing CNMT NCA
Found Biggest NCA 0bace569edf29b4c5b087c3e28e26eda.nca
Found Control NCA c1d7fd18429ca512e21dc3da55e181f4.nca
Processing TIK
Processing Biggest NCA
Processing NPDM
Permissions Bitmask 0x4000000000000000
à NX_Game_Info.Process.processFile(String filename)

File R:\hbg\NSP Dumps\updates\Rocket League[01005EE0036EC800][US][v1376256].nsp has failed to process
that's odd. unless the nsp missing some nca files, the log should not stop there
thanks for reporting but it seems I can't fix it right now until I can reproduce the issue. if you happen to have other files with the same issue, please let me now
 

popolon

New Member
Newbie
Joined
Jun 28, 2006
Messages
4
Trophies
0
XP
104
Country
France
nevermind Garou, that was a bad shrunked file. and yes i was using the binary from artifacts. Keep up the good work !
 

Garou

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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: :rofl2: :rofl2: