Welcome to pyctr’s documentation!
PyCTR is a Python library to interact with Nintendo 3DS files.
It can read data from different kinds of files:
CDN contents -
pyctr.type.cdnGame card dumps (CTR Cart Image/CCI) -
pyctr.type.cciCIA files (CTR Importable Archive) -
pyctr.type.ciaExeFS containers -
pyctr.type.exefsRomFS containers -
pyctr.type.romfsNCCH containers -
pyctr.type.ncchNAND backups -
pyctr.type.nandSD card files inside “Nintendo 3DS” -
pyctr.type.sdSD card titles -
pyctr.type.sdtitleSMDH icons -
pyctr.type.smdhTitle Metadata files (TMD) -
pyctr.type.tmd
It can emulate cryptography features of the 3DS:
AES key engine and key scrambler -
pyctr.crypto.engineSeed database (SeedDB) -
pyctr.crypto.seeddb
Install
PyCTR requires Python 3.12 or later.
It can be installed with pip:
$ pip install pyctr
App containers
App data
App metadata