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

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,852
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,610
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: 195
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,070
Trophies
2
XP
7,852
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,070
Trophies
2
XP
7,852
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,279
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,070
Trophies
2
XP
7,852
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
  • Quincy @ Quincy:
    Or even worse; circle pad ball fondlers like on the 3DS
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
    BigOnYa @ BigOnYa: I just use a VPN, even give him my login and password so can use it also, and he refuses, he's...