Giter VIP home page Giter VIP logo

nx-shell's Introduction

NX-Shell Github latest downloads

NX Shell is a multi-purpose file manager for the Nintendo Switch that aims towards handling various file types while keeping the basic necessities of a standard file manager. Initially, the project was inspired by LineageOS/CyanogenMod's file manager for android, and even had a similar design approach to that of the famous Android file manager. However, it has been re-written from scratch, now using more up to date tools and libraries.

NX-Shell (Next) Screenshot

Features:

  • Delete files and folders.
  • Copy/Move files and folders.
  • Rename files and folders (standard switch keyboard).
  • Create files and folders (standard switch keyboard).
  • Displays file properties such as size, time created, modified and accessed.
  • Sorting options (Sort by name, date, size).
  • Display various images formats (BMP, GIF, JPG/JPEG, PGM, PPM, PNG, PSD, TGA and WEBP).
  • Browse devices such as safe, user, system and USB.

Credits:

  • Preetisketch for the banner.
  • Dear ImGui developers and contributors for the GUI.
  • devkitPro maintainers and contributors for libnx, devkitA64, and many other packages used by this project.
  • DarkMatterCore for libusbhsfs.

nx-shell's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nx-shell's Issues

Dual Page Manga

Feature Request Not an issue

I was wondering if it would be possible for you to add double page viewing for manga files since there is so much whitespace when the device is in landscape mode

random crashes

Hey guys.
Yesterday I restored and Reinstalled my Switch.
I'm running FW 5.1.0 with SanDisk Extreme 128GB, on which i installed the latest SD Setup and SXOS 2.6.1 beta. I use the emuNAND and updated the CFW to 7.0.1.
When i started installiung stuff and usiong NX-Shell (latest update) it ctrashed randomly.
sometimes after deleting data and folders, sometimes after moving stuff, sometimes afetr moving through directories and one time directly when starting the app in hbmenu. Causing the need to reboot the switch.
any hints or advice?
Theanks

[Ebook Reader] [BUG] Landscape and next_page

When i switch orientation in landscape mode and i switch page (next or prev), the page move off center.

I must recenter the page with KEY_LSTICK to re center.

2018081117372600-db1426d1dfd034027cecde9c2dd914b8

It only happens in landscape mode.

Retroarch crashes after quit nx-shell

Don't know it's nx-shell's problem or retroarch's, so I report on both side.

atmosphere 0.9.1, fat32
Tried on both sys 8.1.0 and emummc 8.0.1

retroarch keeps crashing when trying to quit retroarch

  1. launch homebrew through album or game (does not matter)
  2. launch nx-shell and quit with plus button
  3. launch retroarch and quit with Quit Retroarch menu
  4. crash

Here's my atmosphere crash report logs.
logs.zip

Unicode filename issue

I've had some issues with removing files from the sdcard that contain unicode or special characters on the exFAT partition. It goes through the motions of removing the file but they remain there.

You can reproduce by placing a file containing a + or é on the sdcard and then try to delete the file using NX-Shell.

Operation bug in version 2.1.0

It seems that under version 2.1.0 different operations like delete or move can not always be done correctly. I tested this under FW 9.0.0. Version 2.0.0, however, runs without problems under FW 9.0.0.
This screen shows an error message when deleting a folder
2019093011260000-DB1426D1DFD034027CECDE9C2DD914B8

Also, data under version 2.1.0 can not be moved anymore.
Tested unter Atmospére 0.9.4 partition emuMMC & SX OS 2.9 beta filebased emuNand, both on FW 9.0.0

Impossible to compile on linux because of mupdf

# make
make[1]: Entering directory '/media/ExtraDocuments/SwitchHacks/NX-Shell/mupdf'
    LINK build/release/scripts/hexdump.exe
    GEN generated/resources/fonts/urw/Dingbats.cff.c
/bin/sh: build/release/scripts/hexdump.exe: cannot execute binary file: Exec format error
make[1]: *** [Makefile:144: generated/resources/fonts/urw/Dingbats.cff.c] Error 126
make[1]: Leaving directory '/media/ExtraDocuments/SwitchHacks/NX-Shell/mupdf'
make: *** [Makefile:151: generate_fonts] Error 2

maybe make it be able to compile without mupdf (because i don't care about the e-book reader personally) and i would like to build it locally

compile error

Hi,
I tryed to compile ReiNXToolkit but I have an error see this issue Reisyukaku/ReiNXToolkit#4

After that I installed 3 time Devkitpro but always the same error. But now I have this error when I tried to compile your code

C:/Users/BMK/switch/NX-Shell/source/menus/menu_book_reader/BookReader.cpp:6:10: fatal error: libconfig.h: No such file or directory
#include <libconfig.h>
^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: BookReader.o] Error 1
make: *** [Makefile:159: build] Error 2

I looking for this file on the devkit or your code but no found it. you have a suggestion ??

PDF Reader Black Screens

Reading Ms. Marvel, at least every issue, the pages start to just go plain back, restarting app fixes.

PDF Black screens, requires full NX-Shell restart

EPUB only requires backing in and out of the file, though they inconsistently load, most of them just have white pages with none of the actual content.

Zoon In Percentage

Omg I couldn't believe when I found out that you could read books/magazines on the NSW! Great job!

I just noticed that you can't zoon in more than 209%, and I have some old game magazines that have pretty small fonts. So, is it possible to increse this zoom in percentage, would be great!

Thanks!

The UI should not scroll when selecting a file or checkbox

This behavior is disorienting, especially when multiple files are involved - files that had been selected earlier are then moved off-screen, introducing an element of doubt in the user's mind that can potentially lead to mental instability and a desire to Purge.

Time shown in UTC, not system time

Time shown by home menu: 4:19 AM

Time shown by NX Shell: 9:19 AM

How possible is it to read the system time zone, or read the local time specifically?

[Suggestion] exit button

hi, it would be useful to add exit button in the options, because exiting by clicking home button can corrupt data on sd card with exfat fs

crashes with images, pdf

Hi ! thanks for you guys work !

  • been trying to read some manga chapters, but get a crash after reading 3 images.
  • been trying to view the images in portrait mode but Y just does a mirror symmetry.
  • converted my chapter as one pdf file, pressed Y, rotation to portrait works but it's not centered, get black at the bottom and the top is cut. (and then it just crashes like it did after 3 images)

NX-shell is ran from an HBL nsp (otherwise I get the same crashed but with atmosphere error log)

here are the files I'm talking about : https://www94.zippyshare.com/v/RwKmDq2G/file.html
(those were originally .webp, converted them to jpg.)

Also, [Feature Request] . would it be possible to add webp support ? thanks a lot :)

regarding Image viewing

Hi Joel,
A big fan of nxshell, I am happy to know you switch from the vita scene to the switch.
I've noticed something weird about the whole zooming proccess.:It appears to be less and less smoth as the zooming gets bigger. I'm assuming thatll get fixed "on the fly" when you will be using opengl
Hw accelration, but maybe its not related and you can check that out?

One more thing, when a user zooms a picture in , I think that he should be allowed to move the zoomed picture around to view different parts of it that he could not see had he not zoomed in the picture.
much like in vitashell where you can use the right analoge to zoom and the left to move .

I also think that the zoomed value should be reset to default everytime you advance for the next image to view on the directory. it just makes more sense imo.

I know that I will really enjoy those changed, as it will make reading comic books and manga so much better !

Thanks for the work!

Crashes on 9.0.0

I'm on Atmosphere-Kosmos with the latest version (Switch firmware 9.0.0), and I have NX-Shell with the latest version as well. When opening, I get a crash with a orange screen. When I use fusee-primary, it crashes without an orange screen (with the backlight still on). It happens at random times because I opened it once on Kosmos and it worked fine. Opened it again and got the said orange screen.

Selecitng multiple files with long file names crashes the whole console

When attempting to select multiple files for copying or deleting, if a file has a sufficiently long file name (around 80+ characters) when it is selected, the Switch will crash with an error or totally freeze requiring the power button to be held for 7 seconds.
Copying or deleting the files by themselves works just fine. It's only when they are multi selected that it crashes.

Only works for a single RCM session

Hopefully i can explain this fully.

I can only run NX-Shell once per RCM session, by that i mean, i can boot switch into RCM then firmware, i then run NXShell no problem. Start a game, plays fine, press home to go back to home screen and close the running game. press album and select nxshell and either a) it crashes with an error on screen or b) i just get a black screen.

Pressing home doesnt go back to the home screen and i have to turn it off.

Turning back on in RCM mode and booting to home screen then allows me to run nx shell again fine.

Blackscreen

I tested the last version and it doesn't work on SX OS 1.4 : blackscree :(

Archive bit failed on 2.11

Error message when pressing set archive bit on a selected folder.

FS_SetArchiveBit() failed!
Ret:0x202

Happens both on Vanilla Atmosphere 9.4 and Kosmos 14.2

7zip support

As per title is it possible to add support for 7zip.

Crash happened after delete the folder in "lastdir.txt"

  1. Enter NX-Shell
  2. Open one directory like "/tinfoil/nsp/Overcooked/"
  3. Exit NX-Shell and generate "lastdir.txt"
  4. Delete directory "/tinfoil/nsp/Overcooked/" by tftp or some other ways
  5. Enter NX-Shell again
    Then Atmosphere crash happened. Only restart and delete the file "lastdir.txt" can fix it.

crashes when trying to enable developer tools

Just like the title says NX-Shell crashes when I try to enable the developer tools. I tried it on 8.1.0 (0.9.2-AMS) in EmuNand and on 4.1.0 (0.9.2-AMS) SysNand.
Atmosphere error code: 2168-002 (0x4a8)
EDIT:
tested with NX-Shell version 1.20 and 2.00
I'd only need it to set the archive bit. Is there any way to do that without activating developer tools?

schermo nero con sx pro

salve, ho notato che tutte le versioni di nx-shell sulla mia switch con firmware 5.1.0 e sx pro 1.4 non si avvia, mi appare solo una schermata nera, e sono costretto a tenere premuto il tasto accensione per spegnerla.
cosa puo essere??
grazie

hi, I noticed that all versions of nx-shell on my switch with firmware 5.1.0 and sx pro 1.4 does not start, I only get a black screen, and I have to hold down the power button to turn it off.
what can it be??
thank you

file operation menu issue after choosing "More"

  1. mark one file and press '...' to open file operation menu, it pops action menu 1
  2. choose "More" to see action menu 2
  3. tap 'cancel' to exit action menu
  4. press '...' again to view action menu, now it always be menu 2, can't be menu 1
    Ver 2.00, I think it should be bug, it can be produced in my NS with Kosmos-v13.2.1 (8.01)

menu1
menu2

/switch folder

6.2 Atmopshere, using MacOS Mojave to transfer files.
NX-Shell can't open the /switch folder (neither can hbmenu), all folders can be opened without problem. Nothing happens when trying to delete the folder, I've also tried deleting the folder from my Mac but NX-Shell also can't create a new one after that. There's a 0B file called SWITCH, which I also can't delete. I'm currently running all .nro files from the root of my SD as the /switch folder isn't recognized. I've tried disabling the archive bit from a Windows VM, MacOS Terminal and with the Hekate archive bit remover, but nothing works. I also tried deleting the folder from Windows and creating a new one, which also doesn't work.

crashes with theme

i just made a new layout for the first time, everything works fine on it, all homebrew opens but nxshell 2.0 and 1.2(havent tested lower versions) both crash and the error says its my theme folder. tried deleting the theme and nxshell works. i just dont get what this homebrew has to do with my theme?

Infinite Recursive Folder Copy

If you attempt to copy some folder A into itself, the result will run infinitely and soft-lock the system. Not sure of the appropriate fix, perhaps a temporary directory to copy files to, and then move them to the final directory, or add an exception to ignore itself when copying. ¯\(ツ)

2.10 - Can't move/copy/delete or files.

Nothing happens. No error. Confirmation prompt pops, but nothing changes in the file-structure. Renaming works for me, though.

I am on latest Atmosphere and FW versions, to date. 2.00 still works for me.

Full black screen crash on 7.0.x, clean install, without usb

On 7.0.0 and 7.0.1, the nx-shell crashes totally the console with a black screen when leaving the app through the HOME button.
The crash happens regardless USB (dis)connection state.

Tested on a clean system, no nsp installed and running ReiNX 2.1.1 + 128gb sandisk sdcard from Amazon.

No workaround found.

7z decompression hangs

The attempt to decompress a 7z archive did not work. It appeared even after a long time of waiting no progress bar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.