ROM Hack Dumping Super Mario 3D Land Beta

Nic333

Well-Known Member
Member
Joined
May 3, 2014
Messages
144
Trophies
0
XP
1,056
Country
Brazil
Could those keys be used to decrypt the CIAs from the SDK? I wonder how I would go about doing that. Of coarse googling has yet to find the dev keys. :(
Open ctr_makecia32.exe from the leaked SDK in a hex editor, go to 0x6017, in that offset you can find the CIA dev Common key, the key starts with 0x55 and ends with 0x15 0x3B and have the SHA1 of 637422C5B34BAF7206AE1B86B556C390DB8EEDB1.
To decrypt the dev .CIA, use ctrtool, here is how: ctrtool --commonkey=*insert commonkey here* --contents=out *insert cia name here*
But this is useless, since the .csu and the .cia shares the same CXI.
Also, you can't decrypt DevMenu and Config, the key will give you the CXI, but the CXI uses some weird crypto that uses some devunit keyslot.
 

YamiHoshi.nl

I'm MKGirlism.
Member
Joined
May 23, 2011
Messages
671
Trophies
0
Age
32
Location
Tokyo
Website
www.dshack.org
XP
481
Country
I've never used Uncart before, but I'm looking through the source code and it looks like it prints out some data about the cart before dumping.

For example, main.c:95 we see:
Debug("Cart id is %08x", Cart_GetID());

Can you post this information? Perhaps it will give us insight into the state of Uncart before it begins dumping.

Thanks!

-palantine
Is this sufficient Information?
pre_1434001531__img_20150611_144423.jpg


How did the hex editor "prove" that the dump was corrupted?

Was it filled with FFs from beginning to end?

I ask because it's highly likely that any existing ROM tools aren't designed to work with dumps made from Dev units. So I don't think that the dump not being recognised by ROM tools is necessarily proof that the dump is corrupt.
Nope, no FF's.
Since there's no "NCSD" mentioned anywhere, while viewing in the Hex Editor, I assumed it's Corrupted, until I realised, it can simply be Encrypted.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,593
Trophies
3
Age
37
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
7,343
Country
United States
Cool. I was able to install TwlNandFiler. (this is a DSiWare system title) However TWL rejects it. Most likely because it's not signed. TWL has it's own sig checks. Perhaps TWL from dev inits don't have have sig checks or use different sig keys/method for the dev software much like the stuff on the 3DS side. :(
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
34
Website
normmatt.com
XP
2,393
Country
New Zealand
Is this sufficient Information?
Nope, no FF's.
Since there's no "NCSD" mentioned anywhere, while viewing in the Hex Editor, I assumed it's Corrupted, until I realised, it can simply be Encrypted.

Yes that tells me that it gets the cartid and the header fine its the cart command crypto thats the issue and I mentioned before that its different on devunits vs retail (hence why uncart is failing).

EDIT: I modded uncart to work the same as native firm on devunits but can't test.

EDIT2: Can you test this build of uncart.
 
Last edited by Normmatt,
  • Like
Reactions: gamesquest1

YamiHoshi.nl

I'm MKGirlism.
Member
Joined
May 23, 2011
Messages
671
Trophies
0
Age
32
Location
Tokyo
Website
www.dshack.org
XP
481
Country
Good News: It went passed 00190000.
Bad News: It got stuck on 00350000.

In case Photos are needed:
pre_1434057278__img_20150612_052233.jpg

pre_1434057335__img_20150612_055411.jpg


(For some reason, some Values regarding the exact same Cartridge are different.)
 

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
31
XP
4,700
Country
United States
Exactly before the E3 starts, I can Announce, that I've successfully Dumped the ROM!
I'm not allowed to Link to ROMs here, but since there are no Rules on Hinting its Location: You can find it in the Hack Store, at DSHack.org.
lol thats the same thing your telling people where to get it.
 

Codename

GREEN BRO IS BEST BRO
Member
Joined
Feb 21, 2012
Messages
365
Trophies
0
XP
243
Country
Canada
How long is the beta version anyways? Also, you only provided the .cia files. Wouldn't providing a .3ds file be more useful?
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
3
XP
15,260
Country
Micronesia, Federated States of
Exactly before the E3 starts, I can Announce, that I've successfully Dumped the ROM!
I'm not allowed to Link to ROMs here, but since there are no Rules on Hinting its Location: You can find it in the Hack Store, at DSHack.org.
Nice! Can they work on retail?
lol thats the same thing your telling people where to get it.
People link to gateway's domain all the time as a hint to the launcher location. Only direct links are no no.
How long is the beta version anyways? Also, you only provided the .cia files. Wouldn't providing a .3ds file be more useful?
Cia's work on all hack platforms, flashcard and cfw.
 

YamiHoshi.nl

I'm MKGirlism.
Member
Joined
May 23, 2011
Messages
671
Trophies
0
Age
32
Location
Tokyo
Website
www.dshack.org
XP
481
Country
How long is the beta version anyways? Also, you only provided the .cia files. Wouldn't providing a .3ds file be more useful?
You mean, Play Time?
7-15 Minutes on average, depending on how quickly you get through it.
No, as I already Described there, the .3DS File was 2 GB, and only works on expensive Debuggers, only available through Nintendo (or eBay).

Nice! Can they work on retail?
Yes, and it's called, "sm_retail.cia".
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
well im very glad to hear you got it figured out, beta builds are pretty rare for mario games, nintendo normally does their damn finest in collecting/destroying/burying all beta/alpha copies after they are finished with them, so the fact this one is out there and publicly shared rather than just horded with like many beta's/alpha's in existence is great, thanks a bunch for your time and effort put into providing this freely

PS if the tools to do this where shared too it might help others in future who need to dump dev content....save someone the uphill struggle you had with it :)
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
3
XP
15,260
Country
Micronesia, Federated States of
well im very glad to hear you got it figured out, beta builds are pretty rare for mario games, nintendo normally does their damn finest in collecting/destroying/burying all beta/alpha copies after they are finished with them, so the fact this one is out there and publicly shared rather than just horded with like many beta's/alpha's in existence is great, thanks a bunch for your time and effort put into providing this freely

PS if the tools to do this where shared too it might help others in future who need to dump dev content....save someone the uphill struggle you had with it :)
I assume the last custom uncart normmatt linked above worked for dumping this demo flashcard. (decrypt-on-the-fly I hope)
Hopefully @YamiHoshi.nl can confirm this or upload the uncart version that did work.

How long is the beta version anyways? Also, you only provided the .cia files. Wouldn't providing a .3ds file be more useful?
If you want a 3ds version you can dump the ncch from the .cia and rebuild it with makerom. I've attached a handy program that will extract the ncch's from any type of file (assuming the ncch header is decrypted).
 

Attachments

  • ncch_extractor.zip
    63.9 KB · Views: 375
  • Like
Reactions: Codename

YamiHoshi.nl

I'm MKGirlism.
Member
Joined
May 23, 2011
Messages
671
Trophies
0
Age
32
Location
Tokyo
Website
www.dshack.org
XP
481
Country
I assume the last custom uncart normmatt linked above worked for dumping this demo flashcard. (decrypt-on-the-fly I hope)
Hopefully @YamiHoshi.nl can confirm this or upload the uncart version that did work.
No, it isn't.
If Normmatt wants, he or I can share it, but I'm not sure, it will work on Retail Hardware, though.
 

Nic333

Well-Known Member
Member
Joined
May 3, 2014
Messages
144
Trophies
0
XP
1,056
Country
Brazil
Can i ask a thing?
The original .CXI that was extracted from the original dump, had any kind of encryption that required xorpad generation?
 

YamiHoshi.nl

I'm MKGirlism.
Member
Joined
May 23, 2011
Messages
671
Trophies
0
Age
32
Location
Tokyo
Website
www.dshack.org
XP
481
Country
No, it came already Decrypted, so all I had to do, was Rename it to .CCI, use ctr_MakeCia32.exe, to Convert it to .CIA, Extract the CIA File, and Repack it as a .CIA File, that can be Imported on Retail Hardware.
 
  • Like
Reactions: Nic333

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,593
Trophies
3
Age
37
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
7,343
Country
United States
No, it isn't.
If Normmatt wants, he or I can share it, but I'm not sure, it will work on Retail Hardware, though.

Any chance you'd be able to dump TWL_FIRM from a dev unit if you have one? I want to try and run TwlNandFiler, but won't boot on retail TWL. :(

EDIT: It should be available from a CXI (.app files in the title folder) assuming you are able to decrypt ctr_nand to get to it. If Xorpad generation for NAND on devunits work for you.

0004013800000102 is the title id so it will be found in NAND:/title/000401380/0000102

Thanks to rxMode, I can boot custom TWL/AGB from emunand without messing with sysnand. :D
 
Last edited by Apache Thunder,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Sounds familiar to some peeps I know tbh
  • kijetesantakalu042 @ kijetesantakalu042:
    Miku is cool and all but you shouldn't let an instrument control your life.
  • kijetesantakalu042 @ kijetesantakalu042:
    Also that article is pretty badly written. Miku isn't just a hologram
  • K3Nv2 @ K3Nv2:
    He said this and I don't like it but other person said the same thing blah blah blah
  • K3Nv2 @ K3Nv2:
    I gotta comment on everything
  • K3Nv2 @ K3Nv2:
    That's not a comment it's question marks
  • kijetesantakalu042 @ kijetesantakalu042:
    It explains what I'm feeling
  • K3Nv2 @ K3Nv2:
    You've been here for like a decade you should know to comment on everything
  • kijetesantakalu042 @ kijetesantakalu042:
    I don't understand what you are saying and I've been here for less than a year
  • K3Nv2 @ K3Nv2:
    O I was talking to myself
  • SylverReZ @ SylverReZ:
    Good morning guys
  • SylverReZ @ SylverReZ:
    @K3Nv2, I've been around for two whole years (nearly three).
  • Veho @ Veho:
    Haven't you had enough?
  • Veho @ Veho:
    Almost three years, aren't you bored of the Temp by now?
  • SylverReZ @ SylverReZ:
    Not necessarily, it hasn't felt like a long time to me. Unless it was ten or twenty years then I'll consider retiring.
  • K3Nv2 @ K3Nv2:
    Make it a porn site again so we can really know each other
    +1
  • Veho @ Veho:
    Biblically.
    +1
  • K3Nv2 @ K3Nv2:
    Make Temp Bust Again
    +1
  • SylverReZ @ SylverReZ:
    Make GBAtemp the biggest cummunity
    +1
  • Veho @ Veho:
    Cum unity.
    +1
    Veho @ Veho: +1