Hacking Converting dev roms to retail roms?

Haruka

Member
OP
Newcomer
Joined
Dec 18, 2014
Messages
13
Trophies
0
XP
104
Country
United States
I've noticed some dev roms are running well on GW, such as devmenu or playcoinsetter. Either .3ds or .cia can work on GW or be imported directly to SD card, just like a normally dumped retail game. But IIRC these dev roms can not run on retail consoles. I then searched the threads and finally got an answer: These are not ordinary roms. They are converted from .csu.
I'm a little curious. I wonder if there is a way that can convert normal dev roms (.cci or .cia, not .csu) to retail roms (also .cci or .cia, but GW compatiable)? Have you guys got some ideas?
 

NCDyson

Hello Boys...
Member
Joined
Nov 9, 2009
Messages
278
Trophies
1
XP
319
Country
United States
are you hoping to use devmenu with sky3ds? the dev apps, like devmenu(not sure about playcoinsetter) and savedatafiler are signed with a dev key, and not a retail key, so that's another difference, and why you can't have it on sky3ds. Since the keys are private and nobody(who is willing to admit/share them, anyways) has access to them, the dev apps can't be resigned to work as if they were normal retail games.

If you're not looking to try to use them on sky3ds, it would probably be more helpful to know what you are wanting to do with them.
 
  • Like
Reactions: Margen67

Haruka

Member
OP
Newcomer
Joined
Dec 18, 2014
Messages
13
Trophies
0
XP
104
Country
United States
I'm not going to use them on sky3ds. I want to use them on GW, but not only devmenu or playcoinsetter or savedatafiler or anything that came with official devkit. I want to find a way that can convert a so-called dev-key-signed app to a retail-key-signed app, so that I can run ANY dev roms on GW.
Since .csu can be converted to GW compatiable .cci or .cia, it should not be signed by dev key. So there must be some differences between .csu version and .cci version, right? I wonder if this is a breakthrough of seeking for dev key...
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,022
Country
Vietnam
I'm not going to use them on sky3ds. I want to use them on GW, but not only devmenu or playcoinsetter or savedatafiler or anything that came with official devkit. I want to find a way that can convert a so-called dev-key-signed app to a retail-key-signed app, so that I can run ANY dev roms on GW.
Since .csu can be converted to GW compatiable .cci or .cia, it should not be signed by dev key. So there must be some differences between .csu version and .cci version, right? I wonder if this is a breakthrough of seeking for dev key...

It probably just encrypted with 0-key and not signed.
 

AHP_person

Well-Known Member
Member
Joined
Nov 2, 2014
Messages
364
Trophies
0
XP
518
Country
United States
I'm not going to use them on sky3ds. I want to use them on GW, but not only devmenu or playcoinsetter or savedatafiler or anything that came with official devkit. I want to find a way that can convert a so-called dev-key-signed app to a retail-key-signed app, so that I can run ANY dev roms on GW.
Since .csu can be converted to GW compatiable .cci or .cia, it should not be signed by dev key. So there must be some differences between .csu version and .cci version, right? I wonder if this is a breakthrough of seeking for dev key...

.csu and .cci are relatively similar, you could try to rename .csu to .3ds, but idk how that'd work.
I suggest using ctrtool to pull out the exheader, exefs, and romfs, then piecing it together with makerom.
 

Haruka

Member
OP
Newcomer
Joined
Dec 18, 2014
Messages
13
Trophies
0
XP
104
Country
United States
It probably just encrypted with 0-key and not signed.

Oh? Really? So could you tell me what should I do convert dev rom to retail rom?

I suggest using ctrtool to pull out the exheader, exefs, and romfs, then piecing it together with makerom.

I believe not. Here is a sample. If this does the trick, why everybody don't extract savedatafiler.cci/.cia directly and repack them back, rather than specifically using savedatafiler.csu to construct a working rom?
Anyway, thanks for your suggestion. I'll have a try and see if this works or not.
 

Vappy

Well-Known Member
Member
Joined
May 23, 2012
Messages
1,508
Trophies
2
XP
2,613
Country
According to 3dbrew http://3dbrew.org/wiki/NCSD the sole difference between .csu and .cci/.3ds is the file extension. You have to rebuild from the .csu because that's the only one you can decrypt, because to decrypt the .cia you'd gave to install it first which you can't do because they're encrypted using dev keys :D
And yeah for Gateway they're zero key signed. If you want to rebuild a working .cci to use with Gateway you should use the makerom in Relys's github, which lets you specify Gateway as a target by using '-target g' as a flag
 

AHP_person

Well-Known Member
Member
Joined
Nov 2, 2014
Messages
364
Trophies
0
XP
518
Country
United States
Oh? Really? So could you tell me what should I do convert dev rom to retail rom?



I believe not. Here is a sample. If this does the trick, why everybody don't extract savedatafiler.cci/.cia directly and repack them back, rather than specifically using savedatafiler.csu to construct a working rom?
Anyway, thanks for your suggestion. I'll have a try and see if this works or not.

There is no .cci for savedatafiler, and the .cia is dev encrypted. The .csu files are in-fact 0-keys encrypted.
According to 3dbrew http://3dbrew.org/wiki/NCSD the sole difference between .csu and .cci/.3ds is the file extension. You have to rebuild from the .csu because that's the only one you can decrypt, because to decrypt the .cia you'd gave to install it first which you can't do because they're encrypted using dev keys :D
And yeah for Gateway they're zero key signed. If you want to rebuild a working .cci to use with Gateway you should use the makerom in Relys's github, which lets you specify Gateway as a target by using '-target g' as a flag
You can pull contents from .cia files easily, ctrtool can do it (--content I think?). It outputs a CXI, but yeah, you can't do much after that 'cause the dev keys.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,256
Trophies
4
Location
Space
XP
13,816
Country
Norway
The dev keys were leaked at one point but good luck finding the archive.
The full SDK was leaked too though, I think I remember someone saying they could be extracted from that.
 

AHP_person

Well-Known Member
Member
Joined
Nov 2, 2014
Messages
364
Trophies
0
XP
518
Country
United States
The dev keys were leaked at one point but good luck finding the archive.
The full SDK was leaked too though, I think I remember someone saying they could be extracted from that.

I was told the same thing, the dev keys shouldn't be too difficult to obtain, but at this point it doesn't seem very useful. I might look into it for TwlNandFiler tho
 

Saturosias

thank
Member
Joined
Dec 27, 2010
Messages
601
Trophies
1
XP
559
Country
United States
Yeah, the leaked keys/SDK can be found pretty easily with a Google search.

Worth absolutely nothing to the OP anyway, anyone who needs 'em has 'em.

dznUM.png

dzp3H.png




19 December 2014
Please stop PM'ing me for links.
Read the GBATemp rules.
Thank you.

dB2CH.png


I looked at your post histories.

You two have absolutely zero idea what these are for, you have no legitimate reason for needing them.
 

Saturosias

thank
Member
Joined
Dec 27, 2010
Messages
601
Trophies
1
XP
559
Country
United States
try not to make comments like that, why would the people who downloaded them download them, because without them they did not need them so...
it's not some elitist club
I didn't say everyone who downloads them needs them; I said that anyone who needs them (i.e. able and willing to put them to use) already has them (or can find them in a few seconds).

I wasn't claiming to be sup3r 1337 h4ck3r by Googling the files and showing how easy it was, but thanks for the attempted shaming. I didn't know it was "haughty" to state a fact: that OP would be able to do absolutely nothing with the files. Read his posts...
I wonder if this is a breakthrough of seeking for dev key...
 

Saturosias

thank
Member
Joined
Dec 27, 2010
Messages
601
Trophies
1
XP
559
Country
United States
So now you're attacking me for using a perfectly capable compression program (which is faster than 7zip albeit at a lower possible maximum compression, though I have plenty of space) and showing the contents/name of the zip files?
 
  • Like
Reactions: cearp and kyogre123

Site & Scene News

Popular threads in this forum

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