ROM Hack ninfs - FUSE filesystem Python scripts for Nintendo console files

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,069
Trophies
2
XP
7,822
Country
United States
so I did a lot of code refactoring recently. I managed to add recursive mounting; for example, mounting a CIA/CDN dir will also mount NCCH, and RomFS. so you only need to mount a CIA/CDN dir once, and you can browse the NCCH contents, plus the RomFS. I also separated a bunch of code to a separate module, to reduce duplicate code and hopefully make something more reusable.
 

tranxuanthang

Well-Known Member
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
I can make this to work easily on my manjaro linux but not in windows (OSError: Unable to find libfuse). It looks like WinFsp is missing, but I already have the newest version installed.
Nd3Vn66.png

//Solved it while I wrote this. I actually needed a forked version of fusepy, not the official one.
 

Aletron9000

Well-Known Member
Member
Joined
May 10, 2016
Messages
1,716
Trophies
0
Location
Classified
XP
1,598
Country
United States
Hi, i tried using the program on my linux and windows machine, but all the python scripts give an error. I included a screenshot. thanks for any help anyone may have. i have python3.6, the forked fusepy, and the pycryptodomex.
 

Attachments

  • Untitled.png
    Untitled.png
    2.7 KB · Views: 192
Last edited by Aletron9000,

trecko1234

Well-Known Member
Member
Joined
Aug 10, 2013
Messages
132
Trophies
0
XP
328
Country
United States
Trying to use this to read my nand backup to get movable.sed, and then extract some saves off an SD backup. A little unsure about the usage of the 'mount_pount' argument. No matter what the mount point is, it always opens up into this. Do I have to do another step to mount the files in this folder, in order to get my essentials.exefs off the nand backup?

Edit: after googling around and finding the reddit announcement page for this tool it looks like "mount_point" is just the location of where the virtual is mounted to. Not really clear wording for that in the documentation.

So how would I go about extracting my essential.exefs from the backup to get the movable.sed?
 
Last edited by trecko1234,

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,069
Trophies
2
XP
7,822
Country
United States
Trying to use this to read my nand backup to get movable.sed, and then extract some saves off an SD backup. A little unsure about the usage of the 'mount_pount' argument. No matter what the mount point is, it always opens up into this. Do I have to do another step to mount the files in this folder, in order to get my essentials.exefs off the nand backup?

Edit: after googling around and finding the reddit announcement page for this tool it looks like "mount_point" is just the location of where the virtual is mounted to. Not really clear wording for that in the documentation.

So how would I go about extracting my essential.exefs from the backup to get the movable.sed?
mountpoint is where the virtual files would appear. on Windows I would suggest a drive letter like F:

mount_nand currently doesn't show the essential.exefs as a separate file. what you could do is mount ctrnand using a tool like OSFMount, which can open FAT filesystem images on Windows, then get movable.sed from \private\movable.sed (if the file here is the same one as essential.exefs). in any case I will try to get essential.exefs to appear in the nand mountpoint.
 
  • Like
Reactions: trecko1234

trecko1234

Well-Known Member
Member
Joined
Aug 10, 2013
Messages
132
Trophies
0
XP
328
Country
United States
mountpoint is where the virtual files would appear. on Windows I would suggest a drive letter like F:

mount_nand currently doesn't show the essential.exefs as a separate file. what you could do is mount ctrnand using a tool like OSFMount, which can open FAT filesystem images on Windows, then get movable.sed from \private\movable.sed (if the file here is the same one as essential.exefs). in any case I will try to get essential.exefs to appear in the nand mountpoint.
Thank you very much for this help. I was able to get the movable.sed using OSFMount.

Looking at the original release thread and seeing how far this tool has progressed at this point is a testament to how people like you are keeping the 3DS homebrew scene active with updates and tools that no one has seen before.
 
  • Like
Reactions: ihaveahax

OneToOne

Member
Newcomer
Joined
Feb 11, 2018
Messages
7
Trophies
0
Age
44
XP
51
Country
United States
So I wound up mounting my sd card of an old device that I had the movable.sed from. I'm trying to salvage some extdata from it. I can mount it, I can go to the directory and copy some save files, 4 files in sequence. These files are different than if i was to backup a save form JKs save manager, so how can I move these over? Any thoughts or a better thread to ask in?
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,069
Trophies
2
XP
7,822
Country
United States
So I wound up mounting my sd card of an old device that I had the movable.sed from. I'm trying to salvage some extdata from it. I can mount it, I can go to the directory and copy some save files, 4 files in sequence. These files are different than if i was to backup a save form JKs save manager, so how can I move these over? Any thoughts or a better thread to ask in?
JKSM and related tools dump the contents of extdata/savedata archives. when you copy directly from "/Nintendo 3DS" (and decrypt the files, which fuse-3ds does), you get the raw containers the files are in. if you want the files from inside, use https://github.com/wwylele/3ds-save-tool
 
Last edited by ihaveahax,

OrGoN3

Well-Known Member
Member
Joined
Apr 23, 2007
Messages
3,241
Trophies
1
XP
3,252
Country
United States
Awesome work! Now my question, probably asked a lot and answered 100 times, is there a way we can use this to extract an LFCS from a NAND backup without xorpads?
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,069
Trophies
2
XP
7,822
Country
United States
Awesome work! Now my question, probably asked a lot and answered 100 times, is there a way we can use this to extract an LFCS from a NAND backup without xorpads?
if you have the OTP + CID, or an essential.exefs (which contains both of these), you can use this.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @Purple_Heart, the wrist strap didnt work?