Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

LyuboA

Unknown Entity
Member
Joined
Jun 1, 2018
Messages
530
Trophies
0
XP
919
Country
Bulgaria
guys when i launch nxdumptool theres no option for XCI dump
i want to dump games eshop games and nsp installed games into xci tried with Atmos 0.10.2 and SX OS 2.9.3
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
@DarkMatterCore
When emuMMC is enabled, is it only possible to access "sd/emuMMC/RAW1/Nintendo" folder to dump updates and DLCs?
Not possible to dump Iegally purchased content from "sd/Nintendo" folder?
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
@DarkMatterCore
When emuMMC is enabled, is it only possible to access "sd/emuMMC/RAW1/Nintendo" folder to dump updates and DLCs?
Not possible to dump Iegally purchased content from "sd/Nintendo" folder?

Exactly. The whole point behind using redirection schemes is avoiding access to the original path/storage.

This isn't something that can be easily controlled by nxdumptool.
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
Exactly. The whole point behind using redirection schemes is avoiding access to the original path/storage.

This isn't something that can be easily controlled by nxdumptool.
Thanks.
What about if I copy "sd/Nintendo" folder into... let's say... "sd/emuMMC/RAW2/Nintendo", and then redirects to that path only for dumping purposes? Would that work?
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
Thanks.
What about if I copy "sd/Nintendo" folder into... let's say... "sd/emuMMC/RAW2/Nintendo", and then redirects to that path only for dumping purposes? Would that work?

Well, the contents from the original "Nintendo" directory are linked to the physical eMMC. If it holds titles that aren't (or haven't been) available in your emuMMC (like downloading something from the eShop using your physical eMMC **after** creating your emuMMC), it won't work.

If running homebrew using your physical eMMC represents a major concern to you, just create a eMMC backup using Hekate, run a CFW on your eMMC, enable airplane mode, do what you need to do and restore the eMMC backup.
 

Shiranui-san

Well-Known Member
Member
Joined
Nov 4, 2011
Messages
247
Trophies
1
XP
285
Country
Well, the contents from the original "Nintendo" directory are linked to the physical eMMC. If it holds titles that aren't (or haven't been) available in your emuMMC (like downloading something from the eShop using your physical eMMC **after** creating your emuMMC), it won't work.

If running homebrew using your physical eMMC represents a major concern to you, just create a eMMC backup using Hekate, run a CFW on your eMMC, enable airplane mode, do what you need to do and restore the eMMC backup.
Oh, I see... Thanks for the explanation.
Yes, I don't want to load CFW on physical eMMC, one of my units got banned recently, don't want to risk the other :P
 
Last edited by Shiranui-san,

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
Wonderful software that I use frequently for modding and experimenting. I have one feature request, however. Many times I want to dump a cartridge or title's full romfs for dumping, but I need to clear out a lot of SD card space. Would it be possible to implement a "dump over the network" option into the tool? For example, connecting to the app from a PC over some network protocol and dumping directly to the computer?
 
  • Like
Reactions: AkiraKurusu

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
Wonderful software that I use frequently for modding and experimenting. I have one feature request, however. Many times I want to dump a cartridge or title's full romfs for dumping, but I need to clear out a lot of SD card space. Would it be possible to implement a "dump over the network" option into the tool? For example, connecting to the app from a PC over some network protocol and dumping directly to the computer?

Thanks. I know it's not much, but I do my best. :)

Sadly, that would make things far slower than they currently are, specially for games with lots of files.

Dumping through USB is the real deal here. It's already working with fsp-usb in unreleased nxdumptool builds, but I'm currently working on the application rewrite, so it'll take me a while before I release it.

I've grown dissatisfied of my own code quality practices and the overall look and feel from nxdumptool, so I decided to improve it all by starting from scratch. It'll probably take me some months before I release the new version - I'm still playing around with LVGL in my free time.
 
Last edited by DarkMatterCore,

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
Thanks. I know it's not much, but I do my best. :)

Sadly, that would make things far slower than they currently are, specially for games with lots of files.

Dumping through USB is the real deal here. It's already working with fsp-usb in unreleased nxdumptool builds, but I'm currently working on the application rewrite, so it'll take me a while before I release it.

I've grown dissatisfied of my own code quality practices and the overall look and feel from nxdumptool, so I decided to improve it all by starting from scratch. It'll probably take me some months before I release the new version - I'm still playing around with LVGL on my free time.
That's awesome. I'm looking forward to that a lot, then. Will fsp-usb work cross-platform? My main concern is having to deal with drivers and special software rather than just mounting, say, an FTP drive.
No rush. You can't rush greatness. Your work is far from unappreciated. In its current state it is one of my most used homebrew software.
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
That's awesome. I'm looking forward to that a lot, then. Will fsp-usb work cross-platform? My main concern is having to deal with drivers and special software rather than just mounting, say, an FTP drive.
No rush. You can't rush greatness. Your work is far from unappreciated. In its current state it is one of my most used homebrew software.

fsp-usb is essentially a SCSI driver for USB mass storage devices. It's a service that can run in the background as either a sysmodule or as part of ams.mitm, and it takes care of automatically mounting the first valid FAT12/FAT16/FAT32/exFAT partition in the detected storages. Homebrew applications can then access the filesystem from the mounted partition.

XorTroll and I made some massive progress on it in the last few months. It still has some minor bugs that need to be taken care of, so that's kinda why it hasn't been released yet. Support for additional filesystem types could also be possible in the future.

Since it's related to USB mass storage devices, it doesn't really need to be cross-platform at all. Dumping to another device using client programs is also on my plans, but it has a lower priority (because I know it can be a hassle).

And thanks again, really. Words like that really cheer me up.
 

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
fsp-usb is essentially a SCSI driver for USB mass storage devices.
Right, okay, so you're talking about acting as a host mounting a client external storage. That makes sense. For some reason I assumed that fsp-usb would work as a device that gets mounted by a host PC. I was interpreting it backwards.
That sounds fantastic.
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
Right, okay, so you're talking about acting as a host mounting a client external storage. That makes sense. For some reason I assumed that fsp-usb would work as a device that gets mounted by a host PC. I was interpreting it backwards.
That sounds fantastic.

Yup, you got it right - that's exactly what it is. I also plan to implement threaded dumping, instead of running everything on a single thread. This change alone should greatly improve speeds.

Yet again, it'll take me a while. I'm still sorting out UI stuff, which is probably the most difficult part for me (pretty obvious :rofl:). I can start rewriting actual functionality after that.
 
  • Like
Reactions: OkazakiTheOtaku

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
Just in case someone else is interested:

ybr3SR5.jpg


That how's my current UI demo looks.
 

Hylianzero

Well-Known Member
Member
Joined
Nov 21, 2010
Messages
201
Trophies
1
XP
499
Country
United States
I'm buying a second Switch so that I can have two hacked consoles. I'm backing up my cart games to NSP files now. I'll be able to use them on both consoles from the same backups, right?


Also, if I backup the updates I have installed will I be able to use those as well? They have an option to backup without console data, I assume I'll need to use that option to be able to use them on both consoles but I'm not sure.
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
I'm buying a second Switch so that I can have two hacked consoles. I'm backing up my cart games to NSP files now. I'll be able to use them on both consoles from the same backups, right?


Also, if I backup the updates I have installed will I be able to use those as well? They have an option to backup without console data, I assume I'll need to use that option to be able to use them on both consoles but I'm not sure.

Yes, you'll be able to use the NSP dumps from your cartridges on both consoles.

And yes, you're again correct. If you intend to use a NSP dump from installed digital content in another console, you need to enable the "Remove console specific data" option before creating the dump.
 

Hylianzero

Well-Known Member
Member
Joined
Nov 21, 2010
Messages
201
Trophies
1
XP
499
Country
United States
Yes, you'll be able to use the NSP dumps from your cartridges on both consoles.

And yes, you're again correct. If you intend to use a NSP dump from installed digital content in another console, you need to enable the "Remove console specific data" option before creating the dump.

Thank you so much! I just didn't want to have to download all of the updates on SysNand before I made my emuNand again. Not being able to download updates on the emulated partition is my only complaint about the currect CFW set up, lol.
 
  • Like
Reactions: DarkMatterCore

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    I @ I-need-help-with-wup-wiiu: i know this isn't the place but does/did anybody have the same issue as me?