Skip to main content

NXSuite is a tool for editing various Nintendo Switch file formats.

Project description

NXSuite

This package provides functions to edit Nintendo Switch file formats using hactool by SciresM and hackpack by The-4n. Included functions are:

  • extract and pack NSP files
  • extract, pack and decrypt NCA files
  • display informations about NCA file
  • retrieve the titlekey from TIK files

Installation

pip install nxsuite

Usage

from nxsuite import setup, nsp, nca, tik

Setup

setup.prodkeys(p_dir)
setup.sdk_version(sdk_ver)
setup.key_generation(key_gen)
setup.title_id(t_id)
setup.title_version(t_ver)

NSP

nsp.exctract(nsp, out_dir, prodkeys=None)
nsp.pack(nca_dir, out_dir, title_id=None, prodkeys=None)

NCA

nca.info(nca, prodkeys=None)
nca.decrypt(nca, out_dir, titlekey, prodkeys=None)
nca.extract_romfs(base_nca, update_nca, out_dir, update_titlekey, prodkeys=None)
nca.pack_program(exefs, romfs, logo, out_dir, sdk_version=None, key_generation=None, title_id=None, prodkeys=None)
nca.pack_meta(legal_nca, control_nca, html_doc, program_nca, out_dir, sdk_version=None, key_generation=None, title_id=None, 
              title_version=None, prodkeys=None)

TIK

tik.get_titlekey(tik)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxsuite-0.1.0.tar.gz (434.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxsuite-0.1.0-py3-none-any.whl (436.9 kB view details)

Uploaded Python 3

File details

Details for the file nxsuite-0.1.0.tar.gz.

File metadata

  • Download URL: nxsuite-0.1.0.tar.gz
  • Upload date:
  • Size: 434.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for nxsuite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6a5b29ce63786d848d301a6fd58eb49bc391e810f63b4e2e3039500d05246cea
MD5 950727acfd9e9f4ed49c02d1c3ab177a
BLAKE2b-256 9fec85ce786081bd53ae00cf7c46f51d602228f82ece9254291ed531964234df

See more details on using hashes here.

File details

Details for the file nxsuite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nxsuite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 436.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for nxsuite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5464382b46df1786b7dc043028867dcacf94992238b9316834cd3c46a30255d0
MD5 4ce794966df171ed38bd7071ec2183cf
BLAKE2b-256 9bd98522a65ad2660bc33b311550244f0b664c0dc7bf1418c65cecc18d00a043

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page