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,826
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: 193
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,826
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,826
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,256
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,826
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 @ BakerMan:
    ubisoft should #stopkillinggames ngl
  • Badcatalex @ Badcatalex:
    sony should #stopkillinggames
  • Badcatalex @ Badcatalex:
    they killed LittleBigPlanet online, which was the main core of every LBP game
  • BakerMan @ BakerMan:
    for real
  • BakerMan @ BakerMan:
    at least with them, it was because of the DDOS attacks, ubisoft was just scummy
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
    SylverReZ @ SylverReZ: @realtimesave, You seen the Unlock Switch flashcart yet?