pyctr

Getting started

  • Example: Read contents from a CIA
  • Example: Read and write NAND partitions

App containers

  • pyctr.type.cdn module
  • pyctr.type.cia module
  • pyctr.type.cci module
  • pyctr.type.ncch module
  • pyctr.type.sdtitle module

App data

  • exefs - ExeFS reader
  • romfs - RomFS reader

App metadata

  • smdh - SMDH icons
  • pyctr.type.tmd module

Console data

  • nand - NAND images
  • sdfs - SD card filesystem
  • sd - SD card contents

Encryption

  • engine - AES engine tools
  • seeddb - SeedDB management

Extras

  • util - Utility functions
  • fileio - Special files
pyctr
  • pyctr.type.save package
  • View page source

pyctr.type.save package

Subpackages

  • pyctr.type.save.partdesc package
    • Submodules
      • pyctr.type.save.partdesc.common module
        • PartitionDescriptorError
        • InvalidHeaderError
        • InvalidHeaderLengthError
        • LevelData
        • get_block_range()
        • read_le_u32_array()
      • pyctr.type.save.partdesc.difi module
        • DIFI
      • pyctr.type.save.partdesc.dpfs module
        • DPFSReadOnlyError
        • DPFS
        • DPFSLevelChunkBase
        • DPFSLevel1
        • DPFSLevel2
        • DPFSLevel3FileIO
        • DPFSLevel3
      • pyctr.type.save.partdesc.ivfc module
        • IVFCReadOnlyError
        • IVFC
        • IVFCLevel4Reader
        • IVFCHashTree
    • Module contents

Submodules

  • pyctr.type.save.cmac module
    • CMACError
    • InvalidDataError
    • disa_to_sav0_digest()
    • CMACTypeBase
      • CMACTypeBase.set_crypto()
      • CMACTypeBase.generate_cmac()
    • CTR_NOR0
      • CTR_NOR0.generate_cmac()
    • CTR_SIGN
      • CTR_SIGN.generate_cmac()
    • CTR_SYS0
      • CTR_SYS0.generate_cmac()
    • CTR_EXT0
      • CTR_EXT0.generate_cmac()
    • CTR_9DB0
      • CTR_9DB0.generate_cmac()
  • pyctr.type.save.common module
    • PartitionContainerError
    • InvalidPartitionContainerError
    • CorruptPartitionError
    • PartitionContainerBase
      • PartitionContainerBase.partitions
  • pyctr.type.save.diff module
    • DIFF
      • DIFF.partitions
  • pyctr.type.save.disa module
    • UnformattedSaveError
    • DISA
      • DISA.partitions
  • pyctr.type.save.partition module
    • load_partdesc()
    • partdesc_to_bytes()
    • Partition

Module contents


© Copyright 2017-2023, ihaveahax.

Built with Sphinx using a theme provided by Read the Docs.