ROM Hack Does anyone know how to decrypt CIA files?

zecoxao

Well-Known Member
Member
Joined
Dec 25, 2013
Messages
373
Trophies
0
Age
32
XP
1,555
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,365
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,365
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
373
Trophies
0
Age
32
XP
1,555
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,365
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,356
Trophies
3
Age
28
XP
2,426
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,365
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,640
Trophies
2
XP
7,873
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
373
Trophies
0
Age
32
XP
1,555
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,640
Trophies
2
XP
7,873
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,365
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,340
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.
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • M4x1mumReZ @ M4x1mumReZ:
    I guess you can say that's cool
  • brouh @ brouh:
    lmfao when i said alright bet i meant i will do it lol
    +1
  • K3N1 @ K3N1:
    Deal of the day: Snoop Doggie Doggs Deluxe Pet Jersey with Original Snoop Graphic Print https://a.co/d/jkePl02
  • Psionic Roshambo @ Psionic Roshambo:
    Does come with some of his product? Lol
    +1
  • K3N1 @ K3N1:
    It's already scented so your dogg can have a high time
    +1
  • K3N1 @ K3N1:
    Damn Lenovo still hasn't shipped my Xbox
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Lenovo ships Xboxes?! I though Microsoft does that.
  • K3N1 @ K3N1:
    You do realize other companies ship consoles right
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Correct. To other redistributors.
  • M4x1mumReZ @ M4x1mumReZ:
    Didn't know that Lenovo sells them also.
  • K3N1 @ K3N1:
    Lenovo is a redistributer
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Nice to know that
  • K3N1 @ K3N1:
    Cheapest I found $230 tax/s&h
    +1
  • K3N1 @ K3N1:
    Sihuuu Taco Holder Stand set of 2 - Holds up to 3 tacos in each Taco Tray - Sturdy, Dishwasher and Microwave Safe https://a.co/d/6FFlct5 What kind of tacos are even in those racks
  • Veho @ Veho:
    What's that, ham and cheese?
  • Veho @ Veho:
    I often stick some ham and cheese in a tortilla and toast it but I wouldn't dare call it a taco.
  • K3N1 @ K3N1:
    I guess ice cream in a taco is still a taco
  • K3N1 @ K3N1:
    The product placement in the fantasy football movie is werid it starts out with a psp then goes to the series x
  • Veho @ Veho:
    There's a fantasy football movie?
  • K3N1 @ K3N1:
    I bet you can't believe it's about Madden
  • Veho @ Veho:
    I can't believe it's not butter.
  • K3N1 @ K3N1:
    Lebron James did help produce it so it can't be that shit right
    K3N1 @ K3N1: Lebron James did help produce it so it can't be that shit right