Giter VIP home page Giter VIP logo

3ds-nusd's Introduction

3DS-NUSD

This is a 3DS NUS downloader written in Python 3(.6). It uses my own CIAGEN, completely written from scratch to create CIAs from CDN content. 3DS-NUSD can even create tickets from encrypted title keys.

It uses the requests module, so you'll need to install it with e.g. pip.

"CIAGEN" can create CIAs from cetk + tmd + contents completely in Python without make_cdn_cia. It can also unpack a CIA to its CDN contents!

Related project: PyNUSD

Features

3DS-NUSD

  • Downloads 3DS titles from the Nintendo Update Server
    • NOTE: Only unblocked titles (e.g. system stuff) can be downloaded
  • Packs them as valid CIAs
  • Also accepts encrypted title keys
  • Supports CDN mirrors through the --base parameter
  • Uses my own CIAGEN, completely tested, verified and written from scratch

CIAGEN

  • Can be used as independent library
  • Creates valid CIAs
  • Verifies Signature (place root-key in the same directory)
  • Doesn't modify the original TMD and contents

Usage

usage: 3DS-NUSD.py [-h] [--nopack] [--deletecontents] [--key ENCRYPTED_KEY]
                   [--onlyticket] [--cdn] [--base BASE_URL]
                   titleid [titleversion]

positional arguments:
  titleid              Title ID
  titleversion         Title version (default: Latest)

optional arguments:
  -h, --help           show this help message and exit
  --nopack             Do not generate CIA.
  --deletecontents     Do not keep contents.
  --key ENCRYPTED_KEY  Encrypted title key for Ticket generation.
  --onlyticket         Only create the ticket, don't store anything.
  --cdn                Store contents like on CDN (without version directory)
  --base BASE_URL      Base URL for CDN download

TODO

  • Use Structs (already in CIAGEN)
  • Improve Struct code (for e.g. ticket template and reading from binary)
  • More Error handling and retrying
  • Improve error handling in CIAGEN, especially for certificates and too short tmds/tickets
  • Support for decrypting & SHA256 verify (via decTitleKeys.bin?)
  • uselocal parameter (needs SHA256 verifying)
  • GUI?

Credits

Screenshots

Screenshot

3ds-nusd's People

Contributors

brawl345 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.