Homebrew [Release] CTRXplorer - Open Source SD File Manager

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 148,683
  • Replies Replies 273
  • Likes Likes 46
any way to browse the contents of a gamecard....absolutely pointless in the grand scheme of things, and idk if it would even be possible, but just wondering if it could be done to help out the person trying to dump a dev kit cart (although it would probably only be the romfs even if it was possible, but at least it would be something)
https://gbatemp.net/threads/dumping-super-mario-3d-land-beta.389806/

no worries if not and its completely understandable if you cba trying to add such a feature, but i was just wondering if it was technically possible B-)
 
any way to browse the contents of a gamecard....absolutely pointless in the grand scheme of things, and idk if it would even be possible, but just wondering if it could be done to help out the person trying to dump a dev kit cart (although it would probably only be the romfs even if it was possible, but at least it would be something)
https://gbatemp.net/threads/dumping-super-mario-3d-land-beta.389806/

no worries if not and its completely understandable if you cba trying to add such a feature, but i was just wondering if it was technically possible B-)
I don't have an idea if it's possible yet. If it is, however, yes, that would be an interesting feature to add. Still, there is no low level stuff in CTRXplorer. It completely builds upon the work done so far (mainly by @smealum and @Steveice10) and my knowledge wouldn't be enough to add something like that if it doesn't already exist in one way or another.

At the moment I'm wondering if the NAND file system can somehow be accessed. If I find a way, I'll add it in, but read-only, unless there's a good reason to open it up.

BTW, does anyone know if there is somethign resembling a CTRUlib documentation out there?
 
  • Like
Reactions: Melon__Bread
Implement Network-Filemanagement via FTP or Samba (ala WiiXPlorer) so i can access my PC folders with it and i will be your very bestestest friend 4 ever, totally!
 
Implement Network-Filemanagement via FTP or Samba (ala WiiXPlorer) so i can access my PC folders with it and i will be your very bestestest friend 4 ever, totally!
What you actually want to use this to manage your PCs files and folders? :) I think there should be better options out there (f.e. for smartphones), but I'll consider it.
 
What you actually want to use this to manage your PCs files and folders? :) I think there should be better options out there (f.e. for smartphones), but I'll consider it.
Ok maybe i was unclear, here. I would love Samba-acess to actually manage file-transfers from AND to my 3ds via shared folders on my PC.
Makes transfering screenshots, CIAs and customthemes just that ton easier xD
At least if you got no SD-Reader at hand...
(that's why i mentioned WiiXPlorer, that program actually did that job perfectly, having something similar on 3ds would be nuts ^^)

EDIT: In case someone is wondering, i currently use ftbrony for that, and while somewhat working, it has it's critical flaws...
 
Last edited by Jackall4BDN,
What about listing NAND files so we know what they are or is that hard to implement?
yes if nand support could be added this would be fantastic.
it is possible to read from sysnand+emunand, so it would be cool if that was added too :)
 
  • Like
Reactions: d0k3
In case someone is wondering, i currently use ftbrony for that, and while somewhat working, it has it's critical flaws...
I'm going a bit off topic here, but I'm using FTbrony for that too. The only problem with that that I know of is that it doesn't react to B (= quit in HB launcher) immediately (you have to refresh on PC first, where you'll also get an error message), and that's annoying as hell if you have to do it each and every time. I have tried to fix that, so far unsuccessful. Do you use the one I compiled? And, if so, and if there are other problems, could you describe them in that thread?

What about listing NAND files so we know what they are or is that hard to implement?
yes if nand support could be added this would be fantastic.
it is possible to read from sysnand+emunand, so it would be cool if that was added too :)
Read-only access to the NAND (possibly even writeable, if there's a good reason for it in the future) is definitely on my list. The problem right now is that I don't know if it's really possible, and to what extent. Maybe we can even only access a subset of the data on NAND. It may even be easier to first make a NAND backup via the GW launcher and then browse that (clunky solution, though).

EDIT: ... and an addition: I found some information about the NAND flash filesytem. If anyone can help out with more info, it would be greatly appreciated. Also:
3dbrew.org said:
None of the NAND partitions are normally accessible from the ARM11, except for twlp. CTR/TWL NAND FS can only be accessed when the exheader access control descriptor for those are enabled. Normally the CTR/TWL NAND descriptors are never enabled for retail ARM11 CXI processes. The ARM11 can only access "nand:/rw/" mounted as the nandrw archive, and "nand:/ro/" mounted as the nandro archive below.
Still, accessing that would be interesting as it is. Maybe Brahma could be used to further elevate permissions.
 
Last edited by d0k3,
  • Like
Reactions: cearp
There where some changes in the ctrcommon library while I was busy coding CTRXplorer. If you have tried to compile it before, it may not have worked for you. I have updated the source code on GitHub for the ctrcommon changes now and it will compile with the most recent ctrulib and ctrcommon installed.

I'm now considering to get rid of the ctrcommon requirement. I could just copy the functions I need and leave it that way. Also, I wouldn't require other developers to install / update the library. Any opinions on that?

By the way, that recent update is only of interest for the developers among you. Users need not update.
 
Last edited by d0k3,
If you could add a feature to copy files from sysNAND://data/ to Emunand://data/ and vice versa
that would be nice, very nice
 
If you could add a feature to copy files from sysNAND://data/ to Emunand://data/ and vice versa
that would be nice, very nice
I'd like to, but even getting readable access to some areas of the NAND is complicated at best. Writable access (to an actually usable extent) may not be possible at all. Also, SysNAND is not accessible from EmuNAND, and EmuNAND may possibly not be accessible from SysNAND.

I'm actively seeking for methods to browse NAND stuff at the moment, but when / if it is implemented, it will be limited.
 
I'd like to, but even getting readable access to some areas of the NAND is complicated at best. Writable access (to an actually usable extent) may not be possible at all. Also, SysNAND is not accessible from EmuNAND, and EmuNAND may possibly not be accessible from SysNAND.

I'm actively seeking for methods to browse NAND stuff at the moment, but when / if it is implemented, it will be limited.
I'm not sure if rxTools's source might help. It has decryption of the ctr fat partition of either nand
 
I'm not sure if rxTools's source might help. It has decryption of the ctr fat partition of either nand
Yes, it has decryption of the NAND, but at the moment only for O3DS (N3DS might be different). Also, it seems like it doesn't give direct read access but rather accesses NAND dumps (correct me if I'm wrong). Still, good point. Maybe some of the rxTools source will be usable, so I just bookmarked it.
 
Yes, it has decryption of the NAND, but at the moment only for O3DS (N3DS might be different). Also, it seems like it doesn't give direct read access but rather accesses NAND dumps (correct me if I'm wrong). Still, good point. Maybe some of the rxTools source will be usable, so I just bookmarked it.
it accesses nand directly
 
it accesses nand directly
Alright... I am a N3DS owner, so testing it myself is out of the question, but I took a look at the source code and there's a function called "ExploreFolders" in there (among a lot other interesting stuff). Youtube videos I found so far showcased only the rxMode EmuNAND. The source code itself only gives me an idea about how it works, so, I wonder..

... can anyone make a Youtube video showcasing the actual features of the rxTools?

And no, it doesn't have to be twenty gazillion hours long, showing each and every decryption and dumping function in action. I'd only like to see what's in the decryption and dumping options (and possibly submenus), and if there is some browsing functionality, I want to see that in action as well.
 
I'm going a bit off topic here, but I'm using FTbrony for that too. The only problem with that that I know of is that it doesn't react to B (= quit in HB launcher) immediately (you have to refresh on PC first, where you'll also get an error message), and that's annoying as hell if you have to do it each and every time. I have tried to fix that, so far unsuccessful. Do you use the one I compiled? And, if so, and if there are other problems, could you describe them in that thread?

I would do if i knew whether i used your version, currently i use two different versions on two 3DSs, both emunand 9.8 and cia, the problem i hate most is easy tho,so i will write it here:
Two things: I sometimes need to restart my 3ds for a certain error tht spams numbercodes after one file got transfered corrupted
AND the initial handshake withmy filezilla client seems o happen after a random interval (4s-2min) i kinda miss a "force-wifi-wake" button, here, if such a thing would solve it, as it seems that the 3dssometimes just suspends the wifiinsome idle-mode
 
I would do if i knew whether i used your version, currently i use two different versions on two 3DSs, both emunand 9.8 and cia, the problem i hate most is easy tho,so i will write it here:
Two things: I sometimes need to restart my 3ds for a certain error tht spams numbercodes after one file got transfered corrupted
AND the initial handshake withmy filezilla client seems o happen after a random interval (4s-2min) i kinda miss a "force-wifi-wake" button, here, if such a thing would solve it, as it seems that the 3dssometimes just suspends the wifiinsome idle-mode
Alright... none of these issues sound familiar to me. I prepared an experimental release ("experimental" because CIA and 3DS is untested yet), but in the correct thread ;). Get it from here. You should be able to install this alongside your current installation of ftbrony, no need to swap, eventually risking to get even worse results. If you get a chance, let me know how it worked for you!

Addition: Wake-on-LAN on the side of the 3DS ist not possible with the means we have now, at least to my knowledge.
 
Last edited by d0k3,
Anyways, back on topic... I'm currently thinking about changing the control scheme to rely more on tap and hold actions.

This is my idea:
  • Button R: (Tap) Create Directory / (Hold) Create Dummy File
  • Button X: (Tap) Delete / (Hold) Rename
  • Button Y: (Tap) Copy / (Hold) Move
This would completely remove the need for switching modes (modes are for delete/copy and move/rename), possibly making the CTRXplorer UI less confusing. Tell me what you think!
I'd have to rethink how to implement the hidden dummy file size / content options then (these are accessed via the arrow buttons when R is held now)
 
Anyways, back on topic... I'm currently thinking about changing the control scheme to rely more on tap and hold actions.

This is my idea:
  • Button R: (Tap) Create Directory / (Hold) Create Dummy File
  • Button X: (Tap) Delete / (Hold) Rename
  • Button Y: (Tap) Copy / (Hold) Move
This would completely remove the need for switching modes (modes are for delete/copy and move/rename), possibly making the CTRXplorer UI less confusing. Tell me what you think!
I'd have to rethink how to implement the hidden dummy file size / content options then (these are accessed via the arrow buttons when R is held now)
New version (CTRXplorer v0.8.0) is out, containing the control scheme I described above and including some other improvements. Gone is the need to switch modes, which makes it much more user friendly, I think.
 

Site & Scene News

Popular threads in this forum