Hacking Having trouble generating a 7.x .cia

kevin_1351

Well-Known Member
OP
Newcomer
Joined
Apr 20, 2014
Messages
88
Trophies
0
Age
29
Location
Lugano, Switzerland
XP
497
Country
Switzerland
I used the key.bin and got my xorpads, and now what?

There are five of them (having a 004000000xxx in front of them/as a prefix)
  • Main.exefs_7x.xorpad
  • Main.exefs_norm.xorpad
  • Main.exheader.xorpad
  • Main.romfs.xorpad
  • Manual.romfs.xorpad
It's really confusing because the people writing the so called noob guides point to different threads right at say step 4.... As if writing those extra 4 lines would be something super hard and timeconsuming to do.
I tried to simply skip the norm and to rename the 7x one simply main.exefs. But that didn't work either.
Also because I'm using the newest makerom/ctrtool the filenames are changing too, thus making the batch scripts useless. And I also tried to just input everything manually but it didnt want to compile...
So now to my question. Could someone tell me what commands I have to use for ctrtool and makerom to get a 7.x rom working? Is is the same? Do I need all xorpads(the norm for instance)? If not, why are they being generated?
Thanks a lot in advance.
IMO it's better to make a quick database for the RSFs cause as of right now the whole situation is a mess.
If anyone is interested I could make one quickly and host it aswell. It would be similar to http://3ds.essh.co/ but more simplistic.
 

Quincy

Your own personal guitarist :3
Member
Joined
Nov 13, 2008
Messages
1,608
Trophies
1
Age
29
Location
Your house
Website
youtek.net
XP
1,221
Country
Netherlands
Use the noob/dummy guide. I just did this like 15 minutes ago and (altho with some hickups on my side) it worked flawlessly. On the xorpads, you'd want the norm, exheader and romfs pads. Ignore the manual and 7x pads
 

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
Use the noob/dummy guide. I just did this like 15 minutes ago and (altho with some hickups on my side) it worked flawlessly. On the xorpads, you'd want the norm, exheader and romfs pads. Ignore the manual and 7x pads


No, you need to merge the ExeFS xorpads for games with 7.x crypto. Do you think they're generated for no reason???

https://github.com/Relys/3DS_NCCH_Decryptor/blob/master/MEX.py

'Usage: MEX.py encryptedExefs normalCryptoXorpad 7xCryptoXorpad outputXorpad'

Then take the output xorpad and xor it with the encryptedExefs.
 

Quincy

Your own personal guitarist :3
Member
Joined
Nov 13, 2008
Messages
1,608
Trophies
1
Age
29
Location
Your house
Website
youtek.net
XP
1,221
Country
Netherlands

kevin_1351

Well-Known Member
OP
Newcomer
Joined
Apr 20, 2014
Messages
88
Trophies
0
Age
29
Location
Lugano, Switzerland
XP
497
Country
Switzerland
No, you need to merge the ExeFS xorpads for games with 7.x crypto. Do you think they're generated for no reason???

https://github.com/Relys/3DS_NCCH_Decryptor/blob/master/MEX.py

'Usage: MEX.py encryptedExefs normalCryptoXorpad 7xCryptoXorpad outputXorpad'

Then take the output xorpad and xor it with the encryptedExefs.


Yeah that's the reason I was asking. It made no sense. And maybe I'm blind but this isn't anywhere to be seen on that thread. Thanks a lot for your reply. And sorry for starting yet another thread on this topic...
 
  • Like
Reactions: Queno138

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
Queno138 did you think of this in your guide? :P

Relys I didn't do it myself for sm4sh and it's installing now, should I expect it to be unplayable?


HOLY CRAP I DID NOT REALISE WHAT MEX.PY does.

since some games worked with the 7x xorpad, I ignored it.

never the holy shit realized


Thanks for waking me up XDDD

(was feeling sleepy, its 9am here and I haven't slept a wink)


so now, how do I tell which games needs the xorpads merged,
since I think one or two games survived without the xorpad.



my smash launched fine.
(though, I didn't try to save, maybe it'll crash then?)
 

kevin_1351

Well-Known Member
OP
Newcomer
Joined
Apr 20, 2014
Messages
88
Trophies
0
Age
29
Location
Lugano, Switzerland
XP
497
Country
Switzerland
HOLY CRAP I DID NOT REALISE WHAT MEX.PY does.

since some games worked with the 7x xorpad, I ignored it.

never the holy shit realized


Thanks for waking me up XDDD

(was feeling sleepy, its 9am here and I haven't slept a wink)


so now, how do I tell which games needs the xorpads merged,
since I think one or two games survived without the xorpad.



my smash launched fine.
(though, I didn't try to save, maybe it'll crash then?)


So I'm not the only one then huh?
Not to be a pain but I really think this stuff isn't that well documented. Ok it's rush hour right now thanks to CFW and co. but still; it doesn't take ages to write a decent 50 line readme.
 
  • Like
Reactions: Queno138

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
So I'm not the only one then huh?
Not to be a pain but I really think this stuff isn't that well documented. Ok it's rush hour right now thanks to CFW and co. but still; it doesn't take ages to write a decent 50 line readme.

I thought of it, but didn't really test it.
didn't even realize what mex.py did.

Too busy testing games and replying threads.

Relys it might be nuked, but it is working here!

yup I was nuked indeed.

If you didn't tag me, I wouldn't have seen this too XDD
 

Quincy

Your own personal guitarist :3
Member
Joined
Nov 13, 2008
Messages
1,608
Trophies
1
Age
29
Location
Your house
Website
youtek.net
XP
1,221
Country
Netherlands
I thought of it, but didn't really test it.
didn't even realize what mex.py did.

Too busy testing games and replying threads.



yup I was nuked indeed.

If you didn't tag me, I wouldn't have seen this too XDD

I was talking about my Sm4sh CIA :P Well, I need to do a rebuild anyhow cuz it doesn't have an header, and I want to play online so I might as well use the 7x xorpad while I am at it :)
 
  • Like
Reactions: Queno138

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
So I'm not the only one then huh?
Not to be a pain but I really think this stuff isn't that well documented. Ok it's rush hour right now thanks to CFW and co. but still; it doesn't take ages to write a decent 50 line readme.

Then you write one. :rolleyes:
 
  • Like
Reactions: cearp

kevin_1351

Well-Known Member
OP
Newcomer
Joined
Apr 20, 2014
Messages
88
Trophies
0
Age
29
Location
Lugano, Switzerland
XP
497
Country
Switzerland
Then you write one. :rolleyes:


Well I'm a noob in this field still so that wouldn't be a wise decision. And as previously stated, the scene is on fire right now, so I guess it's pretty obvious why every single thread is a complete mess right now.

Btw, do we know yet where the .cia is storing its saves? If so why can't we just find the right offset and copy over the entire block? Couldn't the sd tool be used for that?
 

kevin_1351

Well-Known Member
OP
Newcomer
Joined
Apr 20, 2014
Messages
88
Trophies
0
Age
29
Location
Lugano, Switzerland
XP
497
Country
Switzerland
This is getting silly. I can't figure out how to use that damn MEX tool. Why are there 4 parameters instead of 3? I mean the reason behind this is to merge right? So file 1 + 2 + out. So what am I missing???

EDIT: nevermind, got it working finally. Damn a manual is needed asap.
 

VerseHell

Well-Known Member
Member
Joined
Jun 29, 2014
Messages
3,073
Trophies
1
Age
30
XP
1,655
Country
France
Kind of caping the topic here, but I just found out that _without an header_, and _without 7.x xorpads_, online on sm4sh works!! Can anyone back me up on this?

Did you use -desc app:4? I'm stuck on the black screen just after the boot logo, i tried with an without the 7.x xorpad.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse