Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

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,606
Country
Spain
I think so? I tried to import a .wav file to Audacity, but it said to try importing it as raw data.
Odds are they're not actually RIFF-encoded WAVs, then. They just happen to use the .wav extension. This is what I meant when I said file extensions don't really mean anything at all.

Try to transcode them using vgmstream.
 
Last edited by DarkMatterCore,

Anonymous42456

Well-Known Member
Member
Joined
Jan 11, 2017
Messages
145
Trophies
0
XP
804
Country
United States
Odds are they're not actually RIFF-encoded WAVs, then. They just happen to use the .wav extension. This is what I meant when I said file extensions don't really mean anything at all.

Try to transcode them using vgmstream.
Do I need to dump the full game first before using the soundtrack?
 

PalindromicBreadLoaf

Just a duck floating in a pond.
Member
Joined
Aug 22, 2018
Messages
401
Trophies
0
Age
23
Location
Canada
XP
1,747
Country
Canada
Whenever I try to dump a cartridge with this application, whether it be to a NSP or XCI, it'll finish fine, but when checking the validity it will fail. And when I try to install it using either GoldLeaf of Awoo Installer, it'll error out immediately. I'm using Atmosphere 0.19.5R2 with the latest sigpatches from here https://github.com/ITotalJustice/patches/releases
Any idea what the problem is?
 

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,606
Country
Spain
Do I need to dump the full game first before using the soundtrack?
What do you mean? You should be able to dump just the audio resources from the game using the RomFS browser.

Whenever I try to dump a cartridge with this application, whether it be to a NSP or XCI, it'll finish fine, but when checking the validity it will fail. And when I try to install it using either GoldLeaf of Awoo Installer, it'll error out immediately. I'm using Atmosphere 0.19.5R2 with the latest sigpatches from here https://github.com/ITotalJustice/patches/releases
Any idea what the problem is?
How are you exactly checking the validity? Are you using the latest version? Are you using a FAT32 SD card?

XCI dumps should always pass all validity tests. NSP dumps from gamecards generated at this time won't pass validity checks right off the bat because their NCA headers are modified - this will be addressed in the ongoing rewrite.
 

PalindromicBreadLoaf

Just a duck floating in a pond.
Member
Joined
Aug 22, 2018
Messages
401
Trophies
0
Age
23
Location
Canada
XP
1,747
Country
Canada
What do you mean? You should be able to dump just the audio resources from the game using the RomFS browser.


How are you exactly checking the validity? Are you using the latest version? Are you using a FAT32 SD card?

XCI dumps should always pass all validity tests. NSP dumps from gamecards generated at this time won't pass validity checks right off the bat because their NCA headers are modified - this will be addressed in the ongoing rewrite.
I'm using the tools built in checker. I tried with both the offline version and online version, with an XCI, and it says it failed verification. Along with that trying to use the XCI with anything results in failure. Trying to install either a dumped NSP or XCI also fails immediately with an fs error. I am on version 1.1.14, with a Fat32 SD Card.
 
Last edited by PalindromicBreadLoaf,

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,606
Country
Spain
I'm using the tools built in checker. I tried with both the offline version and online version, with an XCI, and it says it failed verification. Along with that trying to use the XCI with anything results in failure. Trying to install either a dumped NSP or XCI also fails immediately with an fs error. I am on version 1.1.14, with a Fat32 SD Card.
Odds are you're dealing with an unreported gamecard revision that's not available in either database, which also explains why the XCI verification fails: there really is no match at all. I'd like to verify this myself, so I'll send you a DM in a short while.

NSP verification will always fail for gamecard NSPs, because of multiple reasons:

1. NSP is a format used essentially for digital-based content, not for gamecards.
2. Only No-Intro offers a way to verify digital-based content, not through their full NSP checksum, but rather through their individual NCA checksums (NCAs being the files stored inside every NSP).
3. NSWDB only offers gamecard dump verification.
4. Just like I said before, NSP dumps generated from gamecards at this time hold modified NCA headers, which only contributes to make them impossible to validate.

If anything, I'd say this is related to sigpatches. Odds are you didn't install them properly.
 
Last edited by DarkMatterCore,

w350922439

Well-Known Member
Newcomer
Joined
Apr 4, 2020
Messages
80
Trophies
0
Age
34
XP
911
Country
Hong Kong
hello,when i dump a game.
it warning and error like this.
my cfw is 12.1.0 atmosphere 0.19.5.prod.keys is use the 12.1.0 update.
thx for u tools.
 

Attachments

  • 2021082212404500-83F694ADD072A2CFC4056BFDAEA07686.jpg
    2021082212404500-83F694ADD072A2CFC4056BFDAEA07686.jpg
    120.5 KB · Views: 281

ppap2345

Member
Newcomer
Joined
Oct 16, 2021
Messages
8
Trophies
0
Age
24
XP
38
Country
China
不确定这是否属于 nxdumptool 问题,因为它似乎只在与 sys-clk 混合时才会出现,所以我想把它贴在这里而不是 github,以防其他人遇到它。

我注意到 sys-clk 和 nxdumptool 无论出于何种原因在我的设置中都表现不佳。
我已经尝试了 sys-clk 的最新版本和最新提交,并且在小程序和标题模式下都收到了“无法初始化 pm:dmnt 服务(0x00000615)”错误。
- 气氛:0.10.1
- 居屋:9.0.1
- nxdumptool:1.1.8


编辑:对于那些想知道我怎么知道它是 sys-clk 的人;我删除了大气/内容中的所有标题文件夹,然后将它们一个一个地添加回来,直到我将范围缩小到 sys-clk。
ProcessMana title
 

vance003

New Member
Newbie
Joined
Nov 17, 2021
Messages
3
Trophies
0
Age
61
XP
31
Country
United States
I'm using NXDumpTool 1.1.14 on Atmosphere 1.2.1 / fw 13.1.0

Lately I've been finding that dumping NSPs of some (but not all) installed games generates the following error:
retrieveNcaTikTitleKey: NCA rights ID unavailable in this console!

I'm told that the game is probably a "pre-installed title," but it was purchased and downloaded like normal from the Nintendo shop. If I proceed with the dump, the generated NSP is still encrypted and hence unplayable (as far as I know).

Can anybody point me to a work-around or solution for this?
 

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,606
Country
Spain
I'm using NXDumpTool 1.1.14 on Atmosphere 1.2.1 / fw 13.1.0

Lately I've been finding that dumping NSPs of some (but not all) installed games generates the following error:
retrieveNcaTikTitleKey: NCA rights ID unavailable in this console!

I'm told that the game is probably a "pre-installed title," but it was purchased and downloaded like normal from the Nintendo shop. If I proceed with the dump, the generated NSP is still encrypted and hence unplayable (as far as I know).

Can anybody point me to a work-around or solution for this?
If the game was shared using an account from a different console, you need to launch HBL while overriding the game you wish to dump, and then launch nxdumptool to dump it.

There's no other way around to overcome this limitation - this is because the ticket for the shared game is generated on-the-fly while launching it (which also explains why an Internet connection is required to use it at all).
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,315
Trophies
3
XP
12,118
Country
Poland
If you need to unpack romfs, you can use DBI.
I know. It's just I prefer to recommend open source tools first. Currently there is no officially released comprehensive open source tool supporting dumping romfs from sparse titles, so if it will come to this, I will be recommending close source tools.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    And if the concern is that "well we can't trust the government to intervene for this because the government can't do anything right and wastes tons of money" then holy shit push for a better government. I'm certainly trying to. Don't throw your hands up and go "we've tried nothing and we're all out of ideas"
  • K3Nv2 @ K3Nv2:
    Plus technology cost iirc even a water jet drill is 1k per
  • cearp @ cearp:
    @K3Nv2 that's crazily expensive. how long will that take to pay off?

    Although diet is largely education, people don't need to go to university to learn what's healthy and what's not,
    it's the whole country, big corporations and advertising that is to blame for leading most of the population to believe that poptarts and froot loops are healthy to feed a child
  • mthrnite @ mthrnite:
    i would think the population knows better but with food deserts and abject poverty, sometimes a poptart gonna have to do.
  • mthrnite @ mthrnite:
    it's a big ol complicated world innit
    +1
  • Sicklyboy @ Sicklyboy:
    As someone who went through the grade school system in the US some time within the past 30 or so years, not nearly enough is done to promote and educate on how to eat healthy in a way that is feasible to do on a regular basis and also affordable. Eating healthy is, comparatively, fucking expensive. So is eating unhealthy, but in many cases eating unhealthy is more affordable than eating healthy
    +1
  • cearp @ cearp:
    90k could get you a 3 bedroom house in some poorer parts of the country
  • K3Nv2 @ K3Nv2:
    @cearp, it's like buying a new car most dentists say so $250 per the rest of your life
  • cearp @ cearp:
    Jesus
  • K3Nv2 @ K3Nv2:
    These are actual implants to dentures though
  • cearp @ cearp:
    Well once it's all done I'm sure you'll be happy with the result
  • K3Nv2 @ K3Nv2:
    Just a flappity denture would probably be 5k
  • mthrnite @ mthrnite:
    sold
  • K3Nv2 @ K3Nv2:
    I got some faith implants are going to justbe included with a crown cost
  • K3Nv2 @ K3Nv2:
    Procedures bullshit wait 4 months for graft to heal wait another four months the post to heal then get crown
  • SylverReZ @ SylverReZ:
    Only 1 tempycoin.
    +1
  • K3Nv2 @ K3Nv2:
    Got kfc for dinner fucking dinner box is a joke
  • BigOnYa @ BigOnYa:
    Just go gummy, ancientboi would like you better that way anyways, and you save money on toothbrushes/toothpaste
  • cearp @ cearp:
    @Sicklyboy I agree, but also it's about self control and realistic thinking. We wouldn't feed a dog soda, so why feed it to ourselves? Eating unhealthy food because it's cheap is one thing, but I'm sure you know people who drink soda routinely when they should be drinking water which is free.
    I get it can feel mean to say "no treat sweet beverage for you anymore" but for many people it's just in their way of life.
  • K3Nv2 @ K3Nv2:
    I drink soda twice out of the week
  • K3Nv2 @ K3Nv2:
    Plus decay can start as young as 15 tons of factors
  • cearp @ cearp:
    Even sugar free isn't good, as the acid is bad enough.
  • cearp @ cearp:
    oh earlier than 15 Ken, babies, children can get decay
  • K3Nv2 @ K3Nv2:
    So dentists give. Us these caps that'll last a few years to fight thrm
  • K3Nv2 @ K3Nv2:
    Yeah but babies get a new set
    K3Nv2 @ K3Nv2: Yeah but babies get a new set