ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

kyogre123

Mexican Pride
Member
Joined
Sep 23, 2013
Messages
2,920
Trophies
0
Age
34
XP
1,347
Country
Mexico
Something looks worong ith it.
I tried with the NCCH extracted from a DevMenu.cia and it generated 2 files named DevMenu (second overwrites the first one) and 1MB big, haha

The tool behaves awkwardly with stuff encrypted with zero keys, however they can simply be extracted without xorpads with ctrtool.
 

kyogre123

Mexican Pride
Member
Joined
Sep 23, 2013
Messages
2,920
Trophies
0
Age
34
XP
1,347
Country
Mexico
So, summarising, these are the steps to edit dumps of retail games:

1. Create a xorpad of the original 3DS ROM with the modified CTR_Keygen.
2. Decrypt the whole rom, then extract the contents of romfs.
3. Edit whatever you want in the folder that contains the extracted files of romfs.
4. Recompile a whole (temporary) ROM with makerom doing the proper modifications to a rsf file in order to rebuild the romfs folder.
5. Extract romfs of this new temporary ROM.
6. Replace the romfs of the decrypted ROM with the one extracted in step 5.
7. Rexor with original xorpad.

What about that rexoring part? What if the new romfs is bigger than the original?
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
I think you could just edit your ncchinfo.bin to reflect the new RomFS size and generate a new xorpad.
Couldn't you then you xor it back after having the hashes fixed and reinsert the encrypted romfs.bin with makerom?
I don't get the purpose of this NCCH ctrkeygen for romfs modding.
 

kyogre123

Mexican Pride
Member
Joined
Sep 23, 2013
Messages
2,920
Trophies
0
Age
34
XP
1,347
Country
Mexico
I think you could just edit your ncchinfo.bin to reflect the new RomFS size and generate a new xorpad.
Couldn't you then you xor it back after having the hashes fixed and reinsert the encrypted romfs.bin with makerom?
I don't get the purpose of this NCCH ctrkeygen for romfs modding.

The purpose is to get a single xorpad as I can understand, instead of one for every partition contained in the NCSD
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
The modded keygen still generates multiple xorpads, only it uses a NCCH container (CXI, CFA, or content extracted from NCSD) instead of a NCSD (CCI, CSU, 3DS rom).
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
OK, then according to you (because I haven't tried myself) the modified CTR_Keygen generates a single xorpad for a NCCH partition or is still divided in romfs, exefs and exheader; or both?
Still multiple xorpads. Only it was weird for that devmenu content, generated exefs and exheader as 'devmenu' and both were 1MB big. Probably the file used a diferent encryption.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @cearp, Psi is offline at the minute, but he knows where to find them.
  • cearp @ cearp:
    get your mind out of the gutter, I'm talking about piracy
  • cearp @ cearp:
    not that type of crack
    +1
  • K3Nv2 @ K3Nv2:
    I mean the drug not the booty pervs
    +2
  • linuxares @ linuxares:
    @cearp At a plumber convenstion. Loads of cracks!
    +2
  • K3Nv2 @ K3Nv2:
    A plumber is either on crack or in crack or showcasing crack
    +2
  • cearp @ cearp:
    or of course, dealing with cracks (in pipes)
  • K3Nv2 @ K3Nv2:
    Sure he could be on cracked flooring causing the leak
  • K3Nv2 @ K3Nv2:
    How much you bet delta going to be DRMd to hell and back
  • The Real Jdbye @ The Real Jdbye:
    @linuxares the dev just ends up at 0
  • The Real Jdbye @ The Real Jdbye:
    it's no worse than if you pirated
  • The Real Jdbye @ The Real Jdbye:
    it's probably better, because not all keys on key sites are stolen
  • The Real Jdbye @ The Real Jdbye:
    plus piracy is not always an option
  • The Real Jdbye @ The Real Jdbye:
    i heard a related story for a dev actually
  • The Real Jdbye @ The Real Jdbye:
    from a dev*
  • K3Nv2 @ K3Nv2:
    DRMs are getting stronger these days
  • The Real Jdbye @ The Real Jdbye:
    they bought their own game on a key site and checked where they came from and it turned out they were review copies he had given out by email to someone
  • The Real Jdbye @ The Real Jdbye:
    *all* of them
  • NinStar @ NinStar:
    no storefront I'm aware of (at least on pc) requires the devs to pay for the keys they generate
  • NinStar @ NinStar:
    they don't lose money doing this, even if someone decide to chargeback
  • The Real Jdbye @ The Real Jdbye:
    so that seems to be a pretty common thing, i kinda blame the dev for that one though as they were giving out like 5 keys to someone just because they asked for multiple copies for review for whatever reason and there were multiple people doing this. he should've seen the red flags
    AncientBoi @ AncientBoi: @Xdqwerty wut