ROM Hack Does anyone know how to decrypt CIA files?

zecoxao

Well-Known Member
Member
Joined
Dec 25, 2013
Messages
379
Trophies
1
Age
33
XP
1,703
Country
i don't think CIA files are encrypted. they're just a compressed package i guess...
decompress it with makerom tool
makerom -ciatocci path_to_cia
 

laramie

Well-Known Member
OP
Member
Joined
Dec 15, 2014
Messages
911
Trophies
0
XP
1,387
Country
United States
i don't think CIA files are encrypted. they're just a compressed package i guess...
decompress it with makerom tool
makerom -ciatocci path_to_cia

I just threw it in the decryption folder, and opened a CMD window there, typed in" makerom -ciatocci_savedatafiler.cia" and got " [SETTING ERROR] Unrecognised argument '-ciatocci_savedatafiler.cia'
[RESULT] Invalid arguments, see 'makerom -help' "
 

laramie

Well-Known Member
OP
Member
Joined
Dec 15, 2014
Messages
911
Trophies
0
XP
1,387
Country
United States
looks like you entered the argument together with the input.

Okay, I tried just inputting the command you typed, " makerom -ciatocci path_to_cia" and it said, " [MAKEROM ERROR] Failed to open: path_to_cia " why does it say it can't find the path?
 

zecoxao

Well-Known Member
Member
Joined
Dec 25, 2013
Messages
379
Trophies
1
Age
33
XP
1,703
Country
because you didn't specify the correct input...
it's not hard lol
makerom -ciatocci _savedatafiler.cia
that should do it, i think
 

laramie

Well-Known Member
OP
Member
Joined
Dec 15, 2014
Messages
911
Trophies
0
XP
1,387
Country
United States
because you didn't specify the correct input...
it's not hard lol
makerom -ciatocci _savedatafiler.cia
that should do it, i think

I've tried that one, I thought that's what it was suppose to be at first but I got this error code; " [MAKEROM ERROR] Failed to open: _savedatafiler.cia "
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,663
Trophies
3
Age
29
XP
3,543
Country
France
It's workin without undescore.
but he convert the cia to cci, and rename it to 3ds

How to extract data ?
 

laramie

Well-Known Member
OP
Member
Joined
Dec 15, 2014
Messages
911
Trophies
0
XP
1,387
Country
United States
It's workin without undescore.
but he convert the cia to cci, and rename it to 3ds

How to extract data ?

Yeah, My goal is to fully decrypt this cia file, in which case is the SDF, so I can learn exactly how it works and hopefully with a lot of work, and of course a lot of hours sobbing mathematically, I can implement a save process that's not only backwards compatible with the current sate, but also to be able to extract the raw saves of saves that have experienced the 7.x save encryption.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
i don't think CIA files are encrypted. they're just a compressed package i guess...
decompress it with makerom tool
makerom -ciatocci path_to_cia

i don't think there is compression. they are encrypted, unless they are user repacked without encryption
 
  • Like
Reactions: zecoxao

zecoxao

Well-Known Member
Member
Joined
Dec 25, 2013
Messages
379
Trophies
1
Age
33
XP
1,703
Country
i don't think there is compression. they are encrypted, unless they are user repacked without encryption

well, most of the cias i found online, i could easily obtain the decrypted cci from then, so i'm just speaking with my own experience.
of course it can be different from what i think
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,580
Country
Tuvalu
well, most of the cias i found online, i could easily obtain the decrypted cci from then, so i'm just speaking with my own experience.
of course it can be different from what i think

no, you are correct, many cias online are done a bit cheaply and hacky (in my opinion) - that is why they don't have encryption
but my tool (FunkyCIA) makes cias in a more clean standard way, and the original files are left intact, encrypted
if we ever get any real cias straight form nintendo themselves (like the sdk dev tools) they are encrypted
 
  • Like
Reactions: zecoxao

laramie

Well-Known Member
OP
Member
Joined
Dec 15, 2014
Messages
911
Trophies
0
XP
1,387
Country
United States
no, you are correct, many cias online are done a bit cheaply and hacky (in my opinion) - that is why they don't have encryption
but my tool (FunkyCIA) makes cias in a more clean standard way, and the original files are left intact, encrypted
if we ever get any real cias straight form nintendo themselves (like the sdk dev tools) they are encrypted

So then is there anyway to decrypt them? I'd imagine it'd be just like decrypting a 3ds rom, but I thought if I couldn't decrypt it in cia form, I could convert it into a 3ds format and decrypt it like a game...
 

Vappy

Well-Known Member
Member
Joined
May 23, 2012
Messages
1,508
Trophies
2
XP
2,613
Country
Yeah, My goal is to fully decrypt this cia file, in which case is the SDF, so I can learn exactly how it works and hopefully with a lot of work, and of course a lot of hours sobbing mathematically, I can implement a save process that's not only backwards compatible with the current sate, but also to be able to extract the raw saves of saves that have experienced the 7.x save encryption.

The .csu versions of the dev tools from the BigBlueBox pack are all already decrypted, and .csu virtually identical to .cci/.3ds, just with a different file extension. You can extract their contents without any decryption process needed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @DolphinCube, no problem ^_^