ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,501
Country
Tuvalu
any way to extract/open the XORd nand without winimage?
(as in, on linux/mac) - just curious, it will make life easier. :)
thanks for all of this hard work!

-would it not be possible to use one of those ftp homebrew programs on the 3ds, to get my ticket.db file, easily? or would it be possible to make a homebrew to just copy it from the nand with filesystem functions?
or is that area protected/hidden/etc?
 
  • Like
Reactions: bobmcjr

Ryanrocks462

Wii U/3DS Hacker.. Will test anything, A Pirate
Banned
Joined
Jun 18, 2014
Messages
566
Trophies
0
Location
California
XP
162
Country
United States
any way to extract/open the XORd nand without winimage?
(as in, on linux/mac) - just curious, it will make life easier. :)
thanks for all of this hard work!

-would it not be possible to use one of those ftp homebrew programs on the 3ds, to get my ticket.db file, easily? or would it be possible to make a homebrew to just copy it from the nand with filesystem functions?
or is that area protected/hidden/etc?

i just use a vm with a cracked version of windows 8 :P
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,501
Country
Tuvalu
sure that's what i can do at the moment, but it would be nicer to have a nicer way to do it :) not relying on 'WinImage'

ok, winimage read it as a fat partition, sure, that should have been obvious, fat16 is what it is, so surely there must be some tool that can browse fat16 filesystem 'files' :) i'll see what i can find.
 

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
region.txt / rsfgen.txt - .py

Files that where not compiled in / QuenoPack 3DS to CIA

Plain text and real compiled .py attached,

Might be useful to add in github , I could not find them there too .
 

Attachments

  • region-rsfgen.zip
    5 KB · Views: 256
  • Like
Reactions: slainfu and cearp

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,501
Country
Tuvalu
region.txt / rsfgen.txt - .py

Files that where not compiled in / QuenoPack 3DS to CIA

Plain text and real compiled .py attached,

Might be useful to add in github , I could not find them there too .

very nice stuff! thanks for the share
this is super helpful for creating rsf files, you need to use it on the ncch decrypted files, right?
region.py makes it 'region free' (info for people who might not understand what this can do)
 

I pwned U!

I am pleased to beat you!
Member
Joined
Jun 14, 2013
Messages
927
Trophies
3
Age
28
Website
gbatemp.net
XP
680
Country
United States
region.txt / rsfgen.txt - .py

Files that where not compiled in / QuenoPack 3DS to CIA

Plain text and real compiled .py attached,

Might be useful to add in github , I could not find them there too .
So will this solve all of the .rsf file problems with getting the "An error has occurred." message on a 3DS after loading a game?

How do you use the program? How are the .rsf files generated?

Could I finally generate a working Mario & Luigi Dream Team .rsf file, edit the Unique ID field, have the game run with the new ID, and post Dream Team screenshots to Miiverse again?
 
  • Like
Reactions: The Cringe

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
very nice stuff! thanks for the share
this is super helpful for creating rsf files, you need to use it on the ncch decrypted files, right?
region.py makes it 'region free' (info for people who might not understand what this can do)

:lol: They must be more programs out there using the non compiled wrong ones xd, maybe DSLazy but not Downloaded it .

Maybe some pro.. could improve them :)

Yes it is :) , I think so, but right now I need the ncch file encrypted into the cia, seams almost impossible to do , unless get some real help ? .

http://gbatemp.net/threads/tutorial-converting-3ds-to-cia-for-dummies.373722/page-58#post-5194383

I wish to try some hard Hexing with DS card files, and encrypted .app files but need both encrypt and decrypt all files , If the .CIA files was encrypted it might be some macing data in there from 3DS 00000000.app file's

All I know it was not really compiled in his program, I just open it in notepad++ and there was the raw scrip't , So I just compiled it proper also .

Who knows what it may have done not compiled at all... are if any effect , "region.py makes it 'region free'" May seams so .

Also in cmd region.exe shows a line1 issue, unsure what that means, unless it's ran in the program .

So will this solve all of the .rsf file problems with getting the "An error has occurred." message on a 3DS after loading a game?

How do you use the program? How are the .rsf files generated?
Could I finally generate a working Mario & Luigi Dream Team .rsf file, edit the Unique ID field, have the game run with the new ID, and post Dream Team screenshots to Miiverse again?

No idea mate, My 3DS XL firmware at it's latest so cannot install files to know, untill new gateway release .

But I'm sure someone could help you on this .

I was only cleaning up his files, when I notest the problem , but maybe it has to have some effect .

All best with this .
 

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
EDIT: I'll added it here since it's the right topic .

About the Rom.rsf

From
EnableCrypt: false # Enables encryption for NCCH and CIA
To
EnableCrypt: true # Enables encryption for NCCH and CIA

Still dose not Encrypt the Common key NCCH , AES , are in CIA .


[NCCH WARNING] NCCH AES Key could not be loaded, NCCH will not be encrypted
[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted

I assume the program "3DS Rom Decryptor Key Generator.exe" gets the AES:CTR keys for ExHeader/Exefs/Romfs you have to press Get Key for each one .

From -> Steel Diver - Sub Wars (E) (M5) (eShop)

WjLJuiP.jpg


exefs ->
AES Key: 6B625C77 25BDC4DF 7662E652 4FC93458
CTR Key: 00000400 007E0D00 00000002 00000000
romfs->
AES Key: 6B625C77 25BDC4DF 7662E652 4FC93458
CTR Key: 00000400 007E0D00 00000003 00000000

But not to sure what to right in rom.rsf ?, If any .

Attached file, Any Information in this matter will help ? :)

Cheers guy's
 

Attachments

  • 3DS Rom Decryptor Key Generator.zip
    20 KB · Views: 262
  • Like
Reactions: cearp

jimmsu66

Well-Known Member
Newcomer
Joined
Mar 9, 2008
Messages
47
Trophies
0
XP
162
Country
Netherlands
region.txt / rsfgen.txt - .py

Files that where not compiled in / QuenoPack 3DS to CIA

Plain text and real compiled .py attached,

Might be useful to add in github , I could not find them there too .


They can be usd in plain text , did you not know that ???
All the phython scripts i use are plain text and working , so you can change things in them.
 
  • Like
Reactions: drwhojan

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
They can be usd in plain text , did you not know that ???
All the phython scripts i use are plain text and working , so you can change things in them.


Did not know this, But files like ctrKeyGen.py / SDinfo_gen.py have to compiled for it to work correctly .

That's odd xd , So assumed they also had to be compiled too .

Cheers .
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Did not know this, But files like ctrKeyGen.py / SDinfo_gen.py have to compiled for it to work correctly .

That's odd xd , So assumed they also had to be compiled too .

Cheers .

No they don't. They work fine as they are and as they are supposed to.

"ctrKeyGen.py" = drag rom or roms on top of it = creates ncchinfo.bin

"SDinfo_gen.py" = Open command prompt/terminal and do as it says in the readme file.

So they can stay as .py files and no need to be compiled to exe or whatever for them to work.

Man my head hurts. :cry:
 

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
No they don't. They work fine as they are and as they are supposed to.

"ctrKeyGen.py" = drag rom or roms on top of it = creates ncchinfo.bin

"SDinfo_gen.py" = Open command prompt/terminal and do as it says in the readme file.

So they can stay as .py files and no need to be compiled to exe or whatever for them to work.

Man my head hurts. :cry:


Give it a try then right click save ctrKeyGen.py -

https://raw.githubusercontent.com/Relys/3DS_Multi_Decryptor/master/SDinfo_gen.py

try to create you're ncchinfo.bin , don't work , that's case the it's the sites info in the text .

I compiled its own .py from .py , Not exe at all.

So in C:\Python27 folder make Myfile.py , Copy info from ctrKeyGen.py into Myfile.py using text are Notepad++

Make a .cmd file right init some think like-> python -m py_compile Myfile.py , and run it - You're output is Myfile.pyc

Rename this to ctrKeyGen.py , and this is you're true compiled file to use .

Job done .
 
  • Like
Reactions: Belmondo

y03usw6e

Well-Known Member
Member
Joined
Mar 15, 2014
Messages
308
Trophies
0
Age
30
XP
270
Country
Belgium
Give it a try then right click save ctrKeyGen.py - https://github.com/Relys/3DS_Multi_Decryptor

try to create you're ncchinfo.bin , don't work , that's case the it's the sites info in the text .

I compiled its own .py from .py , Not exe at all.

So in C:\Python27 folder make Myfile.py , Copy info from ctrKeyGen.py into Myfile.py using text are Notepad++

Make a .cmd file right init some think like-> python -m py_compile Myfile.py , and run it - You're output is Myfile.pyc

Rename this to ctrKeyGen.py , and this is you're true compiled file to use .

Job done .

This is not required. At all.

Do you have C:\Python27 in your environment variables?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night