ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
Not really convenient since I don’t plan to decrypt SD card.
And that’s all that is contained it tmd:
Signature type: RSA 2048 - SHA256
Issuer: Root-CA00000003-CP0000000b
Version: 1
CA CRL version: 0
Signer CRL version: 0
System version: 0000000000000000
Title id: [censored]
Title type: 00000040
Group id: 0000
Save Size: 512KB (00080000)
Access rights: 00000000
Title version: 0000
Content count: 0002
Boot content: 0000
Hash: 862658B46B27986911731D950EB32F78612BCFF4085EF5712AB0F3388AEC095E

TMD content info:
Content index: 0000
Command count: 0002
Unknown: 3A59B03DC33C71850AE8B94FB88A9408431EEDC637A2F52CDB2698BF45D0AEFC

TMD contents:
Content id: 00000000
Content index: 0000
Content type: 0001 [encrypted]
Content size: 000000000b17d000
Content hash: 70A6AE4DE0AA07009EEDC726241804F632C872534322BBD86EAFF07061D2D1CC

Content id: 00000001
Content index: 0001
Content type: 0001 [encrypted]
Content size: 0000000000064000
Content hash: 0DF2F2E05602921A093140EAB0925A66549D7363D6480B17368D97C4F3BA176E
That doesn’t help a bit, since I still cannot understand what that is.

You censored the useful part, haha
 

octopus

Custom Title
Member
Joined
Sep 6, 2013
Messages
439
Trophies
1
Location
/
XP
1,935
Country
Somalia
You censored the useful part, haha
Damn, how else do I say it?.. Why would I look for the titleid in the .tmd if it’s just right there, in the folder name containing the .tmd? There is no problem to find the titleid—I can browse them with DevMenu too. But titleid doesn’t tell me what the game/app is—and human-readable name is what I am after.
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
Damn, how else do I say it?.. Why would I look for the titleid in the .tmd if it’s just right there, in the folder name containing the .tmd? There is no problem to find the titleid—I can browse them with DevMenu too. But titleid doesn’t tell me what the game/app is.
Oh.. hahah... now I get it.

You have titles that haven't been dumped yet, therefore not listed on http://3ds.essh.co/

Well if you can see the product code with DevMenu you could google that
 

octopus

Custom Title
Member
Joined
Sep 6, 2013
Messages
439
Trophies
1
Location
/
XP
1,935
Country
Somalia
You have titles that haven't been dumped yet, therefore not listed on http://3ds.essh.co/
Well if you can see the product code with DevMenu you could google that

Hah, at last! :) Thanks. So, I guess my solution with filesize is as bad as it could be. Since it works. Kinda.
I sure tried googling titleid (which results it http://mtheall.com/~mtheall/tmdlist.php where is no info about it available), and if I google product code—I get hilarious results like “JUAN CARLOS ZÚÑIGA-PFLÜCKER” who is definitely not what I’m after.
Does @mtheall accept submissions to his tmdlist?
 

einstein95

Well-Known Member
Member
Joined
Aug 31, 2013
Messages
230
Trophies
0
Age
29
XP
312
Country
New Zealand
Hah, at last! :) Thanks. So, I guess my solution with filesize is as bad as it could be. Since it works. Kinda.
I sure tried googling titleid (which results it http://mtheall.com/~mtheall/tmdlist.php where is no info about it available), and if I google product code—I get hilarious results like “JUAN CARLOS ZÚÑIGA-PFLÜCKER” who is definitely not what I’m after.
Does @mtheall accept submissions to his tmdlist?
There's a link at the top: Edit Names
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,511
Country
Tuvalu
Damn, how else do I say it?.. Why would I look for the titleid in the .tmd if it’s just right there, in the folder name containing the .tmd? There is no problem to find the titleid—I can browse them with DevMenu too. But titleid doesn’t tell me what the game/app is—and human-readable name is what I am after.

yeah, frendxsis told me that the nice, human readable name is in the exheader, at least sometimes. i think you will have to decrypt the file to read it. so, i think ncch decrypt it :(
 
  • Like
Reactions: octopus

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
You need to read the readme files that are in the relys release .
You delete all those , so you don't know how to use them.

And there is missing info in yours compiled release

OK.

Just hope my left eye is OK tomoz , I got a feeling I'm going to need eye laser surgery again , two white flickering flashes somewhere .

Very first time was F*ucking awful xd .
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom

Attachments

  • 3dshax.zip
    9.4 KB · Views: 302

jimmsu66

Well-Known Member
Newcomer
Joined
Mar 9, 2008
Messages
47
Trophies
0
XP
162
Country
Netherlands
PS: Can anyone help me out with compile of this file ?

https://gbatemp.net/threads/3ds-application-metadata-decoder.332730/#post-4352436

Where I'm lost it's where it says ""#include " (without quotes) after the other #includes in 3dstmd.c" ?

Yes I have miniGW installed , PS not gateway xd.

Thanks Guy's , I don't think any tool should vanish, just compiled and archived .

http://git.daifukkat.su/?p=3dshax.g...c;hb=b005b6fa0410bb6f01875d0f823ee48f323c57a3

for doing that looking at TMD use 3ds explorer
 

jimmsu66

Well-Known Member
Newcomer
Joined
Mar 9, 2008
Messages
47
Trophies
0
XP
162
Country
Netherlands
Then please post the correction , I'm done :rolleyes: .

Just hope my left eye is OK tomoz , I got a feeling I'm going to need eye laser surgery again , two white flickering flashes somewhere .

Very first time was F*ucking awful xd .

Then look here , all is there complete with the info how to use.
All .txt and readme.txt are there with teh explanation how to use.

https://github.com/Relys/3DS_Multi_Decryptor
 

Friendsxix

Introspective Potato
Member
Joined
May 6, 2008
Messages
266
Trophies
1
Location
Best Hemisphere
XP
2,698
Country
United States
yeah, frendxsis told me that the nice, human readable name is in the exheader, at least sometimes. i think you will have to decrypt the file to read it. so, i think ncch decrypt it :(
You're actually better off decrypting the ExeFS and with a hex editor, searching for the magic id "SMDH"
A few lines down, you'll see the name :P
This will contain a human readable version of the title's name 100% of the time.
 
  • Like
Reactions: cearp

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
for doing that looking at TMD use 3ds explorer


O yes you can thanks :)

Then look here , all is there complete with the info how to use.
All .txt and readme.txt are there with teh explanation how to use.

https://github.com/Relys/3DS_Multi_Decryptor


Sorry the text files just redirects to save info .

Usage: CDNto3DS.py titleID titleKey cardType
cardType: valid options are 'card1' and 'card2'

Unless , "title ID I get" , title key ? , card type ?

readme.txt same usage .

Now: get makerom from https://github.com/3DSGuy/Project_CTR this page no longer existing , so he will need to update this .
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,511
Country
Tuvalu
You're actually better off decrypting the ExeFS and with a hex editor, searching for the magic id "SMDH"
A few lines down, you'll see the name :P
This will contain a human readable version of the title's name 100% of the time.

i'm guessing it's at a specific offset so it could be easily automated? :)
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
He'll have to dump and decrypt the games.. it would be easier to just delete/rename a title folder at a time on the SD card and look for what vanishes from the home menu.
 

Friendsxix

Introspective Potato
Member
Joined
May 6, 2008
Messages
266
Trophies
1
Location
Best Hemisphere
XP
2,698
Country
United States
i'm guessing it's at a specific offset so it could be easily automated? :)
No, sadly the offset is different for each and every ExeFS :(
To find the offset of the SMDH, go to the entry for "icon" in the ExeFS header and skip to the 8th byte (on all ExeFS files I've seen, this would be offset 0x28). From there, select the next four bytes, and byteswap it to correct the endianness (little to big). Then, add 0x200 to that, which will bring you straight to the SMDH's offset. :)

EDIT: For more comprehensive information, just check the 3dbrew article here.

EDIT2: Corrected 'for' to 'four'
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,511
Country
Tuvalu
He'll have to dump and decrypt the games.. it would be easier to just delete/rename a title folder at a time on the SD card and look for what vanishes from the home menu.

an easier way to bruteforce it like that is to just launch it in devmenu and see what opens :) press home and repeat.
but a nice way is to use the 4 char title code and do this
http://www.nintendo.co.jp/3ds/WXYZ/
if it is an eshop game, use this link - http://www.nintendo.co.jp/3ds/eshop/WXYZ/
going through all the regions of the shop, i guess there are websites for all of them, you can parse the human readable name from the title of the webpage.
not all titles have pages though, mostly games, not apps etc.

No, sadly the offset is different for each and every ExeFS :(
To find the offset of the SMDH, go to the entry for "icon" in the ExeFS header and skip to the 8th byte (on all ExeFS files I've seen, this would be offset 0x28). From there, select the next four bytes, and byteswap it to correct the endianness (little to big). Then, add 0x200 to that, which will bring you straight to the SMDH's offset. :)
hmm... grizzly :) thanks for the great info!
 

user32

Member
Newcomer
Joined
Nov 26, 2014
Messages
5
Trophies
0
Age
31
XP
51
Country
United States
After running the nandscan script & generating NCCH files as a result, what do you do with them?
How do you convert them to 3ds files or cia files?
Could someone direct me to this information or explain what steps follow
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
After running the nandscan script & generating NCCH files as a result, what do you do with them?
How do you convert them to 3ds files or cia files?
Could someone direct me to this information or explain what steps follow
you can use makerom to add them as contents of CIA or CCI containers (not that they will work or anything, but you can do that)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-