Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (2024)

T

Tsucube

New Member

Newbie

Level 1

Joined
Jun 6, 2021
Messages
1
Trophies
0
Age
19
XP
34
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (1)
  • Jun 6, 2021
  • #61

Sat 06/05/2021 18:56:21.67
'decrypt' is not recognized as an internal or external command,
operable program or batch file.

Whenever I try to use it, it opens and instantly closes. What Should I do?

Bimmel

~ Game Soundtrack Collector ~

Member

Level 13

Joined
Jan 28, 2014
Messages
2,302
Trophies
2
Age
43
XP
3,792
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (3)
  • Jun 11, 2021
  • #62

acrash said:

I believe .cci files are the same as .3ds files (two extensions same format). So, you can just rename one to the other.
I don't know about FBI, but l think Citra plays .cci files just like .3ds files. If FBI supports .3ds files, just rename the .cci files to .3ds and try them.
See the following link (this link is old. Citra supports .cia formats now):
https://community.citra-emu.org/t/3ds-vs-cci-rom-file-formats/191

----------------
with "batch cia 3ds decryptor" if you try to decrypt a .cia GAME file , it seems to just extract the .cci/.3ds file from it and decrypt that.
If you try to decrypt a DLC/UPDATE .cia file, it seems to keep the format as .cia
-----------------
With "3ds + cia rom script" it seems to decrypt ANY .cia to a .cia file.
It has the ability to do conversation between .3ds and .cia from its conversation menu.

With using "3ds + cia rom script" I've never had problems with any decrypted .cia DLC/UPDATE files even though it always gives me the warning.
(only used them with Citra)

Hello,

I'm trying to decrypt my .cia game files to .cia, not to .cci. Can you help me with that?

I

InvalidName

New Member

Newbie

Level 1

Joined
Jun 17, 2021
Messages
1
Trophies
0
Age
25
XP
32
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (4)
  • Jun 17, 2021
  • #64

Also missing the Content.txt file. I used it for one rom and that appeared. Kept using different roms and that message popped up all the time

C

Chi_z_bread

New Member

Newbie

Level 1

Joined
Jun 20, 2021
Messages
2
Trophies
0
Age
27
XP
33
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (5)
  • Jun 20, 2021
  • #65

I've tried decrypting 2 .3ds files (Professor Layton vs Phoenix Wright and Monster Hunter Stories), but I'm getting the same error for both. It seems like no one else knows how to fix it. Here's the log for Professor Layton vs Phoenix Wright:

Parsing NCSD in file "3DS1028 - Professor Layton vs Phoenix Wright Ace Attorney (USA).3ds":
Parsing Main NCCH
Product code: CTR-P-AVSE
KeyY: 01D40D4057E00B50DB34109ABE2F86B1
Title ID: 0004000000100700
Format version: 2
ExHeader offset: 00000200
ExHeader counter: 00040000001007000100000000000000
ExHeader size: 2048 bytes
ExeFS offset: 00000C00
ExeFS counter: 00040000001007000200000000000000
ExeFS size: 1709568 bytes
RomFS offset: 001A3000
RomFS counter: 00040000001007000300000000000000
RomFS size: 1466527744 bytes
Parsing Manual NCCH
Traceback (most recent call last):
File "decrypt.py", line 421, in <module>
File "decrypt.py", line 263, in parseNCSD
File "decrypt.py", line 278, in parseNCCH
File "decrypt.py", line 74, in __new__
ValueError: Buffer size too small (0 instead of at least 512 bytes)
Failed to execute script decrypt
[MAKEROM ERROR] Content 0 is corrupt

P

pistoldust

Member

Newcomer

Level 1

Joined
Jun 7, 2021
Messages
7
Trophies
0
Age
30
XP
61
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (6)
  • Jul 2, 2021
  • #65

UltimateBagman said:

I think I found a fix for this. If you're getting the "Finished" message instantly, try renaming your game file into something simple (without any special symbols, even spaces), like "SMT4". It worked for me.

EDIT: still have no idea what to do with patch/DLC files since for me they're still in CIA format, how do I even use them if I'm using citra on switch via retroarch?

Would like an answer to this question as well! anyone know where we put the DLC files?

Bimmel said:

Hello,

I'm trying to decrypt my .cia game files to .cia, not to .cci. Can you help me with that?

this is late but i believe you can use V12 of HackingToolkit9DS to decrypt&extract the encrypted CIA. then rebuild it with V9 of the HackingToolkit9DS which in my experience doesn't encrypt the .cia (at least not properly??). worth a shot since the other method is GodMode9 which requires you to use your 3ds.

Last edited by pistoldust,

  • Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (7)

Reactions:

Bimmel

C

Chi_z_bread

New Member

Newbie

Level 1

Joined
Jun 20, 2021
Messages
2
Trophies
0
Age
27
XP
33
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (8)
  • Jul 12, 2021
  • #66

Chi_z_bread said:

I've tried decrypting 2 .3ds files (Professor Layton vs Phoenix Wright and Monster Hunter Stories), but I'm getting the same error for both. It seems like no one else knows how to fix it. Here's the log for Professor Layton vs Phoenix Wright:

I tried it with a .cia file, and it worked fine. MHS still doesn't run on Citra, but that's a problem with Citra (hopefully a future update will fix that :/ ). At least, I now know the decryptor is working for me.

V

vlvt

Well-Known Member

Member

Level 1

Joined
Jul 12, 2021
Messages
101
Trophies
0
Age
33
XP
45
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (9)
  • Jul 16, 2021
  • #67

Chi_z_bread said:

I tried it with a .cia file, and it worked fine. MHS still doesn't run on Citra, but that's a problem with Citra (hopefully a future update will fix that :/ ). At least, I now know the decryptor is working for me.

sounds like a citra issue, decrypter seems to work fine in other cases

Yokimari

Well-Known Member

Member

Level 5

Joined
Oct 15, 2003
Messages
304
Trophies
1
Location
USA
XP
612
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (11)
  • Jul 29, 2021
  • #68

Probably resurrecting an old thread but, thanks for making this, works great.

G

Geela

New Member

Newbie

Level 1

Joined
Aug 18, 2021
Messages
2
Trophies
0
Age
36
XP
38
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (12)
  • Aug 18, 2021
  • #70

when i click on the BAT file, it says "FINISH, please press any key" ??? please help

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

when I click on the BAT file, it says "FINISH, please press any key"???
Please help

C

Cosmic69

New Member

Newbie

Level 1

Joined
Aug 20, 2021
Messages
1
Trophies
0
Age
26
XP
33
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (13)
  • Aug 20, 2021
  • #70

I can't download the file, says i'm forbidden with an error code.

holmes5800

Member

Newcomer

Level 2

Joined
Jan 21, 2021
Messages
14
Trophies
0
Age
36
XP
217
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (15)
  • Aug 29, 2021
  • #71

This tool is definitely damned useful !

swosho

Well-Known Member

Newcomer

Level 8

Joined
Nov 2, 2015
Messages
52
Trophies
0
XP
1,269
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (17)
  • Sep 8, 2021
  • #72

If anyone came here looking for a straight encrypted game CIA -> decrypted game CIA solution,
simply remove or comment out the lines 64-69 in the batch file and, optionally, rename "-decfirst.cia" to "-decrypted.cia" on the line 41.
Better save it as a separate batch ofc.

Last edited by swosho,

Plazorn

GBAtemp’s Dragon

Member

Level 10

Joined
Jun 8, 2021
Messages
848
Trophies
0
Location
Ruins of Midgar
XP
2,078
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (19)
  • Sep 8, 2021
  • #73

A very good application, keep up the good work!

D

Deleted member 568468

State of dormancy

Member

Level 2

Joined
Sep 9, 2021
Messages
129
Trophies
0
XP
103
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (20)
  • Sep 12, 2021
  • #74

swosho said:

If anyone came here looking for a straight encrypted CIA -> decrypted CIA solution,
simply remove or comment out the lines 64-69 in the batch file and, optionally, rename "-decfirst.cia" to "-decrypted.cia" on the line 41.

this doesn't work for me, tried to decrypt some .cia but they are being left untouched by the decryptor Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (21)

swosho

Well-Known Member

Newcomer

Level 8

Joined
Nov 2, 2015
Messages
52
Trophies
0
XP
1,269
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (23)
  • Sep 13, 2021
  • #75

Hmm. Tried it out again with a couple of encrypted CIAs I have on hand and it worked fine.
I'll attach the batch file here just in case.

Attachments

  • Batch CIA 3DS Decryptor encrcia2decrcia.zip

    1 KB· Views: 340

  • Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (24)

Reactions:

Deleted member 568468

D

Deleted member 568468

State of dormancy

Member

Level 2

Joined
Sep 9, 2021
Messages
129
Trophies
0
XP
103
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (25)
  • Sep 13, 2021
  • #76

swosho said:

Hmm. Tried it out again with a couple of encrypted CIAs I have on hand and it worked fine.
I'll attach the batch file here just in case.

still nothing, works as the original

DLC gets divided into ncch files, but then goes back and file isn't decrypted, whereas firmware apps' CIA are literally *untouched*

  • Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (26)

Reactions:

swosho

swosho

Well-Known Member

Newcomer

Level 8

Joined
Nov 2, 2015
Messages
52
Trophies
0
XP
1,269
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (28)
  • Sep 13, 2021
  • #77

Ah! I should've clarified that the edited batch is good just for the regular game CIAs, as the one included in the OP already performs the encrypted DLC/patch CIA -> decrypted CIA conversion. And I guess the firmware apps have to decrypted via GodMode9/Decrypt9WIP.

D

Deleted member 568468

State of dormancy

Member

Level 2

Joined
Sep 9, 2021
Messages
129
Trophies
0
XP
103
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (29)
  • Sep 13, 2021
  • #78

swosho said:

Ah! I should've clarified that the edited batch is good just for the regular game CIAs, as the one included in the OP already performs the encrypted DLC/patch CIA -> decrypted CIA conversion. And I guess the firmware apps have to decrypted via GodMode9/Decrypt9WIP.

yeah i guess so, still even when using OP's batch file the DLC CIA is not decrypted Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (30)

Does GodMode/Decrypt9WIP require a 3DS?

DhogThug

New Member

Newbie

Level 1

Joined
Oct 9, 2021
Messages
1
Trophies
0
Age
23
XP
34
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (32)
  • Oct 9, 2021
  • #79

matif said:

I made an account just to thank you for making this batch now I can play whatever I want

hemingwary

Member

Newcomer

Level 2

Joined
Aug 19, 2020
Messages
13
Trophies
0
Age
54
XP
207
Country
Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (34)
  • Oct 15, 2021
  • #80

Works perfect, thanks a bunch !

Batch CIA 3DS Decryptor - A simple batch file to decrypt CIA & 3DS (2024)
Top Articles
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 5975

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.