Decrypt CIA/3DS roms in UNIX environments (Linux and macOS)
Go to file
shijimasoft 39b7b43b33
Some checks failed
cia-unix build / release (${{ github.event.repository.name }}, ${{ github.event.repository.name }}-linux-arm64, ubuntu-22.04-arm) (push) Has been cancelled
cia-unix build / release (${{ github.event.repository.name }}, ${{ github.event.repository.name }}-linux-x86_64, ubuntu-latest) (push) Has been cancelled
cia-unix build / release (${{ github.event.repository.name }}, ${{ github.event.repository.name }}-macos-arm64, macos-latest) (push) Has been cancelled
cia-unix build / release (${{ github.event.repository.name }}, ${{ github.event.repository.name }}-macos-x86_64, macos-13) (push) Has been cancelled
support for linux-arm64 github actions
2025-04-10 15:40:52 +02: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 Fixed OSTYPE check for when linux is reported as 'linux' instead of 'linux-gnu' 2024-10-05 00:37:04 +02: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