Homebrew [Request] CTRAging (3ds debug app) research.

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The
My exefs .code and exheader is fine (banner is corrupt but who cares). Romfs has a problem in level 3.

For those wondering how to tell what parts are fine or broken, you just use the following command on a decrypted .cxi:
ctrtool -i -y ctraging.cxi > info.txt
And then Cntr-F FAIL to see which parts are broken. Signatures can be broken, that's no big deal. The sha256 hashes are the important ones.
Another thing the OP left out is extracting the correct size of ctraging from your ctr-nand. You take the u32 (4 bytes) right after the 'NCCH' and multiply X 0x200. Don't forget that size is in little endian (reverse byte order) and to start from the beginning of the "NCCH" - 0x100.

What we need is a way to piece a working copy together. Don't know how we'd organize such a project though.
Your .code is fine?! We need this, pronto!
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
I wouldn't mind a copy of this, O3DS or N3DS. I remember the old NITRO EVA one when it first came around, and I'd love to see the CTRAging test on any of my 3DS consoles, however, I haven't had any luck dumping it as it's been long overwritten.
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,038
Country
Spain
We can use N3DS romfs with O3DS code, because they are the same (there are images for each mode of 3ds). The O3DS romfs lacks the first 600 bytes for some reason but using another romfs first 600 bytes u can extract it, however most files are corrupted. We only need the .code to make the O3ds copy work. About sharing it, I'm asking someone's permission to share it somewhere, I'll tell you. I'll also update the first post with a noobish method.

EDIT: As well as NTR EVA, holding START on boot shows a menu almost identical to its predecesor!
ePhcPsj.jpg
 
Last edited by PabloMK7,

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
"(25/01/16) Got a O3DS copy with matching exefs hashes, however, the keyY line at the signature to decrypt it is corrupted. :("
--from OP

I have the uncorrupted o3ds RSA sig.

Also, what's with this "getting permission" to upload? I hope you're not emailing Nintendo :P
Don't see what the big deal is. The only site where you can't upload it is here, ironically.
 
Last edited by zoogie,

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,038
Country
Spain
"(25/01/16) Got a O3DS copy with matching exefs hashes, however, the keyY line at the signature to decrypt it is corrupted. :("
--from OP

I have the uncorrupted o3ds RSA sig.
Wait, I'm stupid. I also have O3DS dumps with valid RSA signatures.

--------------------- MERGED ---------------------------

None of them match with the uncorrupted part of the copy I have :( It has to be the same version so the signatures match, (afaik)
 
  • Like
Reactions: zoogie

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Wait, I'm stupid. I also have O3DS dumps with valid RSA signatures.

--------------------- MERGED ---------------------------

None of them match with the uncorrupted part of the copy I have :( It has to be the same version so the signatures match, (afaik)
Are the first two bytes of your 'wrong' signature 92 9D?
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,200
Country
New Zealand
Ok, I have the correct bytes of that signature. Only the first 16 need to be correct for decryption to work.
I also have the rsa signature for that one.

92 9D 43 AD 92 C5 D7 F5 BD B5 A8 8F F0 8E 89 B8.

Just because the header sigs match doesn't mean the hashes in the exefs are valid... my dump has an invalid .code section

I have another dump where 0x28 bytes are corrupted and the last few bytes are 89 BC 1B 93 if anyone has the full header for that i'd appreciate it.
 
Last edited by Normmatt,

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
I also have the rsa signature for that one.

92 9D 43 AD 92 C5 D7 F5 BD B5 A8 8F F0 8E 89 B8.

Just because the header sigs match doesn't mean the hashes in the exefs are valid... my dump has an invalid .code section
I know, he claims his might be clean (I doubt it). Thanks for posting that keyY.
@PabloMK7 - there you go.
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,038
Country
Spain
I don't know how I checked the hashes, but I checked again and don't match..... anyway... decompressing the code outputs a 2GB file, but I have an idea, if we now know which versions are the same thanks to the signature, we could reconstruct the code, (I've also recovered the O3DS icon, it is the same as New3DS).

EDIT: Right now, I have 4 copies of the same version of ctraging
 
Last edited by PabloMK7,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Was a dark time