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,820
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,595
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,820
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,820
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,239
Trophies
1
XP
3,246
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,820
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
  • BakerMan
    The snack that smiles back, Ballsack!
  • Psionic Roshambo @ Psionic Roshambo:
    I remember when the Atari 2600 was new and exciting lol
  • Psionic Roshambo @ Psionic Roshambo:
    It could get banned from PSN but you can change your ID I think?
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
    BakerMan @ BakerMan: guys, my fuckin headphones have an out of place speaker