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,661
Trophies
3
Age
29
XP
3,524
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,729
Trophies
2
XP
8,537
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,729
Trophies
2
XP
8,537
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
    DinohScene @ DinohScene: Better start running in your hamster wheel +1