Decrypt CIA/3DS roms in UNIX environments (Linux and macOS)
Go to file
Nishijima Akito f33b9b2fc7
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
Merge pull request #35 from murphyjt/fix-escaping
Replace shell backticks with Process.new for better escaping
2025-05-19 15:19:08 +02: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