Switch cartridges

General No-Intro related discussions.
hking0036
Datter
Posts: 101
Joined: 01 Oct 2016 18:33

Re: Switch cartridges

Post by hking0036 » 05 Sep 2017 21:06

I have a few:

Breath of the Wild (USA)
Box: HAC-P-AAAAA-USA
Cart: AAAAA12A000

Splatoon 2 (USA)
Box: HAC-P-AAB6B-USA
Cart: AAB6B08B000

Hiccup
Datter
Posts: 329
Joined: 09 Oct 2015 11:29

Re: Switch cartridges

Post by Hiccup » 17 May 2018 19:28

Seems like switch carts can be dumped now. Anyone with PegaSwitch want to try this?: https://gist.github.com/AcK77/56b86469f ... 2cb962ee30

Whovian9369
Datter
Posts: 61
Joined: 09 Sep 2016 18:36

Re: Switch cartridges

Post by Whovian9369 » 18 May 2018 01:04

Hiccup wrote:
17 May 2018 19:28
Seems like switch carts can be dumped now. Anyone with PegaSwitch want to try this?: https://gist.github.com/AcK77/56b86469f ... 2cb962ee30
And if someone would rather use HBL to try doing it, this is a possibility: https://github.com/MCMrARM/switch-game-card-dumper/

Not mine ofc and I PERSONALLY haven't tested it, but... worth a shot, eh? :P -- It's hopefully a lot more stable than the PS script!

Hiccup
Datter
Posts: 329
Joined: 09 Oct 2015 11:29

Re: Switch cartridges

Post by Hiccup » 18 May 2018 20:21

From the look of the code for that one, it seems it can only dump partitions, not make ROM dumps.

Whovian9369
Datter
Posts: 61
Joined: 09 Sep 2016 18:36

Re: Switch cartridges

Post by Whovian9369 » 19 May 2018 03:14

Hiccup wrote:
18 May 2018 20:21
From the look of the code for that one, it seems it can only dump partitions, not make ROM dumps.
Ah crap, sorry about that. Thanks for double checking for me!

hking0036
Datter
Posts: 101
Joined: 01 Oct 2016 18:33

Re: Switch cartridges

Post by hking0036 » 19 May 2018 05:35

Hiccup wrote:
17 May 2018 19:28
Seems like switch carts can be dumped now. Anyone with PegaSwitch want to try this?: https://gist.github.com/AcK77/56b86469f ... 2cb962ee30
Would love to but unfortunately the switch is up to date. You should keep an ear to the ground, however - with the announcement of a modchip recently an .xci dumper will likely find it's way out as an .nro file or (more likely) as a Fusee-Gelee/ShofEL2 payload. At that point anyone with a switch can get in on it regardless of version. Presumably the modchip makers themselves will enable this if nobody else does, but that's all speculation.

The HBL should be stuck in userland so I doubt it will be able to dump a full .xci file any time soon, however FG and such are able to get at all the keys and whatnot so it will likely come down the pipeline. I think that there's some concern to do with per-cart specific data again this time around as well.

This time the formats at least seem fairly cut and dry, .xci seems standard for cartridge images and .nsp files are packages pulled straight from the eshop server (one of which has been dumped by scene group BBB) - though I'm sure more questions regarding this will arrive when the time comes. Especially if you consider the third party releases that require downloads even after you put the cart in.

hking0036
Datter
Posts: 101
Joined: 01 Oct 2016 18:33

Re: Switch cartridges

Post by hking0036 » 07 Jun 2018 04:57

I've been digging through some Switch scene releases and I seem to have nailed down a bit of a pattern here (though I'm sure someone else has spotted it before, I figured I would post it for sake of certainty, the dumpers even lament the number of builds for USF2). The serial on the cart label doesn't seem to denote a revision but it does include code and "build" which seems to be used to distinguish games that need to be region specific (like splatoon which uses region to determine which splatfest you participate in). All of the (world) releases use the build code 'a' (like Breath of the Wild, which uses LA-H-AAAAA-XXX, where the first 4 As are the ID and the last is build).

As you can see w/ these .NFOs:

Splatoon 2 (EUR) - AAB6C: http://rom-news.org/nsw/nfo/Splatoon.2. ... BigBlueBox
Splatoon 2 (USA) - AAB6B: http://rom-news.org/nsw/nfo/Splatoon.2. ... BigBlueBox
(JPN is AAB6A?)
(Splatoon 2 is labelled ALL on the USA .NFO but they dumped EUR separately)

Also visible with ULTRA STREET FIGHTER II: The Final Challengers:
SF2 (EUR) - BABBD: http://rom-news.org/nsw/nfo/Ultra.Stree ... BigBlueBox
SF2 (USA) - BABBE: http://rom-news.org/nsw/nfo/Ultra.Stree ... BigBlueBox

Another example of this should be puyo puyo which has the serial BAACB for USA but the site I'm looking at here doesn't seem to have an .NFO for the eur or jpn releases.

If someone could get shots of a DKC TF cart front and back then we might be able to pin down the revision numbering because so far it seems to be the only one with a revised release right out of the gate.

Hiccup
Datter
Posts: 329
Joined: 09 Oct 2015 11:29

Re: Switch cartridges

Post by Hiccup » 07 Jun 2018 21:49

I'll try and find some on eBay. How do you know DKCTP has/is a revision?

hking0036
Datter
Posts: 101
Joined: 01 Oct 2016 18:33

Re: Switch cartridges

Post by hking0036 » 07 Jun 2018 23:12

Hiccup wrote:
07 Jun 2018 21:49
I'll try and find some on eBay. How do you know DKCTP has/is a revision?
The BBB release posted up is marked Rev. 01, and none of the others so far have been so it seems to be a bit of a special case here (peek at DoM). I'll mark down some if I spot any on ebay as well.

AFWTA22X001 x2
AFWTA12X001

So far just seems like the last 3 in the serial on the reverse points to the Rev. number (every back serial on this thread is 000, which seems to coincide with this, but more info never hurts).

Whovian9369
Datter
Posts: 61
Joined: 09 Sep 2016 18:36

Re: Switch cartridges

Post by Whovian9369 » 08 Jun 2018 22:56

Hey guys!
There's a Homebrew Launcher based dumper now!

What you need:
https://gbatemp.net/threads/xci-explorer.505528/ - XCI Explorer
https://gbatemp.net/threads/xci-dumper.506700/ - The HBL dumper
ExFAT formatted SD Card (for dumps larger than 4GB) OR FAT32 (for dumps smaller than 4GB)
--------
Extract XCI Explorer to a folder and fill in the appropriate keys in the keys file
Put the NRO from the zip, in sd:/switch/

Put the SD in the Switch
Open HBL whatever way you would like
Run the dumper on one game cart
Shut down the console

Put the SD Card in your computer and copy the XCI from sd:/switch/game.xci to your machine
Delete or rename the sd:/switch/game.xci
Open XCI Explorer
IN MY OPINION - Make a backup of the original XCI, then the too via cert via "Export Cert"
Hit "Clear Cert"
Exit the tool and check the checksum of the "new" XCI
If it matches the DAT/DOM, you should be good!

NOTE: I do not know of a "normal" update thread for XCI Explorer, as I couldn't find one with my quick searching.
NOTE2: If XCI Explorer crashes, it's probably a currently non-supported CARD2 (Newer cart with a "logo" partition) dump.

User avatar
Connie
Datter
Posts: 346
Joined: 20 Jun 2008 12:15

Re: Switch cartridges

Post by Connie » 09 Jun 2018 03:06

Nice tool.

We do need a good working compile o hactool though.

My compile can extract the logo 'older', but struggles with other nca's.
Anyone got a good mingw32 build to work rom latest git code?

hking0036
Datter
Posts: 101
Joined: 01 Oct 2016 18:33

Re: Switch cartridges

Post by hking0036 » 09 Jun 2018 05:22

Whovian9369 wrote:
08 Jun 2018 22:56
Hey guys!
There's a Homebrew Launcher based dumper now!

What you need:
https://gbatemp.net/threads/xci-explorer.505528/ - XCI Explorer
https://gbatemp.net/threads/xci-dumper.506700/ - The HBL dumper
ExFAT formatted SD Card (for dumps larger than 4GB) OR FAT32 (for dumps smaller than 4GB)
--------
Extract XCI Explorer to a folder and fill in the appropriate keys in the keys file
Put the NRO from the zip, in sd:/switch/

Put the SD in the Switch
Open HBL whatever way you would like
Run the dumper on one game cart
Shut down the console

Put the SD Card in your computer and copy the XCI from sd:/switch/game.xci to your machine
Delete or rename the sd:/switch/game.xci
Open XCI Explorer
IN MY OPINION - Make a backup of the original XCI, then the too via cert via "Export Cert"
Hit "Clear Cert"
Exit the tool and check the checksum of the "new" XCI
If it matches the DAT/DOM, you should be good!

NOTE: I do not know of a "normal" update thread for XCI Explorer, as I couldn't find one with my quick searching.
NOTE2: If XCI Explorer crashes, it's probably a currently non-supported CARD2 (Newer cart with a "logo" partition) dump.
If you want to do multiple dumps without rebooting after every one, I recommend getting FTPD (which you can get here: https://www.switchbru.com/appstore/zips/ftpd.zip ), you can run after you take a dump (ha) and then rename the game.xci through an FTP Client, pop a new cart in, rinse and repeat (this is what I did, unfortunately the NXShell homebrew doesn't allow for renaming files just yet). Also, I already threw up a guide on the wiki but if you want to poke around it as well it would certainly be appreciated.

Note that the 3DS version of ftpd will show your IP address on-screen, the Switch version does not, it only shows 0.0.0.0:5000 but still works fine, so I recommend you set a static IP so you don't have to track down what your Switch got DHCP'd to.

Also: it's important to note that the dumper CAN NOT split files, and users will NOT have exFAT support unless they insert an exFAT sd card on the latest firmware on the switch, that will prompt a firmware update which includes only the exFAT support. You can install it on older FW through other means -> https://gbatemp.net/threads/how-to-add- ... te.505182/ but this is kind of a pain in the ass. If they choose not to update to recieve the exFAT patch, then the FAT32 support will only support the 2/4 Gigabyte cards.

User avatar
psykopat
Posts: 91
Joined: 14 Aug 2008 10:07

Re: Switch cartridges

Post by psykopat » 12 Jun 2018 10:23

Hey :) Nice to see this thread still running
As mentioned above, you're right for the back-serial :
- first 4 digits are the game code
- 5th is the region/zone id (and is a part of the game code)
- 6 to 8th are still obscure, and could be a production lot ID. After research I can't find any link with the game size, secure chip, region, languages, or production date... each thread I've read about this got a different theory too.
- last 3 digits are the game revision

More useful links :
https://gbatemp.net/threads/cartridge-i ... on.492311/
display the first spoiler to see many revisions, many of them are not dumped yet

https://github.com/jakibaki/switch-game-card-dumper
open source cartridge dumper, recently added xci format

Hiccup
Datter
Posts: 329
Joined: 09 Oct 2015 11:29

Re: Switch cartridges

Post by Hiccup » 12 Jun 2018 15:18

Thanks for the link - I've documented these as unconfirmed undumped games on the wiki. I will follow up with the owner of the cart where possible.

User avatar
psykopat
Posts: 91
Joined: 14 Aug 2008 10:07

Re: Switch cartridges

Post by psykopat » 12 Jun 2018 15:38

The best (but long) thing would be to mp each guy claiming to have a revision, and ask them just for a quick pic as proof for our DB.
Zelda rev3 at least is confirmed, the picture has been posted in the thread.
You do not have the required permissions to view the files attached to this post.
Last edited by psykopat on 14 Jun 2018 15:02, edited 2 times in total.

Post Reply