Decrypt CIA/3DS roms in UNIX environments (Linux and macOS)
Go to file
Joshua Murphy 26b758a723 Replace shell backticks with Process.new for better escaping
This avoids issues with filenames containing spaces and improves reliability
when passing arguments to external tools.
2025-05-19 00:14:53 -04:00
.github/workflows support for linux-arm64 github actions 2025-04-10 15:40:52 +02:00
cia-unix.cr Replace shell backticks with Process.new for better escaping 2025-05-19 00:14:53 -04:00
dltools.sh Be flexible regarding bash path in dltools.sh 2025-04-20 13:29:40 +01:00
LICENSE Initial commit 2022-02-21 16:00:16 +01:00
README.md replaced the decrypt.py script with the native ctrdecrypt module 2024-06-10 15:23:55 +02:00

cia-unix

Decrypt CIA and 3DS roms in UNIX environments (Linux and macOS)

cia-unix/
├─ cia-unix
├─ ctrdecrypt
├─ ctrtool
├─ makerom
└─ Encrypted Game.cia

ctrtool, makerom and ctrdecrypt can be downloaded with dltools.sh

Roadmap

  • Decrypt .cia
    • Games
    • Patch and DLCs
  • Decrypt .3ds
  • Rust decrypt.py rewrite (ctrdecrypt)

Warning

Decryption with cia-unix may fail, when it happens it is suggested to decrypt roms directly on the 3DS.

The old python 3 version can be found here.

Build from source

Youll need the Crystal compiler

crystal build cia-unix.cr --release --no-debug

Dependencies can be compiled with makerom and ctrtool make files.

Contributors

ctrtool and makerom are from 3DSGuy repository

Adaware contributed translating the windows-only version