NX-Shell - Multipurpose File Manager for Nintendo Switch

Hello everyone, the new release with the much requested USB support is finally here! (Couldn't have done it without @DarkMatterCore's usb library) It's worth mentioning since it is such a big update (backend changes and FS refactor) there *may* be some issues, but the only way I can find and fix those is through you guys! However rest assured, I did run a lot of tests myself to make sure it is functioning as expected. If I waited a month, it would've been exactly 2 years since the last release 🥺.


icon.jpg

Change-log:

  • FS:
    • Added support for browsing USB devices.
    • Switched back to libc to handle FS operations.
    • Brought back support for browsing other devices such as safe, user and system.
  • GUI:
    • Update to imGui v1.88.
    • Switch to imGui's new keyEvent API.
    • The two views (File Browser and Settings) can now be navigated as tabs.
    • Switched from list view to a table view using imGui's table API.
    • Sorting is no longer applied from settings, it can be done directly by clicking on the table column headers.
    • A new selector has been added to allow the user to switch to different devices such as safe, user, USB etc.
    • Settings are no longer categorized by imGui's tree system.
    • No longer uses SDL2 as a backend, but instead uses opengl v3 directly (along with egl).
  • Fixes:
    • Properly delete config file if the config file version is outdated.
    • Properly free textures after exiting application.
    • Fixed scrolling via the right joystick after zooming into an image.
    • Lots of code clean up and under the hood changes that are too many to list here.

f43g1ya.jpg


3dU0ciU.jpg


2022080419235500-a282ce99633b844e0497db963451d670-jpg.321175

Download: https://github.com/joel16/NX-Shell/releases
 
Last edited by Joel16,

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,276
Country
United States
That’s exactly what it is. I made a folder and made a folder inside of that one for cheats and when i look for it, the folder isn’t there anymore. I just deleted the config.json
So does it still crash? Next release should come soon, and it'll bring some dev options that logs basically every FS functionality. This way it'll be easier to diagnose future FS related issues.
 

W0NDERwaffle3

Well-Known Member
Newcomer
Joined
Aug 12, 2020
Messages
50
Trophies
0
Age
22
Location
Somewhere
Website
Youtube.com
XP
272
Country
United States
So does it still crash? Next release should come soon, and it'll bring some dev options that logs basically every FS functionality. This way it'll be easier to diagnose future FS related issues.
No it definitely fixed the crashing issue, it had crashed while I was making folders and it kept trying to open non existent folders.
 
  • Like
Reactions: Joel16
Release v3.2.0

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,276
Country
United States
NX-Shell (Next) v3.2.0 has been released!

Please note: This is a minor release mostly intended to fix some issues with the previous version and introduce a few new features. You'll notice that it also includes a simple implementation of a text reader/viewer for reading text files which basically should eventually evolve into to a text editor in a future release. Initially I did not want to introduce this feature just yet, but the main reason that drove me to do so is to view the new debug logs that are also introduced in this release.


Change-log:

  • Added support for extracting .ZIP archives.
  • Fixed crashes when trying to exit the application after opening an image.
  • Now uses Use libnsbmp to decode BMP files. (This fixes issues loading certain BMP files).
  • Disabled window padding when displaying images so that the full screen images (1280x720) aren't bound to a scroll bar.
  • Added a popup for viewing image properties such as filename, width and height. (Use the 'X' button to open this popup after opening an image).
  • Added an option under settings to toggle filename display when viewing images.
  • Added an option under settings to toggle logs. (Any failed FS functions will be logged if this option is enabled. Useful for debugging purposes). A restart of the application is required if this is enabled/disabled.
  • Initial implementation of a text reader for reading logs/configs (eventually to evolve into to an editor).
  • Many other under the hood changes/cleanups and consistency changes.

feHQMIJ.jpg



tJiNmwa.jpg

Download
 

Muxi

Well-Known Member
Member
Joined
Jun 1, 2016
Messages
605
Trophies
0
Age
52
XP
2,114
Country
Germany
@Joel16 Thanks for adding ZIP archive support. I am looking forward to the upcoming editor function. I have a suggestion for improvement regarding faster navigation in the current version, as it was the case in the old version of NX-Shell. I mean the navigation from the beginning to the end of the list via D-Pad left and right.

Edit:
I have tested NX-Shell on both AMS and SX OS. I noticed that the new NX-Shell version under SX OS does not support the rename function anymore.

Furthermore, the copy function seems to loop under certain conditions under SX OS and AMS, because the selected data is copied in an endless repetition. This happens whenever a folder containing further subfolders with data is to be selected for copying and copied into itself. The debug log outputs failed: 0xd401 after I aborted the loop process with the Home button.

Edit2:
Under AMS, opening folders with system software update files leads to a fatal crash. In my opinion, the problem is either the amount of data in the folder or the length of the file names. Extracting zipped FW updates, however, works without problems.

Edit3:
I also test the behavior regarding a fatal crash again using Retroarch, which is known to contain a lot of data in some folders. For this purpose I packed the release from 7z to ZIP to check if the unpacking of thousands of files works properly. I will report...

I think I have found the cause. It is due to the number of files contained in the folder. I tried to open the folder retroarch/assets/xmb/systematic/png/ (which contains about 900 files) and a fatal crash occurred immediately. The debug log outputs failed: 0x202

The problem with the fatal crash when opening a folder with a high number of files obviously only exists when NX-Shell is running in applet mode. In high memory mode / Title Override this problem does not exist. It would be desirable if this could be done without Title Override, as it was possible under the old NX Shell in applet mode.
 
Last edited by Muxi,

Fgamer

Well-Known Member
Member
Joined
May 26, 2012
Messages
124
Trophies
1
XP
1,382
Country
Excellent update!

I would second the request for some navigation improvements including using d-pad left and right to jump through the list x number of files at a time and the ability to move instantly between image (and other same file types) files with d-pad left/right, rather than needing to exit the image and open the next one from the file browser one by one.
 
  • Like
Reactions: cucholix and Joel16

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,276
Country
United States
@Joel16 Thanks for adding ZIP archive support. I am looking forward to the upcoming editor function. I have a suggestion for improvement regarding faster navigation in the current version, as it was the case in the old version of NX-Shell. I mean the navigation from the beginning to the end of the list via D-Pad left and right.

Edit:
I have tested NX-Shell on both AMS and SX OS. I noticed that the new NX-Shell version under SX OS does not support the rename function anymore.

Furthermore, the copy function seems to loop under certain conditions under SX OS and AMS, because the selected data is copied in an endless repetition. This happens whenever a folder containing further subfolders with data is to be selected for copying and copied into itself. The debug log outputs failed: 0xd401 after I aborted the loop process with the Home button.

Edit2:
Under AMS, opening folders with system software update files leads to a fatal crash. In my opinion, the problem is either the amount of data in the folder or the length of the file names. Extracting zipped FW updates, however, works without problems.

Edit3:
I also test the behavior regarding a fatal crash again using Retroarch, which is known to contain a lot of data in some folders. For this purpose I packed the release from 7z to ZIP to check if the unpacking of thousands of files works properly. I will report...

I think I have found the cause. It is due to the number of files contained in the folder. I tried to open the folder retroarch/assets/xmb/systematic/png/ (which contains about 900 files) and a fatal crash occurred immediately. The debug log outputs failed: 0x202

The problem with the fatal crash when opening a folder with a high number of files obviously only exists when NX-Shell is running in applet mode. In high memory mode / Title Override this problem does not exist. It would be desirable if this could be done without Title Override, as it was possible under the old NX Shell in applet mode.

Sorry but I cannot help with SX OS issues. Also applet mode is deprecated so I cannot do anything about that. The recommended way to launch homebrew is to use title override.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,271
Country
Chile
It’s possible have the image centered?
96799F34-2862-43CE-9B14-CD3D5F50E0B1.jpeg
Love the new gui :)

I would second the request for some navigation improvements including using d-pad left and right to jump through the list x number of files at a time and the ability to move instantly between image (and other same file types) files with d-pad left/right, rather than needing to exit the image and open the next one from the file browser one by one.
I'd third the request, also when you reach the last file start from the beggining, or when you are on top and press up you jump to the last file.
 
Last edited by cucholix,
  • Like
Reactions: Joel16

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,271
Country
Chile
@Joel16 enabled logs from developer options, created a folder it fails to create but I have no output log.

The strange thing is that I CAN create a new folders randomly in folder/subfolders that have few elements, example if there’s only 1 or elements it creates the NewFolder just fine.

Edit: creating folders on root randomly works.
 
Last edited by cucholix,

ertaboy356b

Well-Known Member
Member
Joined
Feb 16, 2010
Messages
662
Trophies
1
XP
1,920
Country
I wish there was a USB support somewhere so I can just copy files from USB or USBHDD to the SD Card, vice versa. Great for backing up the SD card without using a computer.
 

W0rmy

Active Member
Newcomer
Joined
Sep 24, 2020
Messages
30
Trophies
0
Age
54
XP
167
Country
Ireland
I wish there was a USB support somewhere so I can just copy files from USB or USBHDD to the SD Card, vice versa. Great for backing up the SD card without using a computer.

Seconded. It would save me having to connect up to a computer to do it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://gbatemp.net/profile-posts/163064/