Decrypt CIA/3DS roms in UNIX environments (Linux and macOS)
Go to file
Craig Furman 4b5d6b8a0e Be flexible regarding bash path in dltools.sh
Bash isn't always at /bin/bash. On nixos, it might be a nix store path.
On macOS, users might want to use a more up-to-date version of bash than
what ships with the system (bash 3, from 2007).

Locate bash from PATH instead.
2025-04-20 13:29:40 +01:00
.github/workflows support for linux-arm64 github actions 2025-04-10 15:40:52 +02:00
cia-unix.cr Issue #29: Skip over unsupported .cia's 2024-12-19 21:08:41 -05: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