Homebrew RELEASE NxFileViewer

MysterTee

Well-Known Member
OP
Newcomer
Joined
May 15, 2019
Messages
48
Trophies
0
Age
44
XP
804
Country
France
Welcome to the official NxFileViewer thread

NxFileViewer allows you explore the content of your Nintendo Switch files.

Features
  • Based on LibHac
  • Supported files: NSP, NSZ, XCI, XCZ
  • Supports Super NSP/XCI
  • Browse files content structure
  • Export files
  • Save or copy title images
  • Specify your own keys location
  • Searches keys in commonly used locations
  • Automatically download keys from an URL defined in the settings
  • Supports drag and drop
  • Checks real files type (XCI or NSP)
  • Detailed log
  • User-friendly and responsive interface
  • Single executable file
  • Do not write anything outside of the program directory
  • Verify hash and signature
  • Displays missing keys
  • Opens title URL
  • Multiple languages (actually English and French, PR me for more ;))
  • Advanced files renaming
Download

https://github.com/Myster-Tee/NxFileViewer/releases

Screenshots

Overview.png


Content.png


Rename.png


Settings.png

Changelog
v2.7.0

  • Based on LibHac v0.19.0
  • Do not anymore try to open sparse sections to avoid reporting unexpected errors
  • Notification displayed when no prod.keys is found
  • NcaSectionType property added to Section in structure tree
  • Updated to .NET 7
v2.6.1
  • Fix duplicated files display (in structure view) for file system sections (issue #5)
  • Fix wrong error reporting for titles with Brazilian/Portuguese icons
v2.6.0
  • Based on latest LibHac release (v0.16.0)
  • Possibility to rename files with custom options
  • Fix «Offset must be a multiple of 16» when opening update files
  • Settings can be reset to default
  • Many small improvements
v2.5.0
  • Based on latest LibHac release (v0.15.0)
  • Possibility to open a Web page for the loaded title (based on the Title ID)
  • Possibility to save decrypted NCAs
  • NCA hash strategy changed, now based on CNMT metadata file
  • Property «IsNCA0» added for NCA
  • French language supported (language can be changed in the settings)
  • Some small issues fixed
  • Based on .NET 6
v2.4.0
  • Properties of ticket files (*.tik) are displayed
  • Title ID keys from the ticket files are now loaded and used for opening NCA contents
v2.3.0
  • Keys files being used are displayed in the settings
  • New command added for reload keys on demand
  • «title.keys» can also be downloaded from an URL defined in the settings
  • Can edit keys from the settings
  • New setting added for reloading keys each time a file is opened
  • Keys download URL can be immediately tried
  • Missing title keys are displayed via an icon in the status bar
  • Can open location of opened file via context menu of «Overview» tab
  • NCA (or NCZ) Sections are displayed even when content can't be opened
  • FIX: NCA hash is not anymore considered valid when NCA content cannot be opened
  • Hash status moved to «Section» items instead of «NCA» items
  • Tooltip added for displaying NCA's hash or NCA's signature error
  • Text of help tooltips can be copied
v2.2.0
  • Hash of NCAs can now be verified
  • Header signature of NCAs can now be verified
  • Long time actions are now threaded (a status bar and a progress bar have been added )
  • Possibility to save a Directory (was not finished in previous version)
  • Possibility to save a NCA Section
  • Possibility to save a PartitionFileEntry
  • Program can now open supported files at startup when program is associated with supported files
  • Errors are marked on the corresponding structure tree item when applicable
  • Item's errors can be opened in a specific window
  • Displayed item's properties order improved
  • Size of PartitionFileEntry displayed
  • Lazy loading option removed (as file opening is now threaded, it is better to always reveal possible errors)
  • Fix initial directory when browsing for a file to open
  • Lots of small UI changes and improvements
v2.1.0
  • New setting added to select the structure tree loading mode
  • Fix a display bug in the settings when cancel button was clicked
  • Enum settings are now saved as string instead of integer (better readbility)
  • Change version format in overview tab (displayed as 65536, 131072, etc instead of 0.1.0.0, 0.2.0.0)
  • Opened file logged
  • Log level can be selected in the settings
  • Keys download URL can be defined in the settings
  • The ModuleID (also known as Build ID) is displayed in the properties when the «main» program file is selected (requested by BigOnYa)
  • Some extra properties added to display
  • Missing NCAs of type «DeltaFragment» are logged as warning instead of error (maybe normal ?)
v2.0.0
  • Now based on LibHac (hactool not anymore required)
  • In addition to NSP, now supports NSZ, XCI and XCZ
  • Supports Super NSP/XCI
  • Full file content structure browsing
  • Export contained files
  • Save or copy title images
  • Specify your own keys location
  • Searches keys in commonly used locations
  • Automatically download keys from an URL defined in the settings
  • Supports drag and drop
  • Checks real files type (XCI or NSP)
  • Nearly totally redevelopped
  • Now based on .NET 5
  • Prepared for beeing translated in other languages
v1.0.0
  • Initial release
 
Last edited by MysterTee,

MASSI

New Member
Newbie
Joined
May 4, 2022
Messages
1
Trophies
0
Age
40
Location
ALGER
XP
26
Country
Algeria
thank you very muck :whip:

but i small problem with your software, i can't see the information of my file

thanks by advance for the help
Capture.JPG
 

veggav

Well-Known Member
Member
Joined
Nov 21, 2009
Messages
208
Trophies
1
XP
1,020
Country
Brazil
I'm having a very small problem that I would like to fix for consistency with all my other files.

NxFileViewer output a different version for updates and dlcs compared to other content found around.
Example:

MustacheMan Car 8 Deluxe [TitleID] [v786432].nsz is the most common filename I see.
NxFileViewer renames to MustacheMan Car 8 Deluxe [TitleID] [v12].nsz

Why is that? Is it possible to have the same renaming scheme?

EDIT: Nevermind, just have to change the pattern to {VerNum}
 
Last edited by veggav,
  • Like
Reactions: binkinator

ake7440

Member
Newcomer
Joined
May 26, 2023
Messages
8
Trophies
0
Age
42
XP
44
Country
Thailand
thank you very muck :whip:

but i small problem with your software, i can't see the information of my file

thanks by advance for the helpView attachment 308665
I also have the same problem. Could you fix it now?

Edit ******** I can fix it now **********

you just need to put the file prod.keys & title.keys into the same folder of NxFileViewer.

You just need to search these files from google. It's the same file that use for Emulators.
 
Last edited by ake7440,

DARKFiB3R

Member
Newcomer
Joined
Dec 5, 2009
Messages
18
Trophies
1
Location
London
XP
283
Country
United Kingdom
I love this. It even lists the Build ID. Awesomeness!
Where are Build IDs listed?

Edit:

v2.1.0 2021/01/30
The ModuleID (also known as Build ID) is displayed in the properties when the «main» program file is selected (requested by BigOnYa).

NxFileViewer > Content > blahblah.nsp > xxxxxxxxx.nca (Program) > Section 0 > Main > ModuleId:

The first 16 digits of ModuleId is the Build ID

----------------------------

Edit 2:

I'm confused again lol.

I have an .xci file that has a shit ton of xxxxxxxxx.nca (Program)

---------------------------

Edit 3:

I haven't been able to locate the Build ID displayed by Edizon in that .xci, but I have found a known build ID but but it's in a different location.

NxFileViewer > Content > blahblah.xci > Secure > xxxxxxxxxxxxxxxxxxxx.nca (Program) > Section 0 > main > ModuleId: FE1B230800D4933C617C691273CA597800000000000000000000000000000000

Can anyone help me understand this stuff? Thanks.
 
Last edited by DARKFiB3R,

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
944
Trophies
0
Location
Vancouver
XP
1,264
Country
Canada
There is a section in the app to put console.keys. What is this file and how do I get it? I've not seen it mentioned in any guides at all. Is it even necessary to use? The follow errors occur but the program too to work fine otherwise.

«console.keys» file used: [none]
Failed to match key device_key_4x
Failed to match key eticket_rsa_kek_source
Failed to match key eticket_rsa_kekek_source
Failed to match key save_mac_key
Failed to match key ssl_rsa_kek_source
Failed to match key ssl_rsa_kekek_source
Failed to match key ssl_rsa_key

Even if I should just ignore the erros, I'd still like to know what the file is and how to get it.
 

BigOnYa

Has A Very Big
Member
Joined
Jan 11, 2021
Messages
3,200
Trophies
1
Age
50
XP
7,557
Country
United States
There is a section in the app to put console.keys. What is this file and how do I get it? I've not seen it mentioned in any guides at all. Is it even necessary to use? The follow errors occur but the program too to work fine otherwise.

«console.keys» file used: [none]
Failed to match key device_key_4x
Failed to match key eticket_rsa_kek_source
Failed to match key eticket_rsa_kekek_source
Failed to match key save_mac_key
Failed to match key ssl_rsa_kek_source
Failed to match key ssl_rsa_kekek_source
Failed to match key ssl_rsa_key

Even if I should just ignore the erros, I'd still like to know what the file is and how to get it.
Every Switch console has it's own unique set of keys = (keys.txt/prod.keys). You can either 1- Find and download somebody elses Keys from the internet and use, or 2 - Use a tool called PickLock (formally called LockPick) and get your own personal Keys from your switch. https://gbatemp.net/threads/lockpick_rcm-payload-official-thread.532916/post-10266016
Post automatically merged:

Where are Build IDs listed?

Edit:



NxFileViewer > Content > blahblah.nsp > xxxxxxxxx.nca (Program) > Section 0 > Main > ModuleId:

The first 16 digits of ModuleId is the Build ID

----------------------------

Edit 2:

I'm confused again lol.

I have an .xci file that has a shit ton of xxxxxxxxx.nca (Program)

---------------------------

Edit 3:

I haven't been able to locate the Build ID displayed by Edizon in that .xci, but I have found a known build ID but but it's in a different location.

NxFileViewer > Content > blahblah.xci > Secure > xxxxxxxxxxxxxxxxxxxx.nca (Program) > Section 0 > main > ModuleId: FE1B230800D4933C617C691273CA597800000000000000000000000000000000

Can anyone help me understand this stuff? Thanks.
The first 16 digits of this number/letters is your Build ID. It is FE1B230800D4933C
 
Last edited by BigOnYa,

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
944
Trophies
0
Location
Vancouver
XP
1,264
Country
Canada
Every Switch console has it's own unique set of keys = (keys.txt/prod.keys). You can either 1- Find and download somebody elses Keys from the internet and use, or 2 - Use a tool called PickLock (formally called LockPick) and get your own personal Keys from your switch. https://gbatemp.net/threads/lockpick_rcm-payload-official-thread.532916/post-10266016

I already tried that and also this one before posting:
https://vps.suchmeme.nl/git/mudkip/Lockpick_RCM/releases

They both only put out a dev.keys, prod.keys, and title.keys file. Trying to use any of those in NxFileViewer's "console.keys" section just results in errors. So I will ask again, how is the correct file to use with this app obtained? Even if it doesn't matter whatsoever. It's more of a learning thing for me. I just like to know. :)
 
Last edited by RedColoredStars,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro